Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module to update batch master

Former Member
0 Likes
5,669

Hi experts,

Instead of BDC, is there any function module to update batch master field MCHA-FVDT2?

Mod edit: "I'll be grateful for any assistance, but there is no requirement to hurry."

Thanks,

sarithashree

Message was edited by: Matthew Billingham - don't ask for things quickly, it's kind of rude

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,839

Di you try BAPI_BATCH_CHANGE or BAPI_BATCH_SAVE_REPLICA?

Regards,

Raymond

PS: Please remove ASAP from question (read rules of forum)

10 REPLIES 10
Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,840

Di you try BAPI_BATCH_CHANGE or BAPI_BATCH_SAVE_REPLICA?

Regards,

Raymond

PS: Please remove ASAP from question (read rules of forum)

Read only

0 Likes
3,839

ya, but its not working.

Read only

0 Likes
3,839

Which error did you get ?

Read only

0 Likes
3,839

I don't know what's the values I need to pass in Bapi_batch_change?

in bdc

DATA : V_DATE TYPE C.

perform bdc_field using 'MCHA-FVDT2'  V_DATE

HOW CAN I USE FM BAPI_BATCH_CHANGE TO UPADATE MCHA-FVDT2?

Read only

0 Likes
3,839

To map database field to BAPI parameters : SE11 look for data-element MCHA-FVDT2 is FVDAT, now SE37, BATCHATTRIBUTES / BAPIBATCHATT-FREE_DATE2 (and 1, 3, etc) shares same data element, also set BATCHATTRIBUTESX / BAPIBATCHATTX-FREE_DATE2 to 'X'.

Hint: SAP also use some MAP2I*/MAP2E* (When none exists, you can generate your own with transaction BDBS) to map those data (here look at MAP2E_MCHA_TO_BAPIBATCHATT)

Regards,

Raymond

Read only

0 Likes
3,839

thanks for ur input....please can u give the example for same.....how  to pass the parameter whether import or export parameters these are?

Read only

0 Likes
3,839

That won't be an "example" any longer?

Read only

0 Likes
3,839

Read only

0 Likes
3,839

the above code not updating date any solution plz

Read only

0 Likes
3,839

You have to analyze table RETURN for error message before execution of the commit, which error did you get?

Regards,

Raymond