Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Issue with BDC on F-28 in Z Program

$
0
0

Hi Folks,

              Whenever I have taken help from this Community I have never been let down in any of the cases. So today also I hope hope the same from this community.

 

My issue is that whenever partial payment of Customer Invoices are done through F-28 manually NET DUE DATE reflected for Customer Line Items in FBL5N is correct.

 

But when we are using the Z Program to make the same partial payment through BDC called on F-28 the NET DUE DATE reflected for Customer Line Items in FBL5N is coming INCORRECT and it is taking a value which is 30 days ahead of the actual NET DUE DATE. And so there is a loss of Interest for 1 Month.

 

When I checked BSEG Table I also found out that Invoices which are partially cleared through F-28 manually have Payment Terms mentioned as 'ZN00' which is same as reflected in Customer Master which is correct.


But in BSEG for Invoices which are partially cleared through the Z Program the payment terms are showing as 'ZN30'.

 

I have debugged the entire Z Program and the BDC with the BDC DATA Table for each and every record but I am not finding from where this Payment term is getting passed to the BDC and then eventually getting updated in BSEG Table. There is not even mention of the field for payment term (ZTERM) in the entire Z Program.

 

I AM STUCK AT THIS POINT AND WILL REQUIRE YOUR HELP. PLEASE HELP ME IN THIS REGARD.

 

Thanks & Regards

Anirban


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>