Hi,
In standard sales order app I am trying to default Plant at item level, I have written below EML code to hardcode Plant at line item level. With below code its not working.
MODIFY ENTITIES OF i_salesordertp
ENTITY SalesOrder
CREATE BY \_item
FIELDS ( Product
RequestedQuantity
Plant
SalesOrderItemCategory )
WITH VALUE #( ( SalesOrder = <ls_create3>-%cid
%target = VALUE #( ( %cid = <ls_create3>-%cid
“Product = ls_product
RequestedQuantity = ‘1’
“RequestedQuantityUnit = ‘EA’
Plant = ‘STG’
SalesOrderItemCategory = ‘TAN’ ) ) ) )
“response parameters
MAPPED DATA(ls_mapped1)
FAILED DATA(ls_failed1) ##NEEDED
REPORTED DATA(ls_reported1).
Can you please suggest me with correct code.
Thanks & Regards,
Jeet
Request clarification before answering.
Hello,
Did you found the solution??
I'm getting Failed: Not Found, but the Sales Order exist.
Thanks,
Ines Martins
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am pretty sure the SalesOrder = <ls_create3>-%cid does not exist and you get a FAILED NOT FOUND for it. If requests FAIL the response should always explain the root cause (if the RAP contract is followed by the provider).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.