EDI Mapping using Gentran
Hi Friends,
Please give the information on Gentran Mapping of EDI messages using Application Integration or Visual Mapper
Regards,
Nitin Patil
Hi ALL,
Could you please send any document for Gentran mapping.
My email id is [email protected]
Thanks
Martin
Similar Messages
-
Some one guide me in EDI Mapping with Gentran.....for Unix
EX 856
RameshI need Application integration Mapping guied line,,,,any helping documents (rules and steps) or guide or screen shots .....at present i need to do 856 mapping as soon as possible....any help is rewarded max,,,,,,Ramesh
or Documents can send to my mail id [email protected]
Note: Max points will rewareded for your help
Ramesh -
Generating IDoc DDF structures for EDI mapping
Hello all,
I am looking for a way to generate IDoc DDF structures to use them in the EDI mapping in Gentran.
I was able to find one on ERPGenie.com (developed by Kevin Wilson) but it is only available for ECC 4.x. We are on ECC 6 and the program gives me an ABAP dump when I try to run it.
Does anyone have the fix for this code? Or perhaps another way to accomplish this task?
Actually, I am only interested in generating the MBGMCR02 IDoc
Thanks for your help
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 7, 2008 12:36 PMIt's been a long time since I have done any IDOC processing.
Go to SE37 and enter the function module IDOC_INPUT_ORDERS. Display the source code. Search for "CALL CUSTOMER". You should see several "CALL CUSTOMER-FUNCTION" lines. These are enhancements where you can manipulate the IDOC data. If you locate the correct one (where the data is read from the IDOC but not yet validated), you should be able to map the partner function value. Double-clicking on the number in quotes will bring you to an "EXIT_" function module. A "ZX" INCLUDE program is referenced. If you haven't used the exit yet, double-clicking on the ZX INCLUDE will create it. The values passed into the function module are available in the INCLUDE.
Ideally, you should create a project in transaction CMOD that references the chosen enhancement. This way you can activate/deactivate without commenting/uncommenting the code in the INCLUDE. -
Seeburger Mapping Designer - Gentran
Hi Experts.
I have an Scenario EDI to Flat file , I'm using Seeburguer to convert file to XML and viceverse...
I use the mapping EDI ???_E2X_Ansix12_204_V4010 to convert the file to XML , The EDI Files has an element wich Length is 2 but on Seeburguer Mapping the value minimal is 3 so the EDI is not converted.
Also I use Gentran system in this case Gentran pass the EDI but send and soft Error about that.
Seeburguer has any similar option ?Luis,
Seeburger has given the standard mappings based upon the EDI schmea standards. So if the lenght is 3 in the standard and if your partner sends 2 then it is the problem with the partners file. You can tell him to change according to the standards.
If he cannot do it then you need to change the standard mapping for 2 and deploy the sda files once again.
For your question: there are no hard and soft errors in seeburger. Only error is error. It fails in RWB and from there your alert can pick up.
Regards,
---Satish -
EDI Integration---Using Seeburger Adapter
Hi All,
I have a below requirement.
EDI----->XI--
>SAP and vice versa.
I am new to EDI integration,i would like to know the procedure steps to do the above scenario.
Thanks in advance,
AVRHi,
How you want to communicate with the EDI system... If it is using AS2 adapter, then you need to purchase it from seeburger and configure it in the sender side and receiver side it'll be Idoc adapter. And in the ESR you need to import the xsd of EDI document under external definitions and map it to the idoc.Please refer the below links it may help you.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10b17369-9522-2c10-84a6-d75d8a8ace22
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=221354005
http://wiki.sdn.sap.com/wiki/display/XI/SeeburgerSuiteforSAPPI
Handling EDI interfaces using Seeburger BIC modules
Regards,
Priyanka -
Dear SAP Friends,
My client has planned to develop a program to convert SAP payment run data (F110 for Checks only) to EDI 820 format.
I have some points to know the information about EDI 820 format for the following segments to map them to SAP tables and fields.
I didn't' find the fields to map these segments in tables PAYR, REGUH, REGUP which are used while payment run.
BPR10 - Originating Company Id - (Tax ID code preceded by a 1 to be assigned by your implementation manager)
What exactly this ID means and where to find in above tables or is there any other way for this to be mapped?
REF02 - Corp Id - Populate with signature ID number to be assigned by Bank.
Where to find the table and field for this in SAP and where to map in the which table, to get it automatically populate in F110 run.
REF02 - PC Id - The following list contains the delivery options available: US US Mail / FX Federal Express / UP UPS / AI - Airborne.
Is this the way to deliver the checks for payments from the bank. How to map this too.
My client does not want to hardcode anything because to use this program for some other company codes as well.
I will really appreciate your responses.
Thanks and Regards,
PaulHi,
>>I searched a lot about the configuration details of the Seeburger adapters like AS2 and SFTP but could not find anything good,can you please provide me the same
When you purchase the third party adapter from seeburger you'll get configuration guide which will giv you the clear idea of cofiguring.
>>where and how to use AS2 and SFTP?What is VAN?Is it an alternative to AS2 or SFTP
The AS2 protocol is internally based on HTTP.AS2 uses two different message types: the actual payload message and the Message Disposition Notification (MDN). The payload message encapsulates an EDI file so that it can be transmitted via HTTP. The purpose of the MDN is to acknowledge the receipt of a payload message.
http://www.edibasics.co.uk/
>>What are certificates in Seeburger
certificate information required for encryption and signing
Refer these links it may help you
Re: Seeburger BIC Mapping Designer: Special Character (German Umlaut) Problem
SEEBURGER integration using PI: BIS, BIC, AS2 Adapter, FTP ?
Handling EDI interfaces using Seeburger BIC modules
http://wiki.sdn.sap.com/wiki/display/XI/SeeburgerSuiteforSAPPI
Regards,
Priyanka
Edited by: priyanka.anagani on Dec 26, 2011 7:22 PM -
Hi,
As my client is implementing EDI through a trusted link, they had asked me to take care of the mapping section along with the development of interfaces.
As generally the middleware or translator people would do the mapping processes, it is totally new for me.
Please advise me in this regard where to start and what is the my job into this.
Do i have to map the incoming or outgoing edi standards to idoc segments.
If so, what are the all things i need to know and do.
As i have ample time, it would be nice for a quick start into it.
Please help me in this regard.
Thanks in advance,
Anandh.B
Points would be awarded for everyone ............Anandha,
As you mentioned, EDI mapping is typically done using a middleware tool or EDI Translator. Are they asking you to do mapping in ABAP or is there another tool you are going to use?
If you are going to write ABAP programs to do your mapping you have a big challenge ahead of you. You will need to become familiar with whatever EDI standards you will be mapping from. These standards will have the layout of the messages that you will receive.
If you are going to code all of this in ABAP you don't necessarily have to go to IDOCs however it can be very helpful when loading data. By using SAP's IDOC technology and processing you have better traceability into the transaction posting in your system.
In general this is what you will probably need to know:
1. Which EDI messages you will need to translate
2. Which IDOC types those messages correspond with
3. The structures of both the EDI messages and IDOCs
4. Setup of SAP IDOC system. (Execute area menu WEDI from the main screen in SAP)
5. Set up of the application data for IDOC processing - particularly in the outbound - which partners will be recieving which messages
I am sure there is a lot more but this will hopefully get you started.
Chris -
How to reconcile procedure or function in a mapping using OMB Plus?
HI,
Could any one please explain, how to reconcile a procedure or function used in a mapping?
Thank you,
Regards,
Gowtham Sen.Hi,
You can only reconcile Inbound (from Procedure to the mapping) :
OMBRECONCILE PROCEDURE \
'/[Project_name]/[Module_name]/[Procedure_name]
TO MAPPING '[Mapping_name]' \
OPERATOR '[for example name of a Post-Mapping Process in the mapping]' \
USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')
Hope that will help.
Best Regards
Samy -
Reg - XSLT Mapping using stylesheet exception during test
Hi experts,
I am new to SAP PI. Currently i am working on PI's XSLT Mapping using Stylusstudio.
I got error *Transformer Configuration Exception occurred when loading XSLT <name>.xsl; details: Could not compile stylesheet*.
I tried test by selecting SAP XML TOOLKIT too, then i am facing
*com.sap.engine.lib.xml.parser.NestedSAXParseException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'a' is not mapped to a namespace (:main:, row:4, col:15)(:main:, row=4, col=15) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'a' is not mapped to a namespace (:main:, row:4, col:15)*.
Kindly help me to overcome this issue.Hi,
Simply your XSLT file is not a well-formed XML. Check your syntax. You could also use the XML Tools plugin to Notepad++ to help you determine where the syntax error is precisely.
Moreover, this error "Prefix 'a' is not mapped to a namespace" might mean that you are using a tag: <a:something>, but "a" is not properly declared as a namespace, for instance like: xmlns:a="something.sap.com".
Hope this helps,
Greg -
Hi,
I have a scenario in which i have to do a N:1 mapping using XSLT.
I am doing this using the BpmPatternCollectMultiIf giving the XSLT mapping in the transformation step...
But, the transformation step is returning the following error:
Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
My XSLT mapping is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<item xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<KEYCODE>
<xsl:value-of select="ns0:Messages/ns0:Message1/fsxml/item/keycode"/>
</KEYCODE>
<DESCRIPTION>
<xsl:value-of select="ns0:Messages/ns0:Message1/fsxml/item/description"/>
</DESCRIPTION>
<CLASS>
<xsl:value-of select="ns0:Messages/ns0:Message1/fsxml/item/class"/>
</CLASS>
<ONE>
<xsl:value-of select="ns0:Messages/ns0:Message2/test/row/one"/>
</ONE>
<TWO>
<xsl:value-of select="ns0:Messages/ns0:Message2/test/row/two"/> </TWO>
</item>
</xsl:template>
</xsl:stylesheet>
Here,<b> fsxml</b> is the first message and<b> test</b> is the second message.
Kindly let me know if there is any problem in the XSLT mapping.
Thanks in advance,
Thanks,
Karen PereiraHi,
There was problem in the XSLT mapping. i figured it out and fixed it and the scenario worked.
The new mapping was as follows:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<item xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<!-- Mapping for tags which are to be directly replicated in the target message-->
<KEYCODE>
<xsl:value-of select="ns0:Messages/ns0:Message1/fsxml/item/keycode"/>
</KEYCODE>
<DESCRIPTION>
<xsl:value-of select="ns0:Messages/ns0:Message1/fsxml/item/description"/>
</DESCRIPTION>
<CLASS>
<xsl:value-of select="ns0:Messages/ns0:Message1/fsxml/item/class"/>
</CLASS>
<ONE>
<xsl:value-of select="ns0:Messages/ns0:Message2/test/row/one"/>
</ONE>
<TWO>
<xsl:value-of select="ns0:Messages/ns0:Message2/test/row/two"/>
</TWO>
</item>
</ns0:Message1>
</ns0:Messages>
</xsl:template>
</xsl:stylesheet>
Thanks,
Karen -
Error: 1:n multi-mapping using BPM for file to file scenario
Hi. Iu2019m trying to do 1:n multi-mapping using bpm scenario. I use file to file. Input file consists of many records and then I want many record to be transformed into many file at target system. I follow step in http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/. However, I have a problem when file is retrieved in to XI. It doesnu2019t create any output file.
When I look at SXMB_MONI, it shows u201CNo object type found for the message Check that the corresponding process is activated.u201D Besides, it shows error message "Unable to perform action for selected message" when i clikc at PE in SXMB_MONI.
I have check at many previous posts with the same error message but still couldnu2019t solve it. I already activate my BPM and check that status in SXI_CACHE = 0. There is noting left in change list of my IR and ID.
Here is my design and configuration.
IR
Data Type: DT_file_split -> for both input and output file
Message Type: MT_file_split_sender, MT_file_split_receiver
Message Interface: SI_file_split_in, SI_file_split_out, SI_file_abs_source, SI_file_abs_target
Message mapping: MM_file_split for mapping MT_file_split_sender with MT_file_split_receiver
Interface mapping: OM_file_split
u2022 Source = SI_file_split_out
u2022 Target = SI_file_split_in
u2022 Mapping Program = MM_file_split
BPM following this link http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/.
ID
Import my Integration process
2 Communication Channel for getting input file (CC_File_split_sender) and creating output file (CC_File_split)
2 Receiver determination:
u2022 Source system to BPM using interface SI_File_Abs_source
u2022 BPM to target system using interface SI_File_Abs_target
1 Interface determination:
u2022 from source system to BPM
u2022 Sender interface: SI_File_Split_Out
u2022 Receiver interface: SI_file_abs_source
1 Sender Agreement
u2022 Commu. Component: Source System
u2022 Using interface: SI_File_Abs_source
u2022 Sender Communication Channel: CC_File_Split_Sender
1 Receiver Agreement
u2022 Sender Communication Component: BPM
u2022 Receiver Communication Component: Target System
u2022 Receiver Interface: SI_File_Split_In
u2022 Receiver Communication Channel: CC_File_Split
Anyone know how to fix this?
Thanks,
PavinHi,
Yes, thats the problem.
You are creating file from test tab of 1..N mapping .
In case of 1..N mappping in mapping Extra tags of messages are addded to the data.As shown here:-
Messages
Message1
MessageType
When you use this mapping to generate xml message then it will add additional tags for <Messages> and <Message1>, which is not correct. it should only have structure of you MT.
So remove start and end tag of <Messages> and <Message1> from your data file. Mentioned below in bold.
<xml......>
<Messages>
<Message1>
<MT_...>
</MT_...>
</Message1>
</Messages>
This should solve your problem.
Regards,
Sami. -
Create Attachment within Graphical Mapping using UDF
Hi!
We want to create an attachment witihn a graphical mapping using an UDF function.
I use that function:
public String addAttachment(String filename, String mimeType, String content, Container container) throws StreamTransformationException{
BASE64Decoder decoder=new BASE64Decoder();
try {
GlobalContainer globalContainer = container.getGlobalContainer();
OutputAttachments outputAttachments = globalContainer.getOutputAttachments();
Attachment attachments = outputAttachments.create(filename, mimeType,decoder.decodeBuffer(content));
outputAttachments.setAttachment(attachments);
return "Adde1: "+filename;
} catch (Exception e) {
return e.toString();
(SDN helped me much in creating that
This function has no compiling errors, anything workes fine:
It takes 3 input-parameters, see also: http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/OutputAttachments.html
filename (ok, more or less contentID)
mimeType (more or less contentType)
content: Base64-encoded String which should be set as content
In my sample I use the following constants for that function:
filename = "fn1.txt"
mimeType="application/xml"
content = "UG9seWZvbiB6d2l0c2NoZXJuZCBhw59lbiBNw6R4Y2hlbnMgVsO2Z2VsIFLDvGJlbiwgSm9naHVydCB1bmQgUXVhcms=" --> cames directly from http://de.wikipedia.org/wiki/Base64
When using the message, I got this error within SXMB_MONI:
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not queue receive for
message 0022642d-b106-02df-8e8c-f41c243bd112(INBOUND). Reason: java.lang.NullPointerException: while trying to
invoke the method com.sap.aii.af.sdk.xi.lang.Binary.getBytes() of an object returned from
com.sap.aii.af.sdk.xi.mo.xmb.XMBPayload.getContent()</SAP:AdditionalText>
This looks pretty much the same as Add Attachment from ABAP Mapping but this tread is also not answered.
Adding attachment from PI level looks also in that direction, again, no answer.
So, I was wondering if someone has solved such problem?Hi Divyesh!
We did it that way:
1. Choosing the XML-Mailstructure as Destination as described in Configuring the Receiver Mail Adapter - Advanced Adapter Engine - SAP Library - Example (XI payload with mail package)
2. now we have created a UDF for creating the "content"
public void getContent(String[] text, String[] attFname, String[] attType, String[] attContent, ResultList result, Container container) throws StreamTransformationException{
// vergleich ob alle att-Arrays selbe anzahl haben
if (attFname.length!=attType.length || attFname.length!=attContent.length) {
result.addValue(Integer.parseInt("Fehler: alle Attachment-Eingänge müssen die selbe Anzahl an Elementen haben!"));
String CRLF = "\r\n";
String output="This is a multi-part message in MIME format."+CRLF+CRLF+
"--"+getBoundary(container)+CRLF+
"Content-Type: text/plain; charset=UTF-8"+CRLF+
"Content-Disposition: inline" + CRLF + CRLF +
text[0]+CRLF;
for (int i=0;i<attFname.length;i++) {
output+="--"+getBoundary(container)+CRLF+
"Content-Type: "+attType[i]+"; name="+((char)34)+attFname[i]+((char)34)+CRLF+
"Content-Disposition: attachment; filename="+((char)34)+attFname[i]+((char)34)+CRLF+
"Content-Transfer-Encoding: Base64"+CRLF+CRLF+attContent[i]+CRLF;
output+="--"+getBoundary(container)+CRLF;
result.addValue(output);
This UDF is configured as "QUEUE"
We have configured this input-structure
The Content itself is allready base64.
So we can call this mapping and it creates a Multipart-Mail for us. -
Is it possible to do message mapping using different namespace message type
Hi all,
Is it possible to do message mapping using different namespaces message types
Example :
i am having message type MT_1 in namespace http://sap.com/abc
and second message type MT_2 in namespace http://partner.com/xyz
so MT_1 can be mapped with MT_2 or not having different namespace.
ThanksRead through my reply in this thread for Defining Software component dependencies.
Though it explains this for Improted Archives, it also holds true for Message Types to be used in message mappings.
Re: Payload Extraction
Regards
Bhavesh -
How to test ABAP mapping used in a Integration Process node
Hi,
anyone can suggest me how to debug an ABAP mapping used into a transformation node belonging to an Integration Process ?
Thanks.
FrancescoHi, Francesco.
I've debugged ABAP Mapping with SXI_MAPPING_TEST transaction.
If you have creted a scenario including your ABAP Mapping, you only hace to put the correct sender/sender interface and receiver/receiver interface. You have to put some XML document as an input.
I wrote in my code the Break-point instruction an debugged the process without problems.
regards,
Francisco -
JAVA mapping using SAX parser adds extra tags
Hi,
We are using java mapping using a SAX parser.It works well in standalone application ie it parses correctly and gets our desired xml structure and the xml is well formed too but when we import it in XI as a jar file it does not throw any errors but adds extra start tags, as a result the output xml is not well formed.XI is adding extra start tags.
If any one else has faced a similar situation please help.
Regards,
Anirban.Hi Roberto,
Thank you for the response.
As I said, it doesnt throw any error. It is working perfectly in standalone application. But when we deploy it to XI Server, it is not forming the well formed XML. We too are puzzled by this situation.
Okay, i will explain my scenario here.
The following is my input XML to the java pgm..
<Header>
</Header>
<Body>
</Body>
<SubBody1>
</SubBody1>
<SubBody2>
</SubBody2>
<SubBody3>
</SubBody3>
<SubBody4>
</SubBody4>
<Trail>
</Trail>
The desired output is
<Header>
<Body>
<NameChanged1>
<NameChanged2>
<SubBody3>
<SubBody4>
</SubBody4>
</SubBody3>
</NameChanged2>
</NameChanged1>
<Trail>
</Trail>
Just look at the SubBody2 and SubBody1 node, its tag name has been changed in the output XML. Thats y i have decided to use java mapping instead of message mapping.
I have developed the code for everything, i.e for changing the tag name and for forming the nested xml and it is working fine as a standalone application. But while deploying it to XI, the output is not well formed. I dont know the reason for it. Even I have checked the cardinality of the output Data types, that I have created. Its perfectly okay with all.
Any Ideas???
Regards,
Anirban
Maybe you are looking for
-
Question about Mini-iPod being full......
How do you know when your Mini-iPod is full? Will the screen say so? I have a problem with transferring songs and I'm wondering if the iPod being full is the reason why it's not transfering. Right now it's has about 480 songs (it's supposed to hold 1
-
Field-Symbols to get field contents from a different program
Hi All, I have seen code like this in some programs. clear: field. move '(SAPLIQS0)VIQMEL' to field. assign (field) to <fs_qmel>. Does this mean that the contents of the field VIQMEL in program SA
-
Hello, I am getting problem while doing TM01 (creation of Fixed deposit) I have created my own company code and also made a new business partner. when I am creating a scenerio of investment in FD hrough Tcode - TM01 and using the business partner sy
-
Material Group before Accounting in ME51N
Hi Folks, Is it possible to get an error message if material group is not entered before entering anything else as it is in ME21N? The reason is that we have gl accounts defaulted for material groups, and if you enter another gl account before enteri
-
Hi there, I thought you (Palm Aficionados) would have a post on this subject but when I searched I got nothing so here goes... I LOVE my palm already and now I discovered eBooks. I love that my fave book is on my phone! How cool is that, I can nev