cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP PrCo function- fromJson Function ProSAP PrCo

ankit12
Active Participant
0 Likes
210

Hi Experts,

Business Scenario -in automation sequence (production connector as runtime environment) we are using structCompGet function to get attribute tag from the structure below: 

{
    "Body": {
        "TempRequests": [
            {
                "OperationId": "0040",
                "StationId": "AY10052A",
                "Attribute": [
                    "27","28","29"
                ]
            },
            {
                "OperationId": "0030",
                "StationId": "AY10052A",
                "Attribute": [
                    "32","31","33"
                ]
            }
        ]
    }

 output of structcompget function - "[\"27\",\"28\",29]" as string output its coming. 

 we have to convert this string output to string array so we can get use arraygetvalue function.

Problem - how to convert string output to string array. we are trying to use fromJson function but as per SAP documentation - Functions in the Expression Editor | SAP Help Portal  .

can anyone please help us to convert the string output to stringArray. Quick help is appreciated.

Regards,
Ankit Gupta

 

Accepted Solutions (0)

Answers (0)