Flat File Creation Procedure to Run R47002C

Purpose of Document

This document is part of an advisor - to see other documents related to EDI, please use the links provided below:

JD Edwards EnterpriseOne Electronic Data Interchange (EDI) Advisor > JD Edwards EnterpriseOne Electronic Data Interchange (EDI) Use Advisor > Note 1305159.1



The audience for this note is someone with developer level knowledge. The steps below can be used for MicroSoft Excel 2003, 2007 and 2010. For step by step guide in MS Word format, click HERE (ExcelToFlatFile_StepByStepGuide.docx).

This document is to guide the example of how to create flat file to run R47002C which is to create SQL format file to run R47011 - EDI Inbound Purchase Order Edit/Create.


Note:


One of method to implement this is,

1. Add in Macro (e.g., QuoteCommaExport) into Excel


 

Sample code: Refer attached file <QuoteCommaExport.doc> or look for it from Microsoft website http://msdn.microsoft.com/en-us/library/Aa203726.aspx This code is to work for Excel 2003, Excel 2007 and Excel 2010



2. Create data through related interactive application to populate the target table data layout



3. Export both Header and Detail of target tables (F47011/F47012) through databrowser (There should not be any user override as the sequence of column in target tables are same with that of databrowser)



Note:



4. Repeat it for any target tables you want to populate through R47002C


5. Verify that for this example, Record Types are populated
  If you do not have this column in converting flat file for other purpose, this column is to be added


6. Run macro you add-in




Note:



7. Verify that two files are created


8. Open header/detail files and combine/rename it (manual copy and paste)





9. Specify path and file name through P47002 for target files F47011/F47012


  R47002C can handle one file a time so two header and detail have been combined above
  Note that path and file name is defined at header level

10 Run R47002C|XJDE0001 for Inbound PO

11. Verify data are created into Target Header/Detail (F47011/F47012)