How to post idoc from r/3 to xi
hi experts i have one doubt abt posting idoc from r/3 to xi
how to post
for vendor master idoc
for sales order idoc
for purchase order idoc
for delivery idoc
is there any inbuilt posting prgms r there or we have to write the prms.
please clear me
regards
babu
to add more...
Befor posting IDOCS into XI..we need to do ALE SETTINGS...as fallows..
<b>ALE settings.</b>
<u><b>SAP XI</b></u><b>1) RFC Destination (SM59)</b>
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
<b>h) Test the connection and remote logon.
2) Create Port (IDX1)</b>
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
<b>3) Load Meta Data for IDOC (IDX2)</b>
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
<u><b>SAP R/3</b></u>
<b>1) RFC Destination (SM59)</b>
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
<b>2) Create Port (We21)</b>
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
<b>3) Create Partner Profile (WE20)</b>
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
<u><b>In SLD System Landscape Directory</b></u>
TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
Ts for Third Party (Logical system):-
BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
BS for Third Party (Logical system):-Enter the XI logical system name.
<b>In Transaction SALE</b>
Define and Assign the logical system name.
<b>and coming to the posting, u can go with WE19</b>
Similar Messages
-
How to post Idocs FROM BW to R/3?
Hi,
what I need to do is:
1. read a cube.
2. create an Idoc from the record I read.
3. post the idoc back to R/3.
Do you know how can I send the Idoc directly to R/3 FROM BW?
Thanks,
ItayHi Andrzej,
I created the following fm in R/3 to be called from BW:
FUNCTION z_read_table.
""local Interface:
*" IMPORTING
*" VALUE(IP_TABNAME) TYPE TABNAME
*" EXPORTING
*" VALUE(EP_TAB) TYPE ZBP0_TAB
DATA: it_table TYPE REF TO data,
l_line TYPE zbp0_struc.
FIELD-SYMBOLS: <it_tab> TYPE STANDARD TABLE,
<ls_tab> TYPE ANY.
create internal table
CREATE DATA it_table
TYPE STANDARD TABLE OF (ip_tabname).
ASSIGN it_table->* TO <it_tab>.
read data
SELECT * INTO TABLE <it_tab> FROM (ip_tabname).
assign data
LOOP AT <it_tab> ASSIGNING <ls_tab>.
CALL FUNCTION 'SO_STRUCT_TO_CHAR'
EXPORTING
ip_struct = <ls_tab>
IMPORTING
ep_string = l_line.
APPEND l_line TO ep_tab.
ENDLOOP.
ENDFUNCTION.
In BW I am calling it with
CALL FUNCTION Z_READ_TABLE destination 'DEST'
IMPORTING ip_tabname = 'ZTABLE'
EXPORTING ep_tab = itab.
Hope this helps!
regards
Siggi -
How to post idoc ORDERS05 from ABAP standalone program to the same R3 syst?
Hi Masterminds,
I need to post IDoc from ECC to same R/3 system. For that i need to develop a standalone program which will post Idoc 'ORDERS05'.
I had the following data:
E1EDKA1 - PARTN
E1EDK02; QUALF = 001 - BELNR
E1EDP19; QUALF = 003 - IDTNR
E1EDP02; QUALF = 997 - BELNR
E1EDP01 MENGE - Space
E1EDP02; QUALF = 999 - BELNR
E1EDK01 BSART - Space
E1EDP19; QUALF = 002 - IDTNR
E1EDP01 ABGRU - Space
E1EDKA1 PARVW - Space
Please provide me details how to write the program and what necessary steps do i need to follow.
Thanks......Hi,
Do ALE settings and Fill two tables of type EDIDD and structure of type EDIDC
and pass it to function module
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
MASTER_IDOC_CONTROL = P_WA_EDIDC
OBJ_TYPE = ''
CHNUM = ''
TABLES
COMMUNICATION_IDOC_CONTROL = P_I_EDIDC
MASTER_IDOC_DATA = P_I_EDIDD
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 1
ERROR_WRITING_IDOC_STATUS = 2
ERROR_IN_IDOC_DATA = 3
SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
OTHERS = 5. -
how to push idoc from r/3
Hello
We expect you to be able to search the forum to get answers to basic questions such as this.
- This thread will be locked.
- No points will be awarded to any of the replies.
- Your user will be monitored and if this type of questioning continues your account will be closed.
Please familiarise yourself with the forum Rules of Engagement before posting.
Rules of Engagement
https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement
Regards
XI/PI Moderator -
Help Required to post IDOC from R/3 to XI
Hello,
I need help to post IDOC from R/3 to XI
My XI System --- E11 on client 001
My R/3 System -- IXS on client 812
In R/3
1. I use Tx SM59 to make RFC Dest --- E11CLNT001 (Client will be 001 Pointing to my XI System )
2. I use TX WE21 to make Port -- A00020 which is using above RFC Dest
3. I use TX WE20 to make Partner Profile -- RECE ( IDOC Outbound Parameter- MATMAS which is using above Port)
In XI
1. I use TX SM59 to make RFC Dest --- E11812 (Client will be 812 Pointing to my R/3 System )
2. I use TX IDX1 to make Port --- SAPB6M (Client will be 812 and RFC Dest -- E11812 )
3. I use TX WE20 to make Partner Profile -- B6MTEST ( IDOC Inboubnd Parameter- MATMAS )
While Posting data from R/3
Recipient Port --- A00020
Recipient Partner No -- RECE
Recipient Partner Type --- LS
Sender Port --- SAPB6M
Sender Partner Number -- B6MTEST
Sender Partner Type --- LS
I am getting error " Could not post IDOC to R/3".
Please let me know where are my setting are incorrect
RegardsIn R/3
1. I use Tx SM59 to make RFC Dest --- E11CLNT001 (Client will be 001 Pointing to my XI System )
2. I use TX WE21 to make Port -- A00020 which is using above RFC Dest ( THIS PORT NAME SHOULD BE IN THE FORMAT SAPSID, A00020 (is it you SAPSID, else it will throw error)
3. I use TX WE20 to make Partner Profile -- RECE ( IDOC Outbound Parameter- MATMAS which is using above Port)
In XI
1. I use TX SM59 to make RFC Dest --- E11812 (Client will be 812 Pointing to my R/3 System )
2. I use TX IDX1 to make Port --- SAPB6M (Client will be 812 and RFC Dest -- E11812 ) ( THIS PORT NAME SHOULD BE IN THE FORMAT SAPSID, A00020 (is it you SAPSID, else it will throw error)
3. I use TX WE20 to make Partner Profile -- B6MTEST ( IDOC Inboubnd Parameter- MATMAS ) ( Not require in SAP XI)
chenage the PORT NAME IN R/3 it should work. -
While Posting IDOC from XI to R/3 Message Type needs to be changed
We are doing mapping IN XI. For one condition we want Message Type to be ORDERS and for one condition we want Message Type to be ORDERSCHG
when posting IDOC from XI to R/3.
Pls revert anybody asap.
RegardsHi,
>>>>It means I need to create two Interface Mappings for the same message mapping and then I can use the Interface Determination . Am I right.
no, you need two message mapping
and two interface mappings
file - orders.orders05
file - ordrchg.order05
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
How to send IDocs from a non-SAP system to a SAP system
Hi everyone i am new to SAP R/3 System.
Currently i am required to send IDocs from a non-SAP system to a SAP R/3 System.
There is a guide on Cost-Effective and Quick Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface. But its from a SAP system to a non-SAP system and i am able to do that.
Is there any step by step guide where they teaches you how to send IDocs from a non-SAP system to SAP system via similar method?
Thank You!Hi,
I hope this link may help you......
http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r1/index.jsp?topic=/com.ibm.swg.im.iis.ds.entpak.sapr3.use.doc/topics/c_pack_r3_Introduction.html -
How I post video from iPad to Facebook????
How I post video from you tube on iPad or iPhone to Facebook? Please
i have tried this. 100% uploaded. got message successful. o of video uploaded ..and video is not uploaded. video size is 80mb. what else do i need to do?
-
How to Post Idoc's from ECC to SCM
Dear Friends,
This is Shalini Shah.
how to post the Idoc(MATMAS05)
from ECC to SCM-APO.
please give me the details on this topic.
Regards,
ShaliniShahPlease see the Wiki page details mentioned in this [sticky|Wiki page for SCM-APO; thread at the beginning of the forum.
Refer to the [CIF|https://wiki.sdn.sap.com/wiki/display/SCM/CIF] Wiki page for details on setting up and using CIF. I am not aware of the IDOC details but if it material master (as SB has mentioned) then your best option of transferring the master data from ECC to SCM / APO will be to use the CIF.
After intial CIF settings are maintained (see details inthe CIF Wiki page) you will need to create Integration Models and activate them for transferring the data.
Somnath -
What authorization required to post idoc from XI via RFC?
Hi all,
I need to post idoc to SAP R/3 system from XI. I have done all the steps correctly. While creating RFC in XI system to connect to the R/3 system, intially I gave my R/3 username and password and tested teh connection. Everything was working fine but when I actually ran the scenario, IDOC was not getting posted in the R/3. But there was no error anywhere.
fianlly after debugging I fould it might be the issue of authorization the the R/3 user i used in the RFC. I then assigned SAP_ALL authorization to my user and posted the iodc again and it started working fine.
Can anyone please tell me what are th exact authorizations/role i need to assign to the r/3 used to use it in RFC and successfully posting the idoc? I dont want to use SAP_ALL authorization in my production environemnt.
Please help.
Regards,
YashHi,
Even i had faced this problem. Whenever I tried to send IDOCs, i used to get an error in SM58, " No authorization to send IDOC of type DEBMDM".
When i got SAP_ALL it worked. However I raised a note with SAP asking for an alternative and this is the reply gave me.
You can get good information on this topic in your online help files.
The following is taken from the document "General Security Measures
(ALE)":
Use the transaction SALE to maintain the ALE configuration, to include setting up the distribution model and setting up ALE user authorizations and profiles. Note the following:
- Be restrictive when assigning the ALE authorizations.
The authorization profile B_ALE_ALL contains the following
authorization objects that are needed for ALE:
Authorizations for ALE
Authorization Description
B_ALE_CGRP ALE Customizing Distribution: Group Activities
B_ALE_LSYS ALE/EDI: Maintaining logical systems
B_ALE_MAST ALE/EDI: Distributing master data
B_ALE_MODL ALE/EDI: Maintaining customer distribution model
B_ALE_RECV ALE/EDI: Receiving IDocs via RFC
B_ALE_REDU ALE/EDI: Generating messages (ex. reduction)
S_PROGRAM ABAP: Program run checks
S_TABU_DIS Table Maintenance (using standard tools such as SM30)
Protect external users and passwords.
For example, for a non-SAP system to send IDocs to a SAP System using transactional RFC, it must also send a SAP user ID and password.
In most cases, the user and password are stored outside of the SAP System. Make sure that this information is not accessible to external systems or programs. (How you can do this is dependent on the system that you have; therefore, you need to refer to the documentation for the system where the information is stored.)
However, I feel assigining the profile S_IDOC_ALL should also be enough. Just try and see.
Regards,
Merrilly -
How to send IDOC from nonSAP to SAP
Hi ;
I need to send IDOC from nonSAP to SAP. I have experience it with XI and BC..but now I need sending IDOC to SAP directl without these tools..
Can you explain it via sample? (I know already how to create port , define LP from we20,we21 ).
Firstly Do I need to create a RFC destination ? and I want to send IDOC as XML by HTML post method..Which port must I send?
Must this port point to this RFC?
Thanks.Hi,
Here you have to generate an IDOC and convert into XML format and put at required server
third party will accept the IDOC XML not the IDOC.
Just check with ur third party in which format the data is accepted.
if its IDOC XML then u can use the file receiver adapter and place the IDOC XML file on 3rd party folder.
You use the IDoc adapter to have IDocs (intermediate documents) processed by the Integration Engine. IDocs from SAP systems Release 3.1x or higher are supported. You can also use the IDoc adapter to connect non-SAP systems to the Integration Engine.
The IDoc adapter converts the IDocs to IDoc XML format so that they can be processed by the Integration Server pipeline.
You can also transfer XML in IDoc format received from the Integration Server to connected systems. The Integration Server pipeline must convert the received XML to IDoc XML, and then transfer this IDoc XML to the IDoc adapter. The IDoc adapter converts the IDoc XML to native IDoc format and sends the IDoc to the identified receiver system using the standard IDoc interface.
Regards,
Shamma -
Post Idoc from SAP to Thirdparty using XI
Dear Friends,
My requirement is sending the Idoc from SAP to Thirdparty system,but Thirdparty system also receive the Idoc format only.
so IDoc to Idoc scenario but SAP to Thirdparty system it is possible or not.
please tell me how ?
Regards,
Shalini ShahYou can use SAP Business Connector(BC) to convert IDOC to IDOC-XML at the third party legacy system.
With Business Connector see the below links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b4f3755a-0401-0010-b6b3-9b65bb7d4503http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://www.erpgenie.com/mysap/bus_connector.htm
WAS - Business Connector
business connector documentation
SAP Business Connector
Business connector
Will Business Connector 4.6 be affected by new Daylight savings changes
Business connector
More info on XI can be found at https://service.sap.com/xi
and webAS on http://help.sap.com/saphelp_nw04/helpdata/en/f3/e20f3adfd0a706e10000000a114084/frameset.htm
Check this also-
http://help.sap.com/saphelp_nw2004s/helpdata/en/6f/1bd5c2a85b11d6b28500508b5d5211/frameset.htm -
"An IdocException occurred" while posting Idocs from SAP ECC to SAP PI AEX
Hi all,
While sending Idocs from SAP ECC to SAP PI 7.4 AEX, we are experiencing this issue at SAP ECC-SM58
Only a particular Idoc type is having this issue.
Below are the checks done before posting this query:
1. Pushed other Idocs from the SAP ECC to PI and all were getting exchanged successfully.
2. Reloaded the meta data in PI for the particular Idoc type in issue.
3. Checked the RFC destinations in SAP ECC, RFC connection test is also working fine.
4. Unicode option enabled in the SAP ECC RFC destination pointing to PI-AEX
5. Restarted the inboundRA service in PI AEX.
Is there anything still missing. What could be root cause of this issue.
If anyone has encountered it before, pleases share the resolution.
Thank you
YounusHi Amit,
Thanks for the reply. Log viewer doesn't provide much help on the error.
The error desc says
"JRA]serverExceptionOccurred. Server XI_IDOC_DEFAULT_SID, Managed_Application_Thread_58, connectionId=5-ip address|sapgw20|XI_IDOC_DEFAULT_SID, Exception: com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: An IDocException occurred"
regards,
Younus -
Posting idocs from R/3 to xi
dear all,
i want to do one scenario of posting INVOIC idocs from R/3 to XI. I have gone thru some of the blogs posted in SDN but didn't find any step by step guide for doing it.
Can anybody send me the link or sme document for the above said scenario.
Warm regards,
N.JainSent/Receive IDOC:
you need to do the following:
In XI
SM59 - R3 connection pointing to R3
IDX1 - define the port with the above dest.
In R3
SM59 - R3 connection pointing to XI
WE21 - define the port with the above dest.
WE20 - Partner profile type outbound/Inbound
Further ref:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
Configuration steps required for posting idoc's(XI) -
/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
ALE configuration for pushing idocs from SAP to XI -
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
For a IDOC -> File, ref:
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters -
Hi,
I have a scenario in which I have to Post an IDOC from MQ (MQ to IDOC scenario).
I am getting an error in the communication channel :
Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: java.lang.Exception: ERROR converting document line no. 1 according to structure Header:java.lang.Exception: Consistency error: field(s) missing - specify lastFieldsOptional parameter to allow this; nested exception caused by: java.lang.Exception: ERROR converting document line no. 1 according to structure Header:java.lang.Exception: Consistency error: field(s) missing - specify lastFieldsOptional parameter to allow this
What is the solution to this problem?
Thanks,
VikasIt seems you are using Content conversion on Sender JMS adapter side.
Some fields must be missing in your Source file.
You need to specify the lastFieldsOptional parameter in Content Conversion.
Maybe you are looking for
-
Itunes won't play one of the song i have purchased in an album and all the rest of the song play
I recently purchased David Guetta Nothing But the Beat ultimate and have found all the song but one play. The song I am having problems playing is Metropolis it appears to be asking for authorize it, which puzzles me as i have purchased the music fro
-
Hi Guys, Does any one has material or link regarding SAP Workflows ? please can you send the documents to the given mail id. [email protected] Points will be rewarded. Thanks, Sachin
-
I recieved a brand new Zen Neeon for Christmas. While i was listening to it, it just froze up. I wasn't even touching the MP3 player, so i don' think i did anything to it to make it freeze up. Is there anything I can do to unfreeze it's
-
KDE: Dolphin search not searching, and menu editor
Well, I'm trying to look for some files, sometimes I use the `find` command but then again I don't know if there is a better way to search (as in having a gui). I was reading a while ago about document indexers, could anyone fill me in a bit, is this
-
Upon exiting Presentaion Mode (Ctrl+W) the layer I had previsously selected always gets unselected, and the screen always centers itself regardless of it prior position!