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

BAPI_INCOMINGINVOICE_PARK with parking reason code

Former Member
0 Likes
692

I'm attempting to use this bapi to park incoming invoices that don't post because of specific errors. However, I'm getting a pop-up window looking for the parking reason code /PTGWFI'/M_PIRMTR-PARKRSN. I know the appropriate reason codes and could pass them, but have been unable to find a field that can be used for passing the code. Has anyone encountered this previously? If so, what is the solution? Thank you for any help you might be able to offer.

I'm attempting to use this bapi to park incoming invoices that don't post because of specific errors. However, I'm getting a pop-up window looking for the parking reason code /PTGWFI'/M_PIRMTR-PARKRSN. I know the appropriate reason codes and could pass them, but have been unable to find a field that can be used for passing the code. Has anyone encountered this previously? If so, what is the solution? Thank you for any help you might be able to offer.

3 REPLIES 3
Read only

Former Member
0 Likes
601

u will have a field within the BAPI...check for export options wherein which tables are used and one of them will have the field to hold reason code.

Read only

0 Likes
601

How would I have access to pass a field to an export parameter? I need to pass an import parameter to the BAPI, don't I? There is a reason code on the export parameter tab, but isn't that a value being returned to me after the fact?

Read only

0 Likes
601

FYI.. I had to go into the user exit and set a parameter for the parking reason, then bypass the pop-up screen on order for this to work.