on 11-12-2013 3:07 PM
Hi ,
The test User can see and approve PR pending in his Workflow using SAP Gui
When opening the app for PR Release, no data is shown.
After debugging the class: CL_GBAPP_APV_PR_API we found that :
Bellow Select Statement in table EBAN returns subrc 4 in method GET_LIST_PR_DETAILS .
This happens because although table it_wiid_boident-field contains all the above shown PRs but Field it_wiid_boident-object_line does not contain PR item nr.
From our understanding this field in filled with workflow details but our Workflow is not item-based but header based.
SELECT banfn bnfpo menge preis waers ernam afnam peinh txz01 pstyp loekz FROM eban
INTO CORRESPONDING FIELDS OF TABLE lt_eban_data "matnr
FOR ALL ENTRIES IN it_wiid_boident WHERE
banfn = it_wiid_boident-object_id AND
bnfpo = it_wiid_boident-object_line.
The result of this selection is passed as result in the PR list of the app.
Even if we enhance the class and add the same selection without the item nr like this:
" Get the Required information from EBAN
SELECT banfn bnfpo menge preis waers ernam afnam peinh txz01 pstyp loekz
FROM eban
INTO CORRESPONDING FIELDS OF TABLE lt_eban_data "matnr
FOR ALL ENTRIES IN it_wiid_boident
WHERE
banfn = it_wiid_boident-object_id ."AND
* bnfpo = it_wiid_boident-object_line.
The list of PRs opens but the details cannot open and the app hangs.
While debugging we see that the method GET_ITEM_INFORMATION fails because of the empty ITEM NR.
Any Suggestions ?
Best regards
SAP Fiori Approve Purchase Requisition app supports now both header and item level approval. Please check the May 2014 release. You just need to apply the new Support Package.
App History: Approve Requisitions - SAP Fiori Apps - SAP Library
Regards, Masa
SAP Customer Experience Group - CEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manisha,
Please create new discussion. Your question is not directly related with this issue.
Regards, Masa
SAP Customer Experience Group - CEG
Hi Apostolos,
Please look at this thread. http://scn.sap.com/thread/3441847
Approve Purchase Requisition is for item level release that most of customers are using.
Please post Fiori related topics in the "SAP for Mobile" space. Moderators have asked us to use it insted of "NetWeaver Gateway" space.
Regards,
Masa
SAP Rapid Innovation Group - RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.