Paylode for Sales Order Creation ODATA

Pay lode for creation of deep insert some time to get difficult creation of pay lode


{
        "OrderId": "4010000709",
        "DocumentType": "ZKOR",
        "DocumentDate": "/Date(1524096000000)/",
        "CustomerId": "0002100001",
        "SalesOrg": "2100",
        "DistChannel": "10",
        "Division": "10",
        "OrderValue": "31.20",
        "Currency": "USD",
        "INCOTERMS": "FOB",
        "SOLD_TO_PARTY": "0002100001",
        "SHIP_TO_PARTY": "0002100001",
        "PURCH_NO_C": "ROHINIKUMAR",
        "REQ_DEL_DATE": "/Date(1524096000000)/",
        "SOItems": {
            "results": [
                {
                    "OrderId": "4010000709",
                    "Item": "000010",
                    "Material": "LTFAFG1",
                    "Description": "Trader Joe Test Material 40 LB",
                    "Plant": "2101",
                    "Quantity": "10.000",
                    "UoM": "BG",
                    "Value": "31.20"
                },
                {
                 
                    "OrderId": "4010000709",
                    "Item": "000020",
                    "Material": "LTFAFG1",
                    "Description": "Trader Joe Test Material 40 LB",
                    "Plant": "2101",
                    "Quantity": "10.000",
                    "UoM": "BG",
                    "Value": "0.00"
                },
                {
                 
                    "OrderId": "4010000709",
                    "Item": "000030",
                    "Material": "LTFAFG1",
                    "Description": "Trader Joe Test Material 40 LB",
                    "Plant": "2101",
                    "Quantity": "0.000",
                    "UoM": "BG",
                    "Value": "10.00"
                },
                {
                 
                    "OrderId": "4010000709",
                    "Item": "000040",
                    "Material": "LTFAFG1",
                    "Description": "Trader Joe Test Material 40 LB",
                    "Plant": "2101",
                    "Quantity": "0.000",
                    "UoM": "BG",
                    "Value": "10.00"
                 
                }
            ]
        }
    }

Comments

Popular posts from this blog

all user exit mv45afzz (implicit user exit )

How to Give Dropdown in alv report in sap abap programming Language

Long Text in input and output field in module pool