SAP Knowledge Base Article - Public

3094982 - How to Read Transportation Approval Details in Customer Invoices via SDK

Symptom

There are Transportation Approval related fields visible in the customer invoices and you want to fetch these information via SDK, but you cannot find the fields in Cusotmer Invoice BO.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Open SAP Cloud Application Studio.
  2. Go to View - Repository Explorer.
  3. Search with business object "Customer Invoicing".
  4. Right click on QueryByElements and click on Execute Query.
  5. Select "ID" from the dropdown and maintain the value as ABC. (ABC represents the ID of customer invoice)
  6. Click OK.

In the Query Result, you are not able to find the Transportation Approval details in any of the node.

Cause

Transportation Approval details are not available in Customer Inovice BO.

Resolution

The details of Transportation Approval on customer invoice UI are fetched via 'QueryByElements' on BO 'GloTransportationApproval'.

Hence we suggest to fetch the details in similar way here. The BO and the query on the BO 'GloTransportationApproval' are PSM released.

Keywords

Transportation Approval; PSM , KBA , AP-CI-CI-GLO , Cross-Country Extensions , Problem

Product

SAP Business ByDesign all versions