on 2009 Sep 08 7:58 AM
Hi everyone?
I'm trying to implement the scenario which is creating Sale Order.
So, I made a date object (upload only) then create BAPI wrapper (Create).
One thing you should remind is... we didn't use standard (WD4J).
We have the custom client made by .NET so, we need to use the API which is called
'MMW_POST_MESSAGES' to send the data. It's contained the parameter data for creating
Sales Order...
Does anybody know how to send the data follwing XML format ?
This one is one example for updating the instance in CDS table.
'<?xml version="1.0" encoding="utf-8"?>'
'<Msg type="T" id="246" mod_usr="DVTEST03">'
'<TEST_ORD_DO ty="U" tv="0123456789012345678901234567890ML" C0="123456789012345678901234567890AB" C1="00000000000000002" C2="test" />'
'</Msg>'
Thank you
Hi ,
The message structure mentioned in your post will become the value for the import parameter IN_MESSAGE_DETAILS for this RFC enabled FM 'MMW_POST_MESSAGES' .
These RFC enabled Function Modules can be accessed by external client application via RFC or HTTP(s) protocols. The recommended approach is to implement a HTTP Handler in an ICF service. The HTTP Handler then delegates the HTTP(s) requests from the receiver to the Sync Layer RFC APIs.
Incase of accessing via RFCs , I guess there exists SAP .NET Connector that enables communication between the . NET platform and SAP systems.
Was your question more on how to create such an XML data and pass it to this FM from .Net environment?
Regards,
Liji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
As liji mentioned you can access the RFC 'MMW_POST_MESSAGES' using ICF service or using SAP .NET Connector.
before accessing RFC 'MMW_POST_MESSAGES' you have to access the RFC 'MMW_LOGIN' to retrive the session id which is an import parameter for 'MMW_POST_MESSAGES' and you need to end the session by calling 'MMW_LOGOUT' by providing the session id.
To do these above you need a logical device created in the DOE and should be registered with your application.
Regards,
Joseph.
Hi,
Liji, Joseph > have you already created your own SAP NW Mobile 7.1 client? If you have, for which device and how long did it take to implement the server and the client side? Do you know if there's some documentation available on the subject (except the document mentioned in a previous post)?
Regards,
Pierre
HI,
You can use the sap message generator.
in sdoe_wb, select your Data Object utilities->Message Generator
Regards,
Mathias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you seen this document?: [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1029765350DB01462527595757874781End?blog=/pub/wlg/13465]
The details are there in section 5.7 of the PDF linked there.
Cheers!
EDIT: I just realized.. what I posted above was the link to the blog post. The actual link to the document is: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30e033a0-73ef-2b10-b291-b653c3b48385&overridelayout=true]. And you'll also find details of where to pass the XML in section 5.7.1
Edited by: Arjun Shankar on Sep 8, 2009 12:45 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.