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

How to change posting dates for Goods Movements via BAPI or Function Module?

rafael_lopez011
Explorer
0 Likes
4,218

Hi guys,

How to change posting dates for Goods Movements via BAPI or Function Module?

1 ACCEPTED SOLUTION
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
2,925

Hello Rafael.

Once the goods movement is carried out, posting date cannot be changed.

To create goods movement for movement types 101,261,311,415,912 etc.,BAPI_GOODSMVT_CREATE can be used.

In this BAPI, posting date needs to be passed to parameter GOODSMVT_HEADER.

Hi guys,

How to change posting dates for Goods Movements via BAPI or Function Module?

4 REPLIES 4
Read only

ThangaPrakash
Active Contributor
0 Likes
2,925

Hello Rafael,

You can use function module "CO_WB_MAINTAIN_GOODS_MOVEMENTS" and the field Posting date BUDAT is available in  T_COMP_TAB. Try with it.

Regards,

Thanga

Read only

0 Likes
2,925

Hi Thanga,

Thanks for the quick response. This FM does not have any documentation. Can you please provide details on how can I use this function module the change the posting date? Is it possible you can provide the parameters I need to set?

Thanks,

Rafa

Read only

Arun_Prabhu_K
Active Contributor
0 Likes
2,926

Hello Rafael.

Once the goods movement is carried out, posting date cannot be changed.

To create goods movement for movement types 101,261,311,415,912 etc.,BAPI_GOODSMVT_CREATE can be used.

In this BAPI, posting date needs to be passed to parameter GOODSMVT_HEADER.

Read only

Former Member
0 Likes
2,925

After the material document has been posted, you can only change the following fields:

i) Unloading point

ii) Header text

iii) Item text

For reference, check the following link

http://help.sap.com/saphelp_470/helpdata/en/a5/63325643a211d189410000e829fbbd/content.htm