Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

data conversion in material master

HELLO ABAP GURUS,

CAN U PLZ SOLVE MY PROBLEM.

I'M TRING TO CONVERT LEGACY DATA TO SAP FOR TCODE MM01

IN MM01 ALL THE FIELDS I'M ABLE TO ENTER BUT DURING ENTERING DATA OF EAN(IN BASIC DATA 1) SYSTEM SHOWING WARNING MESSAGE TO SKIP THIS WARNING WE HAVE TO PRESS ENTER KEY THEN ONLY IT IS PROCESSING.

MAIN PROBLEM IS THAT I WANT TO GIVE ONE EXTRA ENTER AFTER EXECUTING THE FOLLOWING CODE

perform bdc_dynpro using 'SAPLMGMM' '4004' 'X'.

perform bdc_field using 'BDC_OKCODE' '/00'.

perform bdc_field using 'MAKT-MAKTX' matdesc.

perform bdc_field using 'BDC_CURSOR' 'MARA-MTPOS_MARA'.

perform bdc_field using 'MARA-MEINS' wa_valid-MEINS.

perform bdc_field using 'MARA-MATKL' wa_valid-MATKL.

perform bdc_field using 'MARA-BISMT' wa_valid-BISMT.

perform bdc_field using 'MARA-SPART' wa_valid-SPART.

perform bdc_field using 'MARA-PRDHA' wa_valid-PRDHA.

perform bdc_field using 'MARA-MTPOS_MARA' wa_valid-MTPOS_MARA.

perform bdc_field using 'MARA-BRGEW' wa_valid-BRGEW.

perform bdc_field using 'MARA-GEWEI' wa_valid-GEWEI.

perform bdc_field using 'MARA-NTGEW' wa_valid-NTGEW.

perform bdc_field using 'MARA-VOLUM' wa_valid-VOLUM.

perform bdc_field using 'MARA-VOLEH' wa_valid-VOLEH.

*perform bdc_field using 'MARA-EAN11' wa_valid-EAN11.

perform bdc_field using 'MARA-NUMTP' wa_valid-NUMTP.

AFTER THIS CODE I WANT TO GIVE A CODE TO PRESS ENTER CAN U PLZ TELL ME.

*perform bdc_field using 'BDC_OKCODE' '=ENTR'. THIS CODE IS NOT WORKING

IN SHDB I RECORDED PROPERLY BUT WARNING MSGES SHDB NOT RECORDING

THE EAN WILL BE DETERMINED INTERNALLY ON THE BASIS OF THE EAN CATEGORY

AND ASSIGNING EAN/UPC NO INTERNALLY ON THE BASIS OF EAN CATEGORY

thanks in advance,

manoj

Not what you were looking for? View more on this topic or Ask a question