-
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hi, please note that we generally do not provide support for business use here. You can request commercial support on https://support.dbosoft.eu However, I will try to help you a little. If I understand you correctly, you are looking for a way to read the result of the BAPI call. You can do this if you use method CallFunction instead of CallFunctionOneWay. The one-way function is used for fire and forget calls without processing any output. If you use CallFunction you can process the response of the BAPI (table "return"). However, to get to the reasons why something is not working, in most cases it is better to set a remote breakpoint in the backend and observe how the data is being processed. I also noticed your calls to .Append(structure). If this is not some extension you created please not that it is not necessary to Append the structure to the table. The mapping function is called for each entry in the enumerable you pass to SetTable and each structure row is created automatically. So you only have to specify how to map from your internal data to the BAPI fields. Hope that helps, Best Regards, |
Beta Was this translation helpful? Give feedback.
-
You always commit a session, so you have to use |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Hi fw2568, its work for my side perfect thank you for your help. |
Beta Was this translation helpful? Give feedback.
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.
YaNco/samples/netcore3.1/CreateSalesOrder/CreateSimpleSalesDocument.cs
Lines 43 to 98 in 0bf4705