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
Prashant
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
Similar Messages
-
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 -
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 -
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 -
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 -
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 -
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> -
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. -
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 -
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 -
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. -
** 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 -
Mapping of Control records in file to idoc scenario
Hi,
In the mapping part of file to idoc scenario is it necessary to provide the exact control record details
or will it pick what ever is mentioned ? Can any one please explain regarding the same?
Many Thanks,
Sharathhi,
in case of apply control records from payload
It is indeed very simple to do it and the feature is available from SP10. I have seen lot of posts on the forum for the same and that is the reason for this blog. We can manipulate the control record in the mapping editor and map the EDI_DC40 segment of Idoc as required. Most of the times we need to map only SNDPRN, RCVPRN, SNDPRT, RCVPRT for posting Idocs with appropriate partner profiles in SAP R/3 destination systems. We can disable the rest of the fields as shown below. We need to manually change the control record of idoc for populating partner profiles in the control records while dealing with non-sap sender system, which will be used by receiver SAP system for posting idocs with appropriate ALE configurations.
check this blog
/people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
regards
chandra -
IDoc to File with different file name and data based on the IDoc header dat
Hi,
I got a requirement to implement IDOC to file senario. In this the Converted file should have the file name and file content based on IDoc Header data. Means If one of the IDoc header field value is
'A' - then the file name recieved by reciever system should be 'A.txt' and with the columns A B C D F.
'B' - then the file name recieved by reciever system should be 'B.txt' and with the columns C D F.
In both the case IDoc message type is same.
Please suggest me what i need to do to achieve this.
Thanks in Advance. ...
Regards
SriHi,
As per my requirement, we need to create one file for each IDoc based on IDoc header data. SAP program generates 10 IDocs for each run. All 10 IDoc's message type is same. Each IDoc has one header record with the file name. Base on the name in the IDoc header record, file needs to be created with different columns and file name. Means..
IDoc 01- Header Description contains 'A' - than file will be generated should have name as 'A.txt' and columns 'parent' 'child' 'descripion'.
IDoc 02- Header Description contains 'B' - than file will be generated should have name as 'B.txt' and columns 'Name' 'Department' 'Description'.
IDoc 10- Header Description contains 'J' - than file will be generated should have name as 'J.txt' and columns 'Order No' 'Materail' 'Description'.
Hope this will give more clarity on my requirement. Please let me if you are still not clear on requirement.
Thanks for your all help..
Thanks & Regards
Sreeni -
Inbound Idoc - control record settings
Hi,
we have a JDBC to Idoc scenario. We get data from JDBC interface (outbound), map some fields and send it to a receiver SAP system as an Idoc (inbound). We did a similar scenario before and PI filled out automatically the control record settings. So in our mapping to the idoc XML format the must fieds in the control records are set to constant="pi dummy entry".
It worked for the former scenario well. For this new scenario it doesn't! When i monitor the payload, SNDPOR as example is set with our dummy value of the mapping ("pi dummy entry").
specials:
- CC checkbox "Apply Control Values from Payload" is NOT set!
- The destination SAP Business System is configured as a Party in Integration Directory (not such configurations in SLD)
- We use PI 7.0
Any suggestions?
Thanks in advance
MichaelHi Michael,
>>So the control record will not be send. I was expecting, that PI the control record data according to the configuration fills. Maybe this is a wrong assumption.
Yes you need to disable the control record in message mapping, because you want PI to make it at run time based on the configuration done in PI. So apart from disabling it you need to do some more settings.
If you have used parties in SAP PI, then select the
1.Apply control records in IDOC communication channel
2. Update the Identifier tab in the IDoc receiver channel with the correct information for sender/receiver
now when you see the IDoc Outbound (in SOap Header) then you will see the correct sender and receiver details.
Regards
Suraj
Maybe you are looking for
-
It is the same way on my iPod and iPhone so I just stopped checking my e-mails on them.
-
hi experts ,,,, 1)...i am taking the print out of report. i given the horizantal and vertical lines...... i did not want them in output(lines).... how can i do this, any option is available. 2) how to delete the leading zeroes... i jave number
-
Itunes with windows live messenger
for some reason, after i downloaded the new update today, it doesnt seem to be showing what music im playing on windows live messenger, yet if i used windows media player it shows what im playing, i was wondering how i would be able to turn this sett
-
Hi, I am new to Business objects and want to know what are the different tools available in BOBJ for viewing/developing reports. Do we have something called Analyzer in BOBJ as well. If so than how to use it, what are the purpose. Need some informati
-
Activites after Upgrading with Support Package
Hi This week, we upgraded from 8 to 13 SP level in our SCM 5.0 system. Here i am confused what are all activities we have to do as application support ? My BASIS is not really cooperative/ not fully knowledgeable in this. After the implementation of