Application Development 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: 

Payment Terms wrongly getting updated using Inbound Idoc

Former Member
0 Kudos
437

Hi All,

I have a inbound IDOC which creates new invoice evrery time it gets triggered. In the function module attached with that IDOC there is a logic written to fetch the payment terms from the vendor master LFB1. System should display that Payment terms in tcode MIR4 (Display Invoice) as per the logic written in the IDOC FM. But, It is displaying wrong payment terms.

Select single ZTERM

into v_zterm

from lfb1

where lifnr = p_lifnr.

I have checked while debugging my logic fetches the correct payment terms (20NM) but the same is not getting updated in MIR4 . wrong value (42 Net days ) geting updated. Please suggest what needs to be done to correct this.

Thanks,

VB

2 REPLIES 2

Former Member
0 Kudos
130

Vikas,

Your quesion can be bit more clear. What is that 42 days..?? To my guess based on your payment terms due date might be calculated and kept as 42 days. If you can tell us about 42 days then someone can help you.

Regards

Venkat

Former Member
0 Kudos
130

payment terms are set by configuration. Start by checking the setup in transaction FBZP.

Rob