Skip to content

BAPI_SALESORDER_CREATEFROMDAT #172

Answered by fw2568
ROLLS123 asked this question in Q&A
May 29, 2022 · 4 comments · 4 replies
Discussion options

You must be logged in to vote

Please see the CreateSalesOrder sample in https://github.com/dbosoft/YaNco/tree/main/samples/netcore3.1/CreateSalesOrder for a example how to use YaNco to create a sales document.

return _rfcContext.CallFunction("BAPI_SALESDOCU_CREATEFROMDATA1",
Input: f => f
// sets the input fields
.SetStructure("SALES_HEADER_IN",s => s
.SetField("DOC_TYPE", _customizingSettings.DocumentType ?? "")
.SetField("SALES_ORG", _customizingSettings.SalesOrganization ?? "")
.SetField("DISTR_CHAN", _customizingSettings.DistributionChannel ?? "")
.SetField("DIVISION",

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@ROLLS123
Comment options

Comment options

You must be logged in to vote
3 replies
@ROLLS123
Comment options

@ROLLS123
Comment options

@fw2568
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by fw2568
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants