cancel
Showing results for 
Search instead for 
Did you mean: 

PI/PO REST call to BW to update ADSO issue with custom fields

vijay_kumar133
Active Participant
0 Kudos

Hi ,

We have a requirement to update SAP BW/4HANA ADSO REST endpoint through PI/PO. I am facing issue with custom fields, in BW the field names start with /BIC/ZXXX and this is not a valid xml field name to create in PI . And json payload for REST post call looks like below .

[
    {

        "CHRT_ACCTS": "ABC",
        "CO_AREA": "XYZ",
        "_-BIC_-ZU_MONTH": "123",
        "_-BIC_-ZBBU": "456",
        "_-BIC_-ZBCOMP": "789",
}
]

now in PI do we have any way to pass this json payload or in BW change these custom field names not to start in _-BIC_- format .

One option we see use java map and convert xml to above json format object and pass to REST adapter other than this any out of box options to this . As this SAP provided option in BW to update ADSO through REST and why in same way they did not enhance how the custom field names are created in BW.

blog refered :https://blogs.sap.com/2019/09/05/pi-rest-adapter-connect-to-bw4hana-using-x-csrf-token/

Regards

Vijay

vijay_kumar133
Active Participant
0 Kudos

Hi ,

I am trying with java map with GSON library's but still could not get a clue to pass Json tag name as above "_-BIC_-ZBBU" . any suggestions please .

Regards

Vijay

Accepted Solutions (0)

Answers (0)