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: 

BADI-Enhancement INVOICE_UPDATE (for MIRO)

Former Member
0 Kudos

Hey there,

i have an issue which i try to solve for hours now. I have implemented the BADI Interface IF_EX_INVOICE_UPDATE in order to do some action when a invoice is saved in MIRO. I do that by using CHANGE_BEFORE_UPDATE.

So far so good. It all works well but within that i need to get the value of INVFO-NETDT (Due Date for Net Payment).

That value is read-only and calculated on runtime. Sadly its not part of the structured which are given in CHANGE_BEFORE_UPDATE.

I now tried to read that value by using the function DYNP_VALUES_READ but it doesnt work as he complains not to find the dyname (Exception INVALID_DYNPRONAME).

Here are the parameters i used on the call:

dyname = 'SAPLFDCB'

dynumb = 0020

request = 'A'

Could anybody tell me how i can get that value ?

any help is highly appreciated.

Best regards,

oliver

1 REPLY 1

Former Member
0 Kudos

I have similar problem with field

INVFO-BUDAT .

gives me error invalid_dynproname

best regard,

francesco