‎2012 May 24 3:44 PM
Hi everyone,
I'm new to the ABAP world and I'm really stuck on this.
What I need is to recreate the process of Appropriation Release programmatically.
Basically is to emulate the process that happens when you click the release button on the Control Data tab on transaction IMA2N (attached is a screenshot of the button whose functionality I need to emulate).
I've found a BAPI that should be the one that executes that process:
BAPI_APPREQUEST_SETSTATUSVARNT
The only documentation I've found says:
"Setting of User and System Status on Variants
EXPORTING
appropriationrequest = " imak-posid Appropriation Request Number (Formatted for Coding Mask)
apprequestvarnt = " imav-varnt Variant of Appropriation Request
activity = " j_vorgang Object Status
* test_run = ' ' " bapi_appreq_aux-testrun Execute Test Run
* TABLES
* return = " bapiret2 Return Parameter
But when trying to run it, I have no idea what is the appropriate ACTIVITY parameter value I need to pass in order to make it change the Status.
I've already searched on the other topics and the only one that I've found redirects me to a dead link:
http://scn.sap.com/thread/1010483
Can anyone help me to understand what parameters I need to send to that BAPI in order to Release the AR?
Or if that is not the correct BAPI can you let me know what the correct would be?
Thanks beforehand to you all.
Lenin
‎2012 May 29 6:15 PM
Hello,
as I found no solution for this maybe the people involved on this thread could please help:
http://scn.sap.com/thread/1010483
Sorry if I'm kind of intrusive , but have no idea how to get this working.
Some of you could please help me with this?
Thanks and sorry fro bother you.