cancel
Showing results for 
Search instead for 
Did you mean: 

SAP FIORI - Approve PR - No Data

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

Hi,

We have a requirement for Purchase request creation,validation,completion. How do i know which apps would be suitable for this? i searched for PR apps, and i can see PR approval and purchase requisition item.

Thanks,

Manisha

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Manisha,

Please create new discussion. Your question is not directly related with this issue.

Start a discussion

Regards, Masa

SAP Customer Experience Group - CEG

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

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