‎2013 Jan 25 6:51 AM
Hi All,
I need to change NAST entry based on a condition in the Purchase Order line items.
Nace has been configured with a Z output type and a Zprogram has been for processing routine External Send.
A job has been scheduled to run for every 10 mins via the Standard Prog. RSNAST01 with variant (supplied with values 'Output application' and 'Output type' here EF and ZAA1 respectively).
This prog picks up the PO's and processes them every 10 mins( it may pick 1 2 or more).
When a PO is created 4 Zoutput types are added under message tab.
Now when job gets triggered and suppose it picks up 3 PO's and of those i need to change the 2nd PO's NAST entry i.e., change the nast entries value nast-vstat from 0 to 2.
To achieve above I have used FM RV_MESSAGE_UPDATE_SINGLE and changed the nast-vstat value from 0 to 2.
The issue here is the Zprogram is called 'within' RSNAST01 so the value which i have changed nast-vstat = 2 is not retained.
So, could anyone suggest on how to retain the value of nast-vstat for above scenario.
-Regards
Dep
‎2013 Jan 25 8:36 AM
Hi,
I have passed return code to form entry_neu and resolved the issue.
‎2013 Jan 25 8:36 AM
Hi,
I have passed return code to form entry_neu and resolved the issue.