Doubt in Mapping

Hi,
Suppose I'm working with Graphical Mapping. Is it possible to apply Java Mapping/XSLT Mapping for a subset of fields in the source. As per my knowledge I believe it is not possible.
Please let me know your suggestions. Thank you.
Regards
Bhanu
Intelligroup.

Hi,
have u referred the link which is given by me.
U can either go for any of the mapping:
1) Graphical mapping
2) Java mapping
3) XSLT mapping
4) ABAP mapping.
based on the criticality of requirement u can go with any of the mapping.
java mapping:
refer the few of the weblog which can give u better understanding:
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
refer Mapping Performance:
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
chirag

Similar Messages

  • Doubt in mapping of fields in BDC

    Hi
    Iam presently doing on conversions realed to Finacial postings.my work in this task is "iam uploading an excel file from work station and save it in unix file,before sending into unix iam doing mapping of some financial realeted fields ".how can i map that fields.iam doing on the T9AFF Strcture it is belonfg to the finacial batch interface.
    plz give sample example and code..?
    Map the T9AFF fields as GL-GL, GL-AP, GL-AR, AP-AP, AR-AR, etc posting Use the format as in SAP (date, number, leading 0-s)
    thanks

    Use FM ALSM_EXCEL_TO_INTERNAL_TABLE
    TYPES:
    BEGIN OF ty_upload,
    field1 TYPE c length 12,
    field2 TYPE c length 12,
    field3 TYPE c length 12,
    END OF ty_upload.
    DATA it_upload TYPE STANDARD TABLE OF ty_upload WITH DEFAULT KEY.
    DATA wa_upload TYPE ty_upload.
    DATA itab TYPE STANDARD TABLE OF alsmex_tabline WITH DEFAULT KEY.
    FIELD-SYMBOLS: <wa> type alsmex_tabline.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    filename = filename
    i_begin_col = 1
    i_begin_row = 1
    i_end_col = 3
    i_end_row = 65535
    TABLES
    intern = itab.
    LOOP AT itab ASSIGNING <wa>.
    CASE <wa>-col.
    WHEN '0001'.
    wa_upload-field1 = <wa>-value.
    WHEN '0002'.
    wa_upload-field2 = <wa>-value.
    WHEN '0003'.
    wa_upload-field3 = <wa>-value.
    ENDCASE.
    APPEND wa_upload TO it_upload.
    CLEAR wa_upload.
    ENDLOOP.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Doubt on Mapping, Context handling/Node functions

    Hi Experts...
    This is the structure of a sample message that we get from Agile. BOM1 and BOM2 are two BOMs (basically a material) having BOM Items A,B,Cu2026. (basically Material components)
    PARTS and DOCUMENTS have the material related information.
    Apart from that we have certain segments inside each BOM, called REDLINES, REDLINE BOM CURRENT, REDLINE BOM PREVIOUS (not depicted below) which contains information whether the material item has been added, changed, deleted or unchanged and some more information.
    ROOT
         R1
              R2
                   BOM1                              
                   B-Item A
                   B-Item B
                    R2
                            BOM2
                   B-Item C
                   B-Item D
                      B-Item F
           PARTS
                 BOM1
           PARTS
                 B-Item B
           PARTS
                 B-Item D
           DOCUMENT
                 B-Item A
           DOCUMENT
                 BOM2
           DOCUMENT
                 B-Item C
           DOCUMENT
                    B-Item F
    The target structure has 4 different tables. One of them is a table structure called MATERIALS where we should have 7 records in this case.
    For BOM1 and BOM2 we need to pass details from inside the same node + additional info from Parts/Docs
    Same applies for B-Items.
    Qn:1
    How do I link Parts/Doc/R2 nodes  MATERIAL so that I can get 7 records?
    When I link ROOT I get one record
    When I link R2; I get 2 records (I tried changing the context to ROOT; dint work!)
    When I link Parts I get 3 records
    When I link Docs I get 4 records
    Is there a way to link PARTS nodes + DOCS nodes to MATERIAL?
    Qn2:
    Do you think that for this case we need to split the entire document to 1: n as shown below? Is there a way without splitting? Coz I have a BPM calling a sync abap proxy to post, process and return data (ya we using BPM + a Sync call!!!!)
    ROOT
    BOM1                              
         B-Item A
         B-Item B
    PARTS
         BOM1
    PARTS
         B-Item B
    DOCUMENT
         B-Item A
    BOM2
         B-Item C
         B-Item D
         B-Item F
    PARTS
         B-Item D
    DOCUMENT
         BOM2
    DOCUMENT
         B-Item C
    DOCUMENT
            B-Item F
    Qn3.
    I read from somewhere that when we use sync call; the BPM as to get a response back within 30 s, else it will fail.. is that true?
    Please help!!!!
    Thank you.
    Regards,
    Smitha
    Edited by: Smitha Madhavan on Jul 23, 2008 9:35 PM
    Edited by: Smitha Madhavan on Jul 23, 2008 9:40 PM
    Edited by: Mike Pokraka on Jul 24, 2008 1:42 PM
    Edited by: Smitha Madhavan on Jul 24, 2008 6:41 PM
    Read the "Rules of Engagement"
    Edited by: Juan Reyes on Jul 25, 2008 8:44 AM

    Thanks Kishore.
    The sample file is very very big and data is distributed and difficult to understand. The one I have provided is therefore a simplified  model of the file. Let me narrow down to one step further:
    How can we perform: if A_NUM = B_NUM; pass NAME
    to the target field from the below structure:
    ROOT
                NODE1
                            NODE2
                                        A_NUM
                NODE3
                            B_NUM
                            NAME
                NODE4
                            B_NUM
                            NAME
    Thanks in advance!

  • Purchasing cube designing, update rule mapping for 0calday

    Hi All,
       Iam designing cube for Purchasing module in BW. Iam having doubt in mapping for 0calday in update rules, is it with document date or scheduline date. I have searched in SAP cube 0PUR_C01, it is mapped with 0SCHED_DATE( schedule line date). How the difference comes when we choose document date and schedule line date.
      FYI, we are using only schedule line data source, which is giving relevant information.
    Thanks,
    Ram

    Hi Ram,
    Please note:
    0SCHED_DATE: The schedule line date is the day on which the scheduled quantity of the material is to be delivered.
    0DOC_DATE: The date on which document has been craeted.
    Use the first one for purchasing.
    Thanks...
    Shambhu

  • Catch Mapping Error in File to IDoc scenario

    Configured BPM and now learning Error Handling. I know that through BPM we can handle system Errors, but I doubt whether Mapping error is a system error.
    I am interested to know the classification of errors with examples, preferably listing out all types of errors.
    Please provide some weblogs or explain briefly how to handle system and application errors through BPM.
    Thanks,
    Raja

    Hi Raja,
    You will need CCMS if you want to send the Alerts to external system or you want to access the ALerts from the transaction. You can capture your alerts without this also.
    When you go to Alert Configuration in the Runtime Workbench you can see Create Alert Rules. These rules are pertaining to the error generated in your AF,AE or IE.
    Once you have completed the whole config. The error happening in the AE, IE or AF would trigger the alert. you can see this in your Alert Inbox.
    The best would be if you go through the URL I have mentioned below.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/content.htm
    You have to use BPM only if you want to do an activity after the alerts are raised. 
    Regards
    Vijaya
    Message was edited by: vijaya kumari

  • Using Wildcards in Mapping Script

    Hi everybody, im new in FDM and i have some doubts about mapping scripts.
    I have to recreate this Hyperion Translation Rule into FDM:
    ACC_SAP              tm_sap     Reverse Sign         UD4
    N21099Z300     {NULL}     FALSE     CD1
    D31199Z000     {NULL}     FALSE     CD1
    ????99     *     FALSE     CD
    ACC_SAP is the source account
    TM_SAP will be loaded into UD5 (as look up)
    How could i manage with a like mapping?
    I guess using a script but im not sure how to use wildcards within scripts, is it possible?
    Another related question, in a explicit mapping, how can i manage with NULL values if i want to assign them [None] value, do i have to put NULL in th source field?
    BR and thanks

    Thanks KellyDGreen. With the exampl shown is as you say but what if tm_sap has wildcards?
    F.i
    ACC_SAP TM_SAP TARGET_CUSTOM4
    999? 123? 198276
    Suppose that TM_SAP has been stored in UD5. Source dimensions are different from target dimension so i have to do it via script, dont I?
    BR
    Francisco

  • Mapping Templates

    Hi everybody.
    I´ve got a doubt about mapping templates.
    I have 4 mappings that are basiclly the same. Ive created a template and I use it in the 4 mappings.
    But I find this problems:
    There are fields that have differents mappings in the 4 mapping so I´ve gone to the mapping and have modified the mapping for this fields.
    But when a mapping for a field that is mapped the same in the 4 mappings  changes If I modifiy de mapping template and reimport de template in the 4 mapping then I´d lose the especific mappings in each mapping.
    Is this possible to solve anyway?
    Regards

    If I modifiy de mapping template and reimport de template in the 4 mapping then I´d lose the especific mappings in each mapping.
    First step should be import the template and then only you should perform specific mapping. Reimporting will always remove specific mappings. You don't have any choice there.
    Regards,
    Prateek

  • Mapping IDoc to file

    Hi,
         I am using INVOIC02 idoc at the sender side and file at the receiver side.I have a doubt in mapping.
    Mapping rule is as follows.
    map E1EDK02-BELNR if   QUALF=009  .
    E1EDK02 is the segment and BELNR is the field.
    target field is  billing doc number.
    My understanding is map belnr to billing doc number and map qualf to constant 009.
    Am i right or wrong?
    Can someone help me?

    Dear Mani,
    You suppose to use QUALF to check for the constant value of 009. And map if this is only true, This is what your requirement is.
    For this in Message Mapping take
    get
           Billing Doc Number    from target structure
           BELNR                     from Source IDOC
           QUALF                     from Source IDOC
    Use If - witout else function then map the fields like this
    you need a constant for this mapping scenario to work.
    assign 009 to constant
    Map like this:
    If  BELNR is equal to Constant(009) then ---> Billing Doc  Number
    you can use If-then-else as well
    just map with some dummy value if the condition is false.
    Best Regards
    Praveen

  • EDIDC40

    Hi
    I have a doubt about mapping. Why do we disable EDIDC 40 field when Idoc is receiver ? Do we do that always ? And when we disable it do we have to check the option " Apply control record values from payload " In the IDoc receiver communication channel ?
    Midhun

    I thought the sender and receiver systems and partner numbers info are taken from the control record of the Idoc.
    Yeah thats right when we check the option Apply Control Record Values from Payload .And control record is EDIDC40 node.
    When do we check the option so that details would be taken from EDIDC40 ? Is it when we need the data at runtime only or when there it's a receiver Idoc so that we cannot specify control record details in WE19 transaction which is
    created only when R/3 system is the sender of Idoc ?
    Receiver Idoc adapter only. When we pass the values explicitly in EDIDC40 we check it.
    Regards
    Soumen...

  • ESR &ID Info

    Hi experts,
    I have a small question. My scenario is IDOc-CSV. In ESR all the development is finshed. Iam also created CC 's also. Now i want do the reciver detemination, Interface determination, Sender agreement, reciver agreement. But i have a doubt in mapping(ESR). Is it right way to do the configurations OR after clear the mapping problem. Once i complete the tasks in ID(reciver detemination, Interface determiantion, Sender agreement, reciver agreement) part if any thing change in mapping part again anything changes could happens in ID. Give me a idea friends.
    Thanks
    Hari

    Hi Hari,
    It completely depends upon what kind of change is coming in mapping.
    For example:
    If IDOC is changed and say extention is added to IDOC. In that case, yes you will have to change ID objects also as IDOC name will change and hence the interface name will have to be changed in ID.
    If IDOC structure remains same and just field level mapping changes are there, then no change in ID objects.
    If you need to put some condition in mapping or at Receiver determination level or at interface determination level, then yes again ID objects will change.
    So as I said it is completely based on type of change.
    So if you have current mapping sheet ready, you proceed with ID objects. In future, based on type of change, you may change the ID objects if required.
    Regards,
    Gouri

  • Create callable object

    hai every one ...
    could u tell me we can create the callable object like with out any backend conection , like not using webdynpro...
    i need one callable object which contian ... 3 fileds
    name :
    num:
    des:
    submit    reject
    submit and reject are as button how to create this ....
    3 fileds are input fileds ..

    hai thanks for giving reply..
    yes u are saying is right . what i did is output1 consolidate with input1 it giving Group.
    And agisn i selected output1 which is in group and consolidate with input2 ..
    here when i ever save it input2 is mapped with any output..
    my doubt is mapping of one element with other input fileds of two other applications ..

  • SAP PI7.1 File to RFC  to File

    Hiiii,,,
    i have doubt in mapping related to file to rfc to file scenario...
    i have  a source message type i have two field name  ( 1.field_name  2.table_name)...i have to map this two fields to RFC_READ_TABLE function module to the field query_table and field_name...how to map this...
    With Regards.....
    Dinesh

    Hi Dinesh,
    i have one data type in source with two fields (1.table_name 2.field_name).
    .i mapped this to target RFC_READ_TABLE to the parameter query_table and fielname in that function module
    Please let us know if you have any mapping rules for creating the mapping, i mean
    what  are you trying to fetch from the RFC, what are the values you are sending and
    what you want in response.
    Its based on your requirement and you need to decide which field is to be mapped
    to RFC structure.If you are getting error while testing , please let us know.
    Also ensure that your RFC Function module is working when tested in sap system.
    Go to Se37 and enter your Fn module name and test with the valid inputs.
    check if its outputting the desired values.
    Regards,
    Srinivas

  • BPM - doubt in N:1 mapping of IDOCs

    Is there any DETAILED document on Mapping multiple Idocs into a single Idoc package using BPM.My doubt is in the latter part in this process(During Receiver Determination) :
    Scenario : CRM->XI->R3
    We will download the CREMAS03 and then make changes in the xml so that it can hold multiple IDOCs.
    and then we will be collecting the Idocs(say 3 idocs at a time)...that is, appending the IDOCS(CREMAS03) into a multiline container of type CREMAS03.
    In the transformation step, the multiline container containing CREMAS03 IDOCs is transformed to IDOC PACKAGE(N:1 Mapping).
    In Integration Directory,We will create 2 RECEIVER DETERMINATIONS :
    1.CRM->BPM :
    Receiver Service  :BPM Object
    Inbound Interface :CREMAS
    Interface Mapping :Maps the Outbound interface (vendor_out_interface) to CREMAS(Abstract Asynchronous)
    2.BPM->R3 :(I have my doubt here!)
    Sender Service     : CREMAS_COLLECT_PACKAGE(BPM Object)
    Outbound Interface : CREMAS_package(Abstract Async, Message is the modified Multi-CREMAS PACKAGE)
    Receiver Service   : R3
    Inbound Interface  : CREMAS.CREMAS03
    Interface Mapping  : NONE (WHY is that No Interface mapping is needed ???...Please elaborate)
    1.HOW will the XI engine MAP the CREMAS_package to CREMAS.CREMAS03 at the end of BPM PROCESS ?
    2.In BPM we have Transformed the individual Idocs into a IDOC Package BUT then at BPM->R3 Receiver Determination WHY are we mapping the CREMAS Package into Individual CREMAS Idoc ??
    3.Does the R3 receive the IDOCs as a Package OR does it receive it as individual Idocs ?And when we say a Package does it mean it will contain 1 Control record & multiple Data Records(EDID) ??
    4.If the R3 receives the IDOCs as a PACKAGE, THEN How does the R3 System separate the Idocs into Individual Idocs ??
    Is there any specific configuration in the partner profile at the R3 side to process A IDOC package ??.
    5.Also when I compare Posting Function Module IDOC_INPUT_CREDITOR and IDOC_OUTPUT_ORDERS , It seems that IDOC_INPUT_CREDITOR    can process multiple Idocs at a time while IDOC_OUTPUT_ORDERS CAN process only ONE IDOC at a time.Am I right ?)
    It would be great if someone has the patience to give a detailed reply.Looking forward to the reply !!
    Thanks,
    Arun.

    Hi Arun,
    You dont need a BPM for ur requirement. All you need to do is IDOC Message pacakages. where the IDOC are sent as a single package. here is the link to the page that details on hwo to do idoc packaging.
    http://help.sap.com/saphelp_nw04/helpdata/en/99/2653429392ab53e10000000a1550b0/content.htm
    you also refer to Michals weblog on IDoc pacakaging. But the approach i have jsut mentioned to you is more efficent and the one suggested by SAP. Michel was supposed to write one more weblog describing this approach.
    Cheers,
    Naveen

  • ABAP Mapping doubt

    Hi.
    I'm trying to do an abap mapping. I've read weblogs from Robert Eijpe. The samples contained in the weblog worked fine but i have a doubt.
    ABAP class had a parameter called SOURCE. This parameter contains the XML but i think is contained in only one line. In the sample weblog, the XML is contained in an internal table.
    Question is ... how can i transform this SOURCE of 1 line into an internal table?
    Thanks.

    Hi Inigo,
    Please look at this..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/frameset.htm
    Hope it helps you!
    cheers,
    Prashanth

  • Doubt in Multi mapping

    Hi
    Suppose i want 1:2 transformation. Both the destinations are of the same type. (say two database tables have to be updated int he receiver end, )
    1. I can create one business service with two receiver interfaces. And go for multimapping.
    or
    2. I can create 2 separate business services for the two target interfaces and proceed in the usual way.
    I would like to know when to go for multi mapping in terms of configuration.

    Hi Aarti,
    You can go through these two blogs for clearing doubts on Multi mapping
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Pravesh

Maybe you are looking for

  • Average of the column in ALV report

    Hi,   I am working on an ALV report and for one of the column, i am calculating the average with fieldcatalog property do_sum = 'C'. I am sorting the output table for 2 fields and whenever I am expanding/compressing the sorted fields the average of t

  • How to look at my bill on a closed account?

    I left verizon to anothercarrier last month. i called o close my service and asked what my bill would be. they said they would calulate it and send me the bill. i tried to go online or into the app to see the bill but everything was closed. to my sur

  • Media Manager won't load

    I just got a new curve 8320 and I've installed the Blackberry Desktop Manager v 5.0.1.18 It connects to my BB fine via usb cable but in Add/Remove Applications, it comes up blank with the message "No software is available for your device". Also, when

  • I am trying to get a 8500a connected over wireless but it is not linking to d-link router dir-615.

    The printer connects to the same router via wired port but will not get a valid address using wireless.  IP address is 169.254.140.246 in the wireless network test report even though everything is labeled PASS This question was solved. View Solution.

  • WBS report plz help

    actually i just want see the WBS report in both CAN$ and USD together. can i do it ? whr can i see the report in both the currency? bacuase whe i try to pull standard report (actual/plan/variance) it show different amount in CAN $ whichis wrong and i