Symptom
There might be a Business Requirement to generate an E-Way bill without generating an IRN for Stock Transfer without going for Legal Approval.
For this requirement, it is required to pass the Assessable Value for the respective product.
In the SDK, it shows the Assessable value, but when you use the item node in the script file you will be unable to get the assessable value.
Environment
SAP Business ByDesign
Reproducing the Issue
N/A
Cause
The Assessable Value field in Outbound delivery gets updated when we go for Legal Approval (when JSON file is created).
Since your requirement is to get Assessable Value without going for Legal Approval based on Ship from Location.
As checked, APDL_OUTBOUND_DELIVERY --> ITEM --> GLO_IN_MATL_ASSES_PRICE is not PSM released,
but the value is filled only when the Legal Approval is done.
Resolution
The valuation price can be fetched from
BO: FIA_MATERIAL_VALU_DATA
Node: VALUATION_PRICE
Element: GLO_IN_MATL_ASSES_PRICE
Here the element GLO_IN_MATL_ASSES_PRICE is PSM read released.
Also, the QUERY_BY_DATE_INTERVAL and QUERY_BY_DATE on VALUATION_PRICE node is PSM read released.
Therefore you can use the query based on Product ID, Valuation Type Code and Permanent Business Residence (can be evaluated from Ship-from Location).
Value can be fetched from Business Object FIA_MATERIAL_VALU_DATA --> VALUATION_LEVEL - QUERY_BY_ELEMENTS --> Navigate to VALUATION_PRICE based on Product ID, Valuation Type Code and Permanent Business Residence (can be evaluated from Ship-from Location).
Keywords
Assessable Value, Outbound delivery, Legal Approval, APDL_OUTBOUND_DELIVERY, GLO_IN_MATL_ASSES_PRICE,FIA_MATERIAL_VALU_DATA, VALUATION_PRICE, GLO_IN_MATL_ASSES_PRICE, VALUATION_PRICE ,VALUATION_LEVEL , KBA , AP-ODP-OD , Outbound Delivery , How To