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

Billing Date Change Using IDOC_INPUT_ORDERS

Former Member
0 Likes
1,633

Hello,

We create a sales Order using IDOC_INPUT_ORDERS. The billing date has a default value of sy-datum. We need to change the billing date during idoc processing. The new date is pases to the xvbak structure but is not overwriting in the order. Any ideas?

Any help will be appreciated.

Thanks,

Alam.

6 REPLIES 6
Read only

Former Member
0 Likes
1,281

Hi Alam

Try using the following user exit.

In the include program

MV45AFZB

in the subroutine

FORM USEREXIT_CHECK_VBKD USING US_DIALOG.

***

Insert your logic and modify the following field, which is header billing data field

VBKD-FKDAT

*****

ENDFORM.

I hope this should work,

Let me know, if you need further clarification

Regards

MD

Read only

0 Likes
1,281

Madhan,

Looks like the required billing date is not passed from the Idoc to the structures(VBKD, XVBKD, YVBKD)in MV45AFZB. Could we try any of the Function-Exits in

IDOC_INPUT_ORDERS?

Thanks for the help.

ALAM.

Read only

0 Likes
1,281

Madhan,

Looks like the required billing date is not passed from the Idoc to the structures(VBKD, XVBKD, YVBKD)in MV45AFZB. Could we try any of the Function-Exits in

IDOC_INPUT_ORDERS?

Thanks for the help.

ALAM.

Read only

0 Likes
1,281

Hi Alam

Please letme know, whether you have value in the IDOC

Regards

MD

Read only

0 Likes
1,281

Yes I do.

Read only

0 Likes
1,281

You are changing billing date in idoc_input_order user exit or SD user exit.

I belive you mentioned passing sy-datum. If so

Why can't you implement same logic in idoc user exit. Let me know what kind of issue you are facing.

Thanks,

Narayan