2011 Feb 23 4:33 AM
Hi Experts,
I am using function exit EXIT_SAPLMEREQ_003 in ME54N.Here I want to access PR details such as PR#,PR Date,Created by fields.
Can any one explain me in detail how to access these fields?
Regards,
Sam.
Hi Experts,
I am using function exit EXIT_SAPLMEREQ_003 in ME54N.Here I want to access PR details such as PR#,PR Date,Created by fields.
Can any one explain me in detail how to access these fields?
Regards,
Sam.
2011 Feb 23 5:30 AM
Use the method GET_REQUISITION of importing parameter IM_REQ_ITEM (of type ref to IF_PURCHASE_REQUISITION_ITEM). The method GET_REQUISITION is having a return parameter RE_REQUISITION (of type ref to IF_PURCHASE_REQUISITION).
You have to call the method GET_DATA of returning parameter RE_REQUISITION to get the header data of purchase requisition.
2011 Feb 23 1:34 PM
Hi Vinod Kumar,
Thanx for your valuable suggestion.
Can u pls explain it in detail?
Regards,
Sam
2011 Feb 24 7:26 AM
Hi Experts,
Any updates pls...
Pls help me in resolving this issue.
Can any one paste the code to fetch PR# in EXIT_SAPLMEREQ_003.
Regards,
Sam
Edited by: sam24 on Mar 9, 2011 5:23 AM
2011 Mar 09 4:43 AM
Hi Sam
Before this use exit gets triggered there is another user exit EXIT_SAPLMEREQ_009 where all header data is available.
Define header structure work area in top include ZXM02TOP of these user exit. Populate this work area in EXIT_SAPLMEREQ_009. The same work area will be available in EXIT_SAPLMEREQ_003 user exit since we have defined it as global data.
Regards
Sachin
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |