IDOC to multiple header scenario..
Hi,
My scenario is Idoc to multiple flle scenario..(CDMA & GSM files needs to routed to differient structures)
The requirement is Idoc is triggered at R/3 ECC side, at the target end we have 3 structures, the 1st structure is common as it has email details and the 2nd structure (CDMA structure)and the 3rd structure (GSM Structure) is differient which should handle CDMA & GSM.
so, the IDOC triggers with the following case
1. Only CDMA files
2. Only GSM files
3. Mixed CDMA & GSM files
4. Sometimes missed data without having anyinformation to differentiate (For this case the records should not be geterated)
Ouput should be as follows:
for the first case:
1. If only CDMA files -
> In this case the output should be 2 files (one email file , CDMA text file--- so totally 2 files)
2. If only GSM files -
>In this case the output should be 2 files (one email file , GSM text file--- so totally 2 files)
3. If both CDMA & GSM -
> Then here totally 3 output files where (One email file, CDMA text file, GSM test file -- totally 3 files)
Please throw some light for how to proceed with this type of scenario..
Thanks,
--Kishore
Hi Sarvesh,
The reply was really useful and also can you clarify the below things,
1. I have to drop the files by using dynamic file naming configuration i mean i have to drop the files with the name as below
First case: If only CDMA records in the IDOC then i need to drop 2 files (1 email file -- 1 CDMA text file)
the file names should be as : IDOCNumber_Currentdate.xml -- For email file & IDOCNumber_CurrentDate.txt for CDMA text file
Second case: If only GSM records in the IDOC then i need to drop 2 files (1 email file -- 1 GSM text file)
the file names should be as : IDOCNumber_Currentdate.xml -- For email file & IDOCNumber_CurrentDate.txt for CDMA text file
Third case: If mixed CDMA & GSM records in the IDOC then i need to drop 3 files (1 email file -- 1 CDMA text file & 1 GSM text file)
the file names should be as : IDOCNumber_Currentdate.xml -- For email file & IDOCNumber_CDMA_CurrentDate.txt for CDMA text file, IDOCNumber_GSM_Currentdate.txt)
Here the IDOC number and the text GSM is not used in the ouput structure to use variable substitution method, when we use dynamic file naming configuration UDF then the files are getting overwritten with the first UDF.
Please let me know how to proceed further..
Thanks,
--Kishore
Edited by: Kishore Kumar N.T on Dec 10, 2010 11:33 AM
Edited by: Kishore Kumar N.T on Dec 10, 2010 11:34 AM
Similar Messages
-
Idoc to Multiple file scenario
Hi Experts,
My scenario is IDOC to Multiple files..
IDOC will be triggered from the ECC system and i have three differient structures and need to drop those 3 files in the ftp server at the target system.
Here we can use multimapping for such scenario but the problem here is ..
In my scenario for all the 3 mappings i am using combination of message mapping and xslt mapping as below
1st case:
Idoc -
Message mapping -
Target First File.
XSLT Mapping1
XSLT Mapping2
XSLT Mapping3
XSLT Mapping4 -
The output of the xslt 4th mapping will go to the target ftp server
In similar for the other 2 mappings also uses the combination of messag mapping and xslt mapping.
Here as the receiver system is one in the interface determination (PI 7.1-- NO Enhanced determination)when i add these operation mapping in the interface determination when i execute the scenario all the operation mappings are not getting executed.
For example;; If the first target file has no records then it is not executing the 2nd operaion mapping, does the occurence of the operation mapping needs to changed.
could anyone suggest on this..
Thanks,
saiHi,
Why cannot you use three mappings when you want to generate the three files for the same input instead of multimapping as the multimapping generates either of the three messages only...
you can later provide the condition at the interface determination to execute the mappings if not all mappings to be executed..
if there are no conditions provided by you at the interface determination level then mappings will get executed automatically..
provided your mapping is working fine..so in your case check /test the message mapping..
HTH
Rajesh -
IDOC to (multiple) file design help
Hi all,
i am trying to do a IDOC to multiple file scenario.
Requirement:
An outbound idoc has 4 segments.
now i want the output of first 2 segments in one file and second 2 segments in another file.
How to approach this design (without BPM).
Waiting for reply,
Senthilprakash.Hi,
Use multimapping (use external definition of Idoc in source side) in which target message occurance should be 0..unbounded.
write one UDF like below
for(int i=1;i<=4;i++)
if(i==2||i==4){
result.addValue("");;
so that it will split the target structure 2 time(when i=2 and i=4). so that you map all the source fields to target fields(all one to one mapping except UDF).
start doing this so that you will get the required output easily.
thanks,
madhu -
Multiple IDOC to Multiple IDOC scenario without BPM steps????
Hi
Could you please give me the solution for this ???
I want steps for sending all IDOCs at a time- ---"Multiple IDOC to Multiple IDOC scenario without using BPM".???
thanks
3nadhHello,
Refer the below, for certain details!
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi ALE configuration for pushing idocs from SAP to XI
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change XI: IDOC bundling - the "trick" with the occurance change
Regards,
Jilan -
Posting an Idoc with Multiple Headers and Multiple Lines
Hi all,
I have a scenario like this fileXIIdoc
Invoice file comes in text file with multiple header and multiple lines like this
111 aaa 13214234 US (header)
09082010 ABC 9999 A (Line)
222 ccc 43454543 US (header)
09082010 XYZ 7777 B (Line)
09082010 PQR 8888 C (Line)
I need to post single Idoc with all the headers and lines
we are planning to use Custom Idoc,Is this possible by having the header segment as unbounded??
Regards
Edited by: Vamsi Krishna on Sep 8, 2010 8:05 PMhi,
lets go again.
you have to edit the custom IDoc and change the ocurrance on the header segment. also modify the details segment adding an addtional field that identify which header that this detail belong.
for this case you cannot change the occurrance in SAP PI because you wont identify what i have told you before. in PI apply to change the occurrance if you could send ONE Idoc Per Header.
now is better clear???
Let us know.
Thanks
Rodrigo P-. -
HR - XI - External System: one IDOC to multiple XML Files
Hi,
I have a scenario where I need, out of one HRMD_A07 IDOC send multiple XML files:
The IDOC and the XML files can the Master data for many employee (IDOC has max of 200 as of SAP, external system, max of 1000).
The IDOC will be generated with change pointers with all the needed filters (I can add/remove if needed).
My goal is to generate 3 types of XML files:
- 1 for the persons (containing basic info like name, firstname, persnr,etc)
- 1 for the various unit (with basic info of unit like number, description & name)
- 1 for the links between persons and units (this person is linked with that unit)
The structures of the 3 XML files are know and can be imported via XSD definition.
Do I need to use BPM for doing so or is there a way to do that with simple mapping?
If BPM is needed, as I new to that, if you have a link to a begginer guide, fell free to send it
Cheers,
greghi,
For your scenario there is no need of BPM.
In message mapping select the message tag.
In the target add 3 message types.
Just map the fields.Go to Interface mapping add the 3 message in the target.
Get the mapping.
In ID sender agreement,Receiver Determination is same.
In Interface Determination select extended.Get the mapping.
Create 3 Receiver agreement for each Receiver.
Regards,
Prakasu -
From IDOC to Multiple Oracle tables Structure
Hi Guys,
I am doing a one Senario which is Custom idoc and Custom Tables of oracle they both have same fields and Same Sturucte does it possible from to do 1:1 mapping shall i process these in 1:n.Need a sugestion in these How i can slove these problem. IF some from india will give their cont pho to my mail id [email protected] i can call them and dicuss about these problem..
the senario is idoc to multiple oracle tables..need to map.
Regd's
RajHi Raj,
you scenario can be:
R/3 -> XI -> JDBC
The flow is asynchronous - so you dont have any responses. If you want to use BPM/acknowledgements to catch errors have a look to <a href="/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements Logical System Name for serveral BPM Acknowledgements</a>
You can split the IDoc (<a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible without BPM - Yes, its possible!</a>) to several JDBC messages or put serveral statements into one message (
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm">Document Formats for the Receiver JDBC Adapter</a>)
Regards,
Udo -
Split Single IDOC into Multiple IDOC's Based on Segment Type
Hi Experts,
I have a scenario IDOC to FILE , Split Single IDOC into Multiple IDOC's based on Segment Type
Outbound:
ZIdocName
Control Record
Data Record
Segment 1
Segment 2
Segment 3
Status Record
I should get output like below
Inbound:
ZIdocName
Control Record
Data Record
Segment 1
Status Record
ZIdocName
Control Record
Data Record
Segment 2
Status Record
ZIdocName
Control Record
Data Record
Segment 3
Status Record
Please suggest me step by step process to achieve this task.
Thanks.Thanks a lot Harish for reply.
I have small doubt. According to your reply , If we have N number of segments in single IDOC with same fields in all segments then for splitting Single IDOC into Multiple IDOC's based on Segment Type we need to duplicate N number of target IDOC tree structure.
Is that possible to Split single IDOC into Multiple IDOC's based on Segment Type using only one Target IDOC structure without duplicating the Target IDOC structure tree. -
Multiple head tags on instance pages
Hi there,
I have a problem whereby pages created from a template are
producing multiple head tags, 3 pairs in fact.
I have used the Check Template Syntax and it is OK.
If I remove the doctype it does not create these duplicate
head areas.
Here is my doctype in the dwt:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="false"
-->
and here is what is being output in instance pages:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en"><head></head><head></head><head></head><!--
InstanceBegin template="/Templates/master.dwt"
codeOutsideHTMLIsLocked="false" -->
I have searched the forums and the web in general but have
found no help. Any help would be greatly appreciated.
kind regards> Have you ever heard of editable-head-areas being
duplicated?
No. But I have recommended consistently that Nested templates
are too
complex for casual use. Frankly, I have not found a good
scenario that
would compel me to use them at all. I don't encourage that
you use them
either - why are you?
> I have a master template, and the head area has a
Dreamweaver
> editable-area
> tag around the entire head area.
Why would you do this? All you need there is the doctitle and
the head
region.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"scratchmybrain" <[email protected]> wrote
in message
news:[email protected]...
> Hi Murray
>
> sorry if that was confusing.
>
> What it meant is, and some more of the story, as
follows:
>
> I have a master template, and the head area has a
Dreamweaver
> editable-area
> tag around the entire head area.
>
> I have made new nested templates from the master, each
of which have the
> editable-area tag around the entire head.
>
> However, whenever I made a new template based on the
master, Dreamweaver
> would
> assign a second editable-area tag immediately after the
head, but which
> was
> *also* called the 'head'.
>
> And since I had 2 areas called the 'head', the second of
which (an empty
> tag)
> seemed to take precedent over the former, and
obliterated the head of
> subsequent child pages.
>
> Indeed just by editing the master it applied the same
extra set of tags to
> each nested template.
>
> All of this happened before I became aware of what the
problem was, and by
> hunting around I found this extra editable-area tag to
be the culprit.
>
> I do not have access to the files until Monday next
week, so I can't
> attach
> anything.
>
> Have you ever heard of editable-head-areas being
duplicated?
>
> thanks Murray
>
> cheers
>
> Darryl
>
> -
Regarding receiver determination problem in IDOC-XI-XML file scenario
Dear All ,
In IDOC-XI-xml file scenario , I have configured SLD , IR . But in ID , after file adapter , reciever agreement configuration when I am doing receiver determination configuration I am not able to insert mapping program in configuration overview of receiver determination as I am not getting "New Specific" option in mapping .
Can anybody suggest what could be the reason behind this .
Thanks in Advance
PrabhatHi PRabhat,
In RCVR determination, you need to select the party & service (as appropriate) save the obeject
then refresh the configuration overview of recr det.
then you can see the partner/service
then you can open it & add the necessary objects.
Regards
Vishnu -
SAP CRM Multiple Backend Scenario with Solution Manager
Dear Experts,
We are implementing CRM Middleware - Multiple Backend Scenario (MEP / MBE Concept) in our client landscape for SAP CRM on HANA (Ehp3)
set-up.
And If any one of you have already implemented MEP Scenario in the SAP CRM Landscape, Could you please help us to provide with the Configuration Steps / Documents, so that we can proceed further.
Below are the following Queries:
For Customizing Adapter Object:
1) Does MEP Concept support the Customizing Adapter object to download from more than one ECC System to single CRM System.
If Yes, Could you please provide the Configuration steps or Procedure to download the customizing data.
For Master Adapter Object:
2) The Adapter objects for Master Data like Customer and Materials are technically supported under MEP for the data exchange.
However, is it possible to download the Equipments Master Data from more than one ECC System to single CRM System?
If Yes, Could you please provide the steps or Procedure to download the Equipments Master Data.
And please provide if you have done the Solution Manager Configuration mapping for MEP Scenario, which is required for the maintenance and transfer of customizing mappings to CRM and Mapbox.
Thanks,
Mohanram.Hi Alagammai,
We are also implementing CRM Middleware - Multiple Backend Scenario (MEP / MBE Concept) in our client landscape for SAP CRM on HANA (Ehp3) set-up.
Required some Information on the below Query.
For Customizing Adapter Object:
1) Does MEP Concept support the Customizing Adapter object to download from more than one ECC System to single CRM System.
If Yes, Could you please provide the Configuration steps or Procedure to download the customizing data.
For Master Adapter Object:
2) The Adapter objects for Master Data like Customer and Materials are technically supported under MEP for the data exchange.
However, is it possible to download the Equipments Master Data from more than one ECC System to single CRM System?
If Yes, Could you please provide the steps or Procedure to download the Equipments Master Data.
And please provide if you have done the Solution Manager Configuration mapping for MEP Scenario, which is required for the maintenance and transfer of customizing mappings to CRM and Mapbox.
Thanks,
Mohanram.
7829055537 -
Multiple Header line in Receiver File adapter
Hi,
I have an issue in Receiver File adapter with multiple header lines. I am able to get only 1 header lines in the receiver file but not multiple header lines with 'nl' since it is static in file mode
[CommunityTag:Header]
empNo,EmpName,Age
[CommunityTag]
I tried with the below in content conversion one as below with no luck
Root.addHeaderLine=1
Root.headerLine=[CommunityTag:Header] 'nl' empNo,EmpName,Age 'nl' [CommunityTag]
Root.fiedSeparator=,
Root.endSeparator='nl'
I am getting the Header line as same row as static text.
Can you advise this.Hi Gabriel, I suggest to produce the header lines from additional nodes in the message payload. That means you need to modify the data type of the target message in order to generate an extra structure in the payload. Use constants in message mapping to generate the header column names, e.g.
<Header>
<H1>CommunityTag:Header</H1>
<H2>empNo,EmpName,Age</H2>
<H3>CommunityTag</H3>
</Header>
In content conversion you have to convert the Header row with
Header.endSeparator='nl'
You won't need parameter addHeaderLine anymore then.
Regards, Martin -
Multiple Header Lines in Flat-File read by FileSenderAdapter
Hello XI and File Sender Adapter Species
We have the following file with fixed file lengths:
#H1 F1
#H2 F1
#H3 F1
#H4 F1
#H5 F1
#H6 F1
#D1 Field1 - Fieldn
#D2 Field1 - Fieldm
#D2 Field1 - Fieldm
#D1 Field1 - Fieldn
#D2 Field1 - Fieldm
#D2 Field1 - Fieldm
#F F1
Concrete example as follows:
#H1 150
#H2 ECH150_20070709_026745152.dat
#H3 20070709_1600
#H4 9.0
#H5 8712423010208
#H6 8712423009202
#MDDTD3 146307732 146202845 871687940006178374E70871687910000219120200707090032B 040235031 Noordkant 28 SINT ANTHONIS 5845EW 8716879000004871242300920287124230091962007070909550113533533 8716948000010501000L
#MDDTD4 59664 E10
#MDDTD4 30180 E11
#MDDTD3 146309776 146202839 871694840030212726E70871694830000000309200707090031B 0411 8 Flierakkers 21 VROOMSHOOP 7681XV 8716948000003871242300920287124230091962007070909590113533515 8716948000010503000L
#MDDTD4 3562 E10
#MDDTD4 2422 E11
#F6
This File Should be read via the File Sender Adapter and afterwards mapped into the following idoc structure:
IDOC-Type
ZUECH_010
Header Segment: H1, H2, H3, H4 , H5 ,H6
Detail1Segment: Field1, Field2 . Fieldn
Detail2Segment: Field1, Field2 . Fieldm
Detail2Segment: Field1, Field2 . Fieldm
Detail1Segment: Field1, Field2 . Fieldn
Detail2Segment: Field1, Field2 . Fieldm
Detail2Segment: Field1, Field2 . Fieldm
FooterSegment: Field1
Now my Questions:
1. As far as I know it is not possible to configure in the filesender adapter 2 different Record sets? We need two record sets, one for the header lines whose occurrences are once per File and one for the detail lines? Does anybody know if this is possible?
2. Any other ideas for a simple solution?
Thanks for a soon answer.
Regards MarliesThanks all very much for your answers:
The hint from Praveen was very helpful.
If possible we need a solution with the graphical mapping tool and as far as possible without UDF, because at the moment there is no java developer.
The file adapter now produces the following xml structure:
<ZUECH_0150>
<recordset>
<H1>
<KH1>#H1</KH1>
<H1>150</H1>
</H1>
<H2>
<KH2>#H2</KH2>
<H2>ECH150_20070709_026745152.dat</H2>
</H2>
<H3>
<KH3>#H3</KH3>
<H3>20070709_1600</H3>
</H3>
<H4>
<KH4>#H4</KH4>
<H4>9.0</H4>
</H4>
<H5>
<KH5>#H5</KH5>
<H5>8712423010208</H5>
</H5>
<H6>
<KH6>#H6</KH6>
<H6>8712423009202</H6>
</H6>
<MDDTD3>
<KMDDTD3>#MDDTD3</KMDDTD3>
<MDDTD3>146307732 146202845 </MDDTD3>
</MDDTD3>
<MDDTD4>
<KMDDTD4>#MDDTD4</KMDDTD4>
<MDDTD4>59664 E10</MDDTD4>
</MDDTD4>
<MDDTD4>
<KMDDTD4>#MDDTD4</KMDDTD4>
<MDDTD4>30180 E11</MDDTD4>
</MDDTD4>
</recordset>
</ ZUECH_0150>
I would prefer the following structure, because it fits exactly to the structure of the idoc.
That means the mapping is very simple:
<ZUECH_0150>
<HEADER>
<H1>150</H1>
<H2> ECH150_20070709_026745152.dat</H1>
</HEADER>
<MDDTD3>
<KMDDTD3></KMDDTD3>
<MDDTD3>146307732 146202845</MDDTD3>
<MDDTD4>
<KMDDTD4>#MDDTD4</KMDDTD4>
<MDDTD4>59664 E10</MDDTD4>
</MDDTD4>
<MDDTD4>
<KMDDTD4>#MDDTD4</KMDDTD4>
<MDDTD4>30180 E11</MDDTD4>
</MDDTD4>
</MDDTD3>
</ZUECH_0150>
Now my new questions:
1. Is it possible to configure the file adapter to produce a xml structure which afterwards can be mapped with a simple graphical mapping into the idoc structure?
(I can live with the suggestion from Praveen, that the header information is in each recordset but only has content in the first one.)
2. What about the MDDTD4? It is a substructure from MDDTD3. Is it possible to configure this in the file adapter?
Thanks a lot for your help and a soon answer.
Regards Marlies
Message was edited by:
Marlies Nowotka
Message was edited by:
Marlies Nowotka -
R/3 46C(IDOC) -- XI -- Flat file scenario
Hi
Is there anyone who could give me information on a R/3 46C(IDOC) --> XI --> Flat file scenario?
Many thanks!
br
GöranHi Manish
We are using a standard IDOC called PROACT.PROACT01
(We are using transaction sa38(Report RSMIPROACT) in R/3 to send our IDOC.)
First we create the technical and business systems in SLD
Second we transfer these to the repository.(I think the only thing you need to do is to update the SLD cache to get them there - Design : Integration builder --> Environment --> clear SLD cache)
Then we just use the configuration wizard(Configuration : Integration builder --> Tools --> configuration wizard) to map everything together - defining sender and receiver etc(You get the configuration wizard tool by patching XI to patch level 4 or 5).
I assume that you have made all the configurations accordingly to the XI configuration guide which you can download from the service marketplace.
This is just a hint but maybe it can give you a start.
br
Göran -
Error in IDOC(ALEAUD) to file Scenario
Hi ..
we have a client requirment were they want the ALEAUD acknowledgement in the form of file.
So we are creating a IDOC to file scenario, where IDOC is ALEAUD which is mapped to create a file in the traget system. but when we post the IDoc we get thwe following error.
*Note: have a small doubt. Can we use ALEAUD Idoc as a normal IDoc to File Scenario. because with the documents i understand that ALEAUD is a acknowledgment IDoc which is generated based on the request IDOC. but in our scenario we are manually using the structure of ALEAUD in the source system*
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_NO_REQUEST</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>ALEAUDIT IDoc cannot find request IDoc in Integration Server</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Kindly help me out .
Thanks in advance
DeepikaHello,
If you need to send the ALEADUIT back to the SAP system if the file returns a successful ack, then you will need to have a BPM with a separate SEND step to send back the ALEAUDIT.
And check this ......
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
*******Reward points if found useful
Maybe you are looking for
-
HP Sectre Ultrabook / Windows 8.1/ Can not seperate controls for ultrabook speakers from headphone jack. When I plug in headphones to the 3.5mm jack on the side there is an acknowledgment that headphones are plugged in and sound does come through, bu
-
How do i access iCloud from 4S?
how do i access iCloud from 4S?
-
ITunes store keeps declining my card
iTunes store keeps declining my card even though I have zero balance on my card and it should be okay for me to use it?
-
HP 7520 estation printer running on Vista.
Yesterday I was able to get the printer to print wirelessly but could not get the network to show on the Zeen. This morning I have lost the wireless connection and cannot get anything to print. Phone and ipad show air printer not found. Printer w
-
Sap Hana cloudshare links don't work for me-Blank page
Hi Experts, I'm working on SPS06 Hana studio on cloudshare, now while executing data generator on IE, I'm getting blank page.Though Heading of blank page says Hana login at IE bar. Actions I took so far after reading so many forums are below:- I impo