Sender Information in control record of IDOC adapter
Hello All,
I am sending data from JMS to R/3 (IDOC). I need to populate the SNDPRT with LI and SNDPRN with 42980.
I have mapped SNDPRT with LI and SNDPRN with 42980 in the control record. I have checked the <b>Apply Control recrod values from check box</b> in the IDOC adapter communication channel.
Also checked the Sender Party in the Receiver aggrement. I have selected <b>the context object as the SNDPRN of IDOC control record</b>
But it is failing. I am getting an error Unable to convert sender XI party ........to an IDOC party
I need to resolve thsi problem
Please help me.
Hi Abinash,
In addition to the document Mike suggested, SAP has many How-to Guides at the following link
http://service.sap.com/nw-howtoguides
https://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
Mike: Thanks a lot for spending your valuable time helping the forum even on Weekends. SAP really appreciates your help on this.
Regards,
Sam Raju
Similar Messages
-
** Port is missing from the IDoc control record (Receiver IDoc adapter)
We are using a File to IDoc scenario and in the idoc sap sender port is not coming due to this IDoc posting is failing. Could any one tell us why idoc adapter is not able to get SAP port.
The following is the error message in SAP side.
Status : 56
IDoc: 0000000006188579 Status: IDoc with errors added
EDI: Partner profile inbound not available
Kindly help me friends.
Thanks,
Jagathees P.hi,
>EDI: Partner profile inbound not available
this error message means that there is not partner profile
configuration for this IDOC (you configure it in WE20 of ERP/R/3 )
or your XI system is configured to post to a wrong partner profile
(if you fill your partner data in a mapping for example)
so it's one of the other for sure - check it/change it and it will work
for more info about IDOCs and XI you can check my book:
www.sap-press.com/product.cfm?account=&product=H1935
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ -
Hey guys
i m trying to test my IDOC to FIle scenario and in WE19 i m getting an error with status 37 saying that sender port in control records is invalid.
i have created the Sender port correctly in WE21,what might the problem be?
thanx
ahmadHI,
As you said you have created the port with WE21.
Did you checked , RFC destination which was configured in Port creation , what was the user ,pwd you used,does that user has the proper authorization , did you checked remote login for RFC destination,generally SAPxxx for port name, did you selected the version which was selected.
let me know what is the correct error.
Regards
Chilla.. -
Include segment in Control record of idoc type PEXR2002 and PAYEXT
Gurus
This is business scenario. We are using four different flavours of payment methods. when exectuing F110 for each payment method,Program RFFOEDI1 generates IDOC. This IDOC are send to EDI team who then sends that as EDI820 to bank.
The payment method used are populated in Detail record field of IDOC . But EDI team wants that to be in Control record of IDOC .
We are using PEXR2002 and message type is PAYEXT . this is an outbound IDOC .
Is it possible to add segement in control record for each payment method?.
Thanks for your time and consideration
AuroarIt may depend on how the IDoc is created.
From a file.
Sent via a Remote Call.
You would then need to code it for this Message type only.
I would take a copy of the standard Function and change that. You would have greater control then.
Why is the partner number wrong anyway. Can you not just create another partner profile(s).
Message was edited by:
Martin Shinks -
Reciever port blank in control record of idoc.
Hi,
I am sending IDOC from client 110 to 220 in R/3.
In Client 220 reciever port is blank in control record of
Idoc.Do I need to do some kind of settings for this.
Any help appericiated.
Thanx.
Rekha.Hi Rekha;
Are the ports properly populated on the outbound IDoc (from client 110)?
Cheers,
John -
EDI: Sender port in control record is invalid
HI
EDI: Sender port in control record is invalid, this message i am getting in WE02 what is this pls tell me ASAP
regards
shekarHi,
Check the ALE setting...
STEP 1:ALE SETTINGS TO POST IDOC OUT OF SAP R/3
We need to do the following settings in XI
1) Create an RFC Destination to the Sending System in transaction code (SM59)
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.Both should be succesful
2) Create Port Using Transaction Code IDX1
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
3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1
SETTINGS IN SAP R/3
We need to do the following settings in R/3
Logon to Sap R/3 System
1) Create an RFC Destination to XI in transaction code (SM59)
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.Both must be succesful
2) Create communication Port for Idoc processing Using Transaction(We21)
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)
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile with Outbound Parameters (WE20)
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
Then Save
e) Select Partner no. and LS which were create above
f) Now we have to give some Outbound Parameters.So click on ADD TO Create Outbound Parameter
g) Select Message type
h) Double click on Message Type and Then Enter the details for Receiving port, Pack size=1 and Basic type
I) save
4) In Transaction SALE, Create Logical System
a). Go to Basic Settings-> First Define logical systems
and then assign logical systems
b) Double click on Define the logical systems
c) Give data for your Logicaal System and Name
d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready
e) Assign the logical system name to the client
5) Create Customer Distribution model in the transaction code BD64
1) Click on the Create modal View button and enter the short text, Technical name etc as shown below
2) Now select the created model view and click on Add message type button .A pop up box appears, enter Sending system, receiving system and message type
3) Save the Distribution model
Generate Partner Profiles
Click on Menu Item Generate Partner Profiles
It leads to the next transaction where in the selection screen you have to provide Model view name, Partner System logical system and execute
Then, you will be intimated about the partners, port creation, and outbound parameters creation
4) Distribute Customer Distribution Model
In the menu item GO to Edit->Modal View-> Distribute to the destination client
Popup window appears ,press Enter
You will be intimated about the the Modal View Distributed
Regards,
Phani -
Hi Experts,
I need to change the partner number in the control record of IDOC.
Due to this it was getting posted wrongly at status 56 "Idoc with errors added".
I took a single idoc and manully changed via WE09 and reposted tho BD87.But the think is I wanted this to ahppedn for all the inbound idocs.
Message type :ALEAUD.
Process code : AUD1.
Function module triggered: IDOC_INPUT_ALEAUD.
Is there any user exit available to do this or any other program which is called first to post the idoc in receiver system.
I cant change the partner number in sender system only in my receiver system i can do this.
Can anyone help.
Thanks,
Ponraj.s.It may depend on how the IDoc is created.
From a file.
Sent via a Remote Call.
You would then need to code it for this Message type only.
I would take a copy of the standard Function and change that. You would have greater control then.
Why is the partner number wrong anyway. Can you not just create another partner profile(s).
Message was edited by:
Martin Shinks -
File name in control record of Idoc
Hello All,
I have come across a requirement for File to IDOC scenario where File name picked from dynamic configuration is to be stored in control record of IDOC. As file name is more than 45 chars long, I need to use a long field.
Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
Regards
PrashantHi Prashant,
I understand that your requirement is to store name of picked up file in SAP system.
Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
You can use them if you are sure that it would not affect routing routines and message processing in SAP ECC.
Regards,
Radek -
Passing control records to Idoc
Hi,
how can we pass control record data to Idoc?can we do that in mapping(GUI) in XI ,lets say if I am doing <b>file to Idoc</b> scenario.I know we can disable the control record field and use apply from payload.my concern is if we don't use apply from payload.
I have read in SDN XI takes from sender or reciever business systems as they are related to Logical systems(ref link:XI IDoc control record data source?) ,does it mean that we don't map these cotrol record fileds in the mapping(GUI)?
and also please tell me how XI can pass data from flat file to a particular IDOC?
thank you.hi,
have a look at blog to see what is being filled and how:
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
you can also check my book in which I describe IDOC scenario configurations
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
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> -
Hi
The scenario where i have an R3 - > XI - > NONE SAP
where r3 sends idoc the none sap needs to send back aleaud but the orig idoc number is not in the ALEAUD idoc number but the control record holds a different want inorder for the r3 to think it is an ALeaud
how can i fix this and have the same idoc numeber also in the coming aleaud ?
or how do i associate between the idoc and the returning aleaud ?!Hi Sergie
The ALEAUD is a separate IDoc, so naturally it must have a different number than the original IDoc. However, the field E1STATE/DOCNUM in ALEAUD is a reference to the original IDoc.
How is your ALEAUD generated? If you are doing this "manually" via a message mapping, you need to include the original IDoc number in the message to your receiving system so that it can send an audit message back containing the original IDoc number. From this audit message you should be able to map a correct ALEAUD message.
Regards,
Thorsten -
Serialisation field in control record in idocs
Hi Experts,
I have one requirement like this.While generating idocs in control record we get serialization number by combining system date and time.
But now my requirement is i have to change that serialisation field with required timestamp.Can we do this? If so can anyone explain me how to do that?
Wiating for your valuable replies.
Points will be rewarded.
Regards,
Swetha.hi,
Firstly check the open periods for the compnay code in OMSY...
If its not open then try in the MMPV to open it...
You can also open it in OB52..which is FI trasaction...it open/close the two periods consicutively...
You can reopen the periods but its not recomended...you can use MMRV..for back posting allowed...
or else check this
goto SU3
select user profile
in parameter ID give MMPI_READ_NOTE , and in parameterr value enter todays yyyymmdd and save.
and goto MMPI intialise the periods to present one at a strech. -
Want to put data in control record of IDOC (Inbound Idoc)
Hi All
For some business reasons so many Idocs are not getting posted into SAP. They are just simply failing.So my client wants report that will give me a list of Idocs that are failed . I want to put document number in the control field so that i can display that filed in the report which sucks data from EDIDC table.
Can i put data in the control record ?
it is an INBOUND idoc
Can i use these fields?
Or will SAP use these fields for any sort of processing?
EDIDC-REFMES(reference message)
EDIDC-REFINT(Reference to interchange file)
EDIDC-REFGRP(message group)Hi Prashant,
I understand that your requirement is to store name of picked up file in SAP system.
Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
You can use them if you are sure that it would not affect routing routines and message processing in SAP ECC.
Regards,
Radek -
BADI to Change control record from idoc
Im trying to use the BADI IDOC_CREATION_CHECK to change the control record from the idoc but im not able to do it because the parameter IDOC_CONTROL is an importing parameter not a changing parameter, Ive tried to use the BADI IDOC_DATA_MAPPER but I this case Im just able to change the data record, should I use another BADI?
Regards
Luis Constantino.hi.
have you tried ABI_IDOC_PROC_MODIF?
i did not read much thru the documentation...
i hope this helps. -
How to disable control records in Idoc
Hi All,
I've a small problem in my scenario.i have a idoc in my input and i want output as a idoc in a flat file.i m using abap class fr this.that abap class is changing idoc into idoc as a flat file.but i have to remove control records in my output.i have a very little knowlegde in abap.so can u help me regarding my scenario.FCC can't be possilbe because it is a huge idoc.
thanx in advance
Monikaactually u din't understand my question fully. i dont want idoc xml..i want idoc in a flat file
well i got solution...i've chnaged my abap mapping ..and it's wrking fine..
anyways thanx -
Want to send information in Header dynamically using HTTP adapter using post method
Hi ,
I have a requirement to send below information in http Adapter header dynamically using post method. which will be authenticated by third party system.
Authorization : WSSE realm="SDP", profile="UsernameToken", type="AppKey" X-WSSE : UsernameToken Username="XXXX", PasswordDigest="Qd0QnQn0eaAHpOiuk/0QhV+Bzdc=", Nonce="eUZZZXpSczFycXJCNVhCWU1mS3ZScldOYg==", Created="2013-09-05T02:12:21Z"
I have followed below link to create UDF
http://scn.sap.com/thread/3241568
As if now my third party system is not available while sending request I am getting 504 gateway error. is there any approach I can validate my request is working fine?
Regards,Hi Abhay,
Correct me if I'm wrong but I think WSSE requires a SOAP Envelope. If that is the case, there are two approaches: the first one is to use SOAP Axis and the second one is just to build SOAP Envelope via Java mapping.
You also need to test it successfully externally, capture the request and replicate it in XI.
Hope this helps,
Mark
Maybe you are looking for
-
To extract null Values from the source in Infopackage selections - Very Urg
Hi All, I need to pull the data which has null values from source. I tried to write routine by giving l_t_range-low = '' , space. nothing is working. Please guide me with sample code. Very Urgent. Regards Mano
-
A photo found in the iPhoto library that was not imported
Every time I open iPhoto, I receive a message saying "A photo has been found in the iPhoto library that was not imported. Would you like to import it?" If I select yes, a box pops up saying "Unreadable file. The file was not imported, the file was mi
-
Amazon videos stream through Apple TV?
I own a GREAT deal of videos in Amazon prime, IF I buy an Apple TV, will I be able to stream them? I currently own a Roku, but would like to buy an Apple TV for the family room IF I can utilize all the video's I own.
-
How to change bucket capacity for a certain date range (duration)?
Hi, I need to update the bucket capacities of Resource at Vendor location in APO live cache for a particular period using BAPI_RSSRVAPS_CHANGEMULTI. Here I am executing BAPI by passing - Import Parameters: LOGICAL_SYSTEM COMMIT_CONTROL PLANNING_VERSI
-
Hello All, I am using bulk reading by utilizing 'setDataBuffer()' method call and fetching N records at a time. It works well for fields of Oracle type VARCHAR, when I set h5. rs->setDataBuffer(col, buff, oracle::occi::OCCI_SQLT_CHR, size, lens, inds