11-09-2007 1:14 PM
Hi,
I'm using the BAPI_MATERIAL_SAVEDATA to extend some material to new plants but i'm getting a difference that is
bapi_marc-pur_group = wa_marc-ekgrp .
bapi_marc-mrp_type = wa_marc-dismm .
bapi_marc-proc_type = wa_marc-beskz .
bapi_marc-availcheck = wa_marc-mtvfp .
bapi_marc-ex_cert_no_new = wa_marc-preno .
bapi_marcx-pur_group = 'X' .
bapi_marcx-mrp_type = 'X' .
bapi_marcx-proc_type = 'X' .
bapi_marcx-availcheck = 'X' .
bapi_marcx-ex_cert_no_new = 'X' .
Are not getting passed to the table MARC. Any Idea??
Thanzs in advance to all
Jaime Cordeiro
11-09-2007 2:25 PM
Please use the FM BAPI_TRANSACTION_COMMIT after your BAPI_MATERIAL_SAVEDATA call.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
Regards,
Naimesh Patel
11-09-2007 2:37 PM
Hi Naimesh,
I get the material extends with no problem except for those fields that are smashed with other values, And i do commit work to execute the database change
Regards
Jaime Cordeiro
11-09-2007 2:48 PM
Have you passed this ?
BAPI_HEAD-PURCHASE_VIEW = 'X'.
Regards,
Naimesh Patel
11-09-2007 3:01 PM
Hi,
Thanzs for the help i've found the problem it's the one you write, shame on me forgot to uncomment the code, it's working fine now
Points given for your help
Regards
Jaime Cordeiro