cancel
Showing results for 
Search instead for 
Did you mean: 

GBAPP_PRAPPROVAL custom fields not coming up in the Gateway

Former Member
0 Kudos

Experts,

We are implementing the PR approval for FIORI and have added the required custom fields to GBAPPS_PO_HEADER_DETAILS_INCL and GBAPPS_PO_WORKFLOW_TASK. Implemented the necessary badi and popualted the files in CHANGE_HEADER_DETAILS_INFO_API and CHANGE_WORKFLOW_TASK_API.

We are able to see the custom fields and the data in WorkflowTaskCollection in Gateway perfectly fine,

but for the HeaderDetails and HeaderItemDetails, we are only seeing fields but not the data.

We did debug to see if the data is getting erased or lost, but the data is present in cr_entity all the way back to where its getting converted to xstring and after that the return is back to Gateway, we only see the fields but not the actual data, any thoughts or any other place we need to check for data?

Thanks

Sandeep

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

Have you deleted the meta data cache?

  • Transaction: /IWFND/CACHE_CLEANUP on Gateway
  • Transaction: /IWBEP/CACHE_CLEANUP on Backend and Gateway

Please post Fiori related question in thecommunity.

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Yes Masa,

We have cleared the cache, but we are not able to see the data in UI. we have done steps as per the document.

http://help.sap.com/saphelp_fiorierpx1_100/helpdata/en/b9/7d145367039354e10000000a4450e5/content.htm

appended new fields to GBAPPS_PR_HEADER_DETAILS_INCL and passed the data to custom fields in

BAdI:GBAPP_APV_PR_RDP

Method:IF_GBAPP_EX_APV_PR_RDP~ CHANGE_DATA_HEADER_DETAILS_API

we see the custom fields in $expand =HeaderItemDetails, but no under HeaderDetails ... any thoughts? as to why we are not seeing the extended fields under HeaderDetails ? are we missing any step here?

Thanks for your help....

Sandeep

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

How about setting an external breakpoint in the BADI?

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Masa,

Its working now, the problem was we had to explictly add the custom property names under HeaderDetail which was not the case with workflowtask and HeaderItemDetail, after we added the properties and regenerated the implementation, we are able to see the data under HeaderDetail

Thanks for the help.

Sandeep