Transfer Request using sap integrated in beas
Hi!
How can I proceed to use a transfer request?
Following the documentation, it is not very clear, because the example I am not able to make it work.
setvar=ls_json={ "DocumentLines":{"ItemCode":"000001","Quantity":3,"WhsCode":"AL","ToWareHouse":"AL"}}
instance bsl b
b.post=TransferRequest=<ls_json>
messagebox=<b.ret_code> <b.ret_text> <b.ret_value>
Comments
6 comments
Hi Filipe
you can have more then more lines. Means: Must be defined as Array
setvar=ls_json={ "DocumentLines":&[{"ItemCode":"000001","Quantity":3,"WhsCode":"AL","ToWareHouse":"AL"}]&
}
Hi! Martin,
Could you give me an example because I'm not progressing, as I said.
Hi Filipe,
It don't make really sense to convert a string to json and back to string
Work only with string or only with json
In this case only string make sense
setvar=j={"DocumentLines":[{"ItemCode":"RM", "Quantity":1,"WhsCode":"01","ToWareHouse":"02"}]}instance bsl b
b.post=TransferRequest=<j>
messagebox=<b.ret_text> <b.ret_value>
I'm getting error with ue_api
Hi Filipe,
this problem is solved
http://www.beascloud.com/beasweb/tfsActivityLog.php?wid=N5171733
regards
Martin
Hi Martin,
Thank you for your help!
Please sign in to leave a comment.