Upload Purchase Order data using multiple flat files (LSMW)

...Previous

Step5:  

Double click on ‘Maintain Field Mapping and Conversion Rules’.  

a).  Go to ‘Extra’ in menu bar and select the ‘Auto field mapping’.

b). Select the Radio button as same as shown in the below screen and press Enter.  

c). You will get the Popup window as shown below and press Enter.

 

d). After the Auto field mapping completed. You will get the screen like this  

e). Add the code for LIFNR conversion routine and double click on the LIFNR field. You will get this code screen ‘MBEPOH-LIFNR = ZHEADER-LIFNR’.

f). Add the code:  

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

EXPORTING

INPUT =  ZHEADER-LIFNR

IMPORTING

    OUTPUT = MBEPOH-LIFNR.  

After entered the code ‘Save and Back (F3)’.  

g). Double click the code: ZHEADER-BEDAT (BEDAT) for conversion routine and add the code as shown below:  

CALL FUNCTION 'DATE_CONV_EXT_TO_INT'

EXPORTING

i_date_ext       = ZHEADER-BEDAT

IMPORTING

E_DATE_INT       = MBEPOH-BEDAT.  

After entered the code ‘Save and Back (F3)’.  

h). Double click on Code: MBEPOI-EINDT = ZLINE-EINDT, then add the below code.

CALL FUNCTION 'DATE_CONV_EXT_TO_INT'

EXPORTING

i_date_ext       = ZLINE-EINDT

IMPORTING

E_DATE_INT       = MBEPOH-EINDT.  

Then Save and Back (F3).  

i). Save and go Back.  

Continued...

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