Uploading Customer Master data using Direct Input Method

...Previous  

·         STEP 6: Maintain Fixed Values, Translations, User-Defined Routines  

The routine which I explained in step number 5 is a local routine declaration. It means that routine will only be available for that particular LSMW object at which it is defined.  

If there are more than one LSMW object which makes use of a similar section of code, in that case a global routine can be defined at this steps which will be accessible by all LSMW objects under a LSMW Project.

Double click on the routine; you can see the source code.  

·         STEP 7: Specify Files  

In this step we specify the path and different other attributes of the input flat file which is there in your presentation server of the system.  

Create one source file with following properties.

 

 

File contents:   Select data for one source structure (table) Radio button.

Delimiter:         Select as per the source file (In my case TAB as already explained)

File structure:   Check Field names at start of file if 1st row belongs to the filed names.

                        Maintain fields in the same order as source structure and check field structure matches

                        Source structure definition.

File type:          Check record end marker radio button.

Code page:     Check ASCII radio button.

 

 

At the end of this step two files will be created in the application server as shown above.

First file will contain data which read from presentation server.

Second file will contain data which is the converted format of read data in LSMW program format.  

·         STEP 8: Assign Files  

Assign the respective files defined in Step 7 to the custom source structures for LSMW object defined in step number 2.So that when ever data read from the flat file, it will sit in respective fields under the custom source structure.

 

·         STEP 9: Read Data 

The Data has to be read from the Presentation Server or the Application Server files for each LWMS objects. When we execute this step data from the read from the presentation server and store in respective files which explained in earlier step.  

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image