Header mapping while using IDoc as receiver communication

Hi All,
Can any one brief me with header mapping while configuring receiver determination when IDoc is used for receiver communication.
Thanks,
Govindu.

Hi,
To change the Partner Type( SNDPRT and RCVPRT ), you use Header mapping in the receiver agreement.
If you use APPLY CONTROL RECORD FROM PAYLOAD, the following values are filled from tha payload,
<i>MESCOD
MESCFT
TEST
EXPRSS
STD
STDVRS
STDMES
SNDSAD
SNDLAD
RCVSAD
RCVLAD
REFINT
REFGRP
REFMES
STATUS
DIRECT
OUTMOD
CREDAT
CRETIM</i>
Take sender from payload and take receiver from payload, are used to change the value of SNPRN and RCVPRN.
Regards,
Bhavesh

Similar Messages

  • Error in XSLT mapping while using string functions

    Hi All,
    While using tokenize() and substring-before() functions in XSLT mapping,we are getting an error.The error message is Unexpected symbol "" So while using string functions in XSLT mapping do we have to use any header functions.
    Please through light on syntax etc.,of string functions in XSLT.
    Thanx in advance,
    Lokesh Dhulipudi
    Edited by: LOKESH DHULIPUDI on Dec 27, 2007 7:32 AM

    Hi,
    Hope you have gone thru this help:
    http://w3schools.com/xsl/default.asp
    Rgds, Moorthy

  • Error while using module in receiver file adapter??

    Hi,
           I am using user defined module(for converting EBCDIC type of data to ASCII type of data)  in receiver file adapter, while running the module it is giving erors in audit log
    Exception caught by adapter framework: class com.sap.aii.af.mp.module.ModuleLocalHomeImpl0_0 can not be casted to ModuleLocalHome or SModuleLocalHome
    MP: exception caught with cause java.lang.ClassCastException: class com.sap.aii.af.mp.module.ModuleLocalHomeImpl0_0 can not be casted to ModuleLocalHome or SModuleLocalHome
    Please help.
    Thanks.
    Madhusudhan.

    hi ....Stephan
    now we are getting the below exceptions in the message disply tool audit log
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.Exception.
    MP: exception caught with message null
    Thanks,
    Madhusudhan.

  • Getting Error in SM58 and IDX2 while using IDOC from

    Dear All,
    Getting error when trying to send FIDCCP02 Idoc from ECC to PI system.
    "Basic Type 'FIDCCP02' is unknown"
    Getting the same error while trying to import metadata using IDX2 from PI side.
    All connections and distribution model are created.
    Please help
    Regards

    hey,
    I checked all config again but getting error while checking ocnsistency in BDM5 on ECC system(E1Q).
    It is failing when the messge type FIDCC1 reaches PI QA (X1Q) system and the error states
    Message type FIDCC1 is not defined
    Please check last line of below message:
    E1QCLNT001     Checks in own system E1QCLNT001          
         Message type     @08\QCheck OK@     Message type FIDCC1 is defined
         Segment filtering     @08\QCheck OK@     No segment filtering
         Conversions     @08\QCheck OK@     No conversion
         Partner profile     @08\QCheck OK@     Partner profile has been created
                                      @08\QCheck OK@     .....Port PI_QA
              @08\QCheck OK@     .....Port PI_QA
              @08\QCheck OK@     .....Packet size 0001
              @08\QCheck OK@     .....Basis type FIDCCP02
              @08\QCheck OK@     .....enhancement
         Port     @08\QCheck OK@     Port PI_QA : To PI Quality System
              @08\QCheck OK@     .....Port type: Transactional RFC
              @08\QCheck OK@     .....port version 3: IDoc record types from Version 4.0 onwards
              @08\QCheck OK@     .....Logical address (destination) X1QCLNT001
         Logical address (destination)     @08\QCheck OK@     Logical address (destination) X1QCLNT001 is defined
    X1QCLNT001     Checks in partner system X1QCLNT001          
         Check of own logical system     @08\QCheck OK@     Own logical system is X1QCLNT001
              @08\QCheck OK@     Logical system is the same as the target address
                       Message Type     *@0A\QCheck resulted in error@*     Message type FIDCC1 is not defined
    When I am clicking on error it is taking to WE81 on PI side.
    So do I need to add this message type in PI system as it is present in ECC side?
    Thanks
    Edited by: Chanakya Sharma on Dec 10, 2010 12:10 PM

  • Hiding header details while using CL_SALV_HIERSEQ_TABLE

    Hi,
    I want to hide all the column <b>headers</b> of the Master table. I am using the following code below. But both the master and slave header details are hidden. Please tell me what is wrong.
    TRY.
    CALL METHOD cl_salv_hierseq_table=>factory
      EXPORTING
        t_binding_level1_level2 = it_binding
      IMPORTING
        r_hierseq               = gr_hierseq
      changing
        t_table_level1          = it_master
        t_table_level2          = it_slave
    CATCH cx_salv_data_error .
    CATCH cx_salv_not_found .
    ENDTRY.
    TRY.
    CALL METHOD gr_hierseq->get_columns
      EXPORTING
        level  = c_level_1 " Level 1
      receiving
        value  = gr_columns_hierseq
    CATCH cx_salv_not_found .
    ENDTRY.
    CALL METHOD gr_columns_hierseq->set_headers_visible
      EXPORTING
        value  = IF_SALV_C_BOOL_SAP=>FALSE
    Thanks

    Hi,
    Do one thing.
    Before you pass the internal table to ALV ,sort the internal table and delete the duplicate entries.
    May it helps you.
    Regards.
    Deepak Sharma

  • Problem in mapping while using Do not Use SOAP Envelope

    Hi All,
    This is wrt my thread 'Removing and adding SOAP Envelope'
    I am currently working on SOAP-XI-Proxy Scenario.
    For some un avoiadable reason, I had to use the option 'DO not use SOAP Envelope' .So the SOAP Envelope came withen the payload and in the pipeline, I can see the payload prefixed by '<?xml version="1.0" ?>' .
    Now my payload looks like
    <?xml version="1.0" ?> ( no more the encoding="utf-8" notation is there)
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
       xmlns:xsd="http://www.w3.org/2001/XMLSchema"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
      <Complaint_Request xmlns="urn:******createserviceticket">
      <CaseNo>12345</CaseNo>
      <CustomerNo>12345</CustomerNo>
      </Complaint_Request>
      </soapenv:Body>
      </soapenv:Envelope>
    To accomodate the change, I also changed my request structure as
      <Complaint_Request> (My new message Type)
        <Envelope>
         <Body>
           <Complaint_Request> (My previous message Type)
            <caseNo>
            <CustomerNo>
    But I am facing problem in mapping the values to the target structure (which is a flat structure),
    as the payload doesnot start with ' ns1: ' notation any more . Even XSLT mapping is not working.
    When I am pasting the payload in the Testing Mapping Editor, the Source Node are correctly
    formed, but all come in RED . But as the root node , ie 'ns0' is not there, the value
    from child nodes are not getting mapped to the target fields.
    Regards,
    Subhendu

    Hi Joel,
    SAP says, when we use the option 'DO Not Use SOAP Envelope', the payload also contains the SOAP
    Envelope. So it is obvious that the payload wont start with 'ns0' notation.
    So I am searching for a solution, when we use that option.
    Regards,
    Subhendu

  • Mapping not using IDocs as source

    Hi,
    I wish to get some advise from you if it would be possible to do mapping wherein your data are sourced directly from an SAP R/3 table.  There is a table that contains all the data needed for your target fields. 
    In this case, no IDoc is being sent to XI.
    Given this scenario, what trigger mechanism would you suggest in order to initiate the mapping?  Is it possible to automate the trigger in XI?
    Your response is very much appreciated.
    Thanks a ton!

    Hi Jai,
    I agree with you to not connect the SAP databse tables directly. But then without RFC or IDOCs there will not be any option to get the data from SAP tables directly.
    Thus I have suggested. But from security point of view this should not be preferred. If the transaction is within the same division or may be in same company  then this could be the option.
    But ya I don't think there will be any reason to avoid RFC or IDOCs.
    As Raj have suggested we could go for own coustomized RFCs.
    Thanks for your suggestion
    Thanks
    Swarup

  • Enctype header problem while using FileUpload

    Dear fouramites,
    I am using apache commans-fileupload1.1 api for uploading file to a servlet. For the file upload to take place I am using submit button and I am placing enctype header as form attribute. Doing so I could upload the file but the problem is, when I click on other tabs in the application(which were routed to different controller servlet) the request parameters themselves were not getting passed.
    If I use javascript function to send values to servlet it could not recognize enctype header so fileupload api is throwing exception
    Can any one plz help me out to resolve this situation.
    Thanks & Regards
    Kavya Kesineni

    Dear cc,
    Thanks for trying to help me. I resolved my problem but I dont know theory behind it. I am not using struts frame work. My application uses FrontController architecture.
    By request parameters I mean Hidden form fields. Not the values of hidden fields but the parameters themselves are not getting passed to controller if I use submit button in the form. If I use java script function to set values to hidden fields, headers were not getting passed.
    I solved the problem using onsubmit.
    Thanks alot
    kk

  • Error while using idoc adaptor

    Hi,
    Can anyone explain me what does this error mean.Im doing a file to IDOC scenario
    <SAP:Stack>Error: MSGGUID 2B8185203F5911DCBF410002556AD065: Tag found instead of tag IDOC BEGIN=</SAP:Stack>
    Thanks in advance,
    Bhargav

    Hi,
    Can anyone explain me what does this error mean.Im doing a file to IDOC scenario
    <SAP:Stack>Error: MSGGUID 2B8185203F5911DCBF410002556AD065: Tag found instead of tag IDOC BEGIN=</SAP:Stack>
    Thanks in advance,
    Bhargav

  • Header Mapping in Idoc scenarios

    What is the use of Header Mapping in IDOC based scenarios?

    Hi,
    Header maping can be used to determine the destination in the interface based upon any particular field .If the field is populated with the value then that value can be used for receiver determination to send message for example you have one file that can be mapped to any one pf the multiple IDOCs then based upon the header value you can determine the destination or the IDOC goin to be used
    Ckeck this link this will help you a lot
    reg:HEADER MAPPING
    Check these links also
    Header Mapping in File to IDoc
    Header mapping while using IDoc as receiver communication
    Thanks
    Vikranth
    Edited by: Khimavath Vikranth on May 28, 2008 9:30 PM

  • Why we use IDOC adapter for IDOC as reciever?

    hello,
    Why we use IDOC adapter while using IDOC as receiver, whereas we don't use IDOC adapter while IDOC is sender?
    I am clear about why we don't use adapter for sender IDOCs.
    Thank you.
    Sarika

    Hi Sarika,
    >>>>Why we use IDOC adapter while using IDOC as receiver,
    maybe the easiest answer would be that we use
    IDOC adapter as receiver to tell the XI where he should
    send the data - there are many systems to which we can
    connect our XI and somewhere there has to be an object
    which will tell thx XI "where to" -> which RFC destination should it use
    BTW
    I believe IDOC apdater is also used as sender
    although you don't configure it in AF:
    "Once the IDoc has left the application through the RFC interface and has reached the <b>IDoc adapter</b> at the Integration Server inbound channel, the system converts it from IDoc format to IDoc XML format"
    from:
    http://help.sap.com/saphelp_nw04/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm
    Regards,
    michal

  • IDOC Acknowledgement and Header Mapping

    Dear all,
    I've got the following scenario:
    SAP 4.6C is sending many different IDOCs to XI 3.0 (SP14).
    On XI side there are several integration processes, business systems and business services receiving the IDOCs.
    I want to create IDOC acknowledgements and send them back to SAP system.
    For one integration process I was able to successfully create and send back an acknowledgement by following the steps described in the very good blog:
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    Now I want that every integration process/business system/business service is sending back an acknowledgement with the <b>same</b> logical system name (meaning "this acknowledgement is coming from XI").
    As it is not possible to enter the same logical system name for more than one process I created a receiver agreement with:
    Sender Service = the integration process
    Receiver Service = the SAP 4.6C business system
    Receiver Interface = ALEAUD.ALEAUD01
    Receiver Communication Channel = IDOC receiver channel called "Ack_IDOC_Receiver", existing in SAP 4.6C business system and pointing to this system
    Additionally I created a header mapping in this receiver agreement where I set the Sender Service to the business system of the XI system.
    Unfortunately the tests showed to me that obviously the header mapping (maybe even the whole receiver agreement) is being ignored completely as no Acknowledgement IDOC will be created. Instead I get the error message "Unable to convert sender service to an ALE logical system".
    I also played around a bit with the options "Apply Control Record Values from Payload" and "Pass Sender value from Payload" but this didn't make any difference.
    Why is the header mapping not replacing the sender service in the acknowledgement message?
    Best regards,
    Tobias

    Tobias,
    we have the same Problem.
    we´re sending with Receiving Partner "12345" and the IDoc in the target System is filled with the standard SAP Value maybe the one configured in the SDL.
    We have configured our IDOC_REceiver with a mark on "Apply Control Record Value from payload".
    If you have a look at the SAP Helpfile you will find out that some header fields are not be changeable and get the value from sap.
    like IDOC-Number, Receiving Partner and maybe the sender service ???
    Regards,
    Gordon

  • How to resolve the issue of route while creating a sales order using IDOC

    Hi,
    When I am creating a sales order mannualy the the route is correct and matching  also but while using IDOC try to create a sales order then the route is showing wrong.
    I tried to debug the program SAPMV45A but I am not getting anything.
    Could any body help me on this.
    Waiting for quick response.
    Best Regards,
    BDP

    Hi Bansidhar,
                 You need to debug the Function Module thats assigned to your Process code.
                 In standard config for Sales Order, Process Code ORDE is assigned to FM IDOC_INPUT_ORDERS. And this FM uses Call Transaction Method to create Sales Orders. SO you can  debug this FM.
               Hope this helps you solving the problem.
    Regards
    Srikanth  M

  • If I have Multiple recever R/3 systems of same idoc structure receiver?

    If I have 3 receiver R/3 systems of same recever IDOC structre...can I import only one idoc or can I import 3 idocs from 3 R/3 systems?  If I import only one idoc ..then is control record differ for other R/3 systems,.,,? Plz clarify my doubt...thanq.

    You can import one structure from the same R/3 systems so far as:
    - no modifications/extensions to the IDOC
    - you dont plan on mapping the header data in your interface mapping.
    - IDOC release is the same and as such no subtle differences in the back end systems you are working with
    Procedure
    - Import the idoc from system - also load meta data in ABAP side
    - perform all your mappings
    ***- if mappings are the same and only difference is the control record, use same mapping and disable the control record in mapping
    ***- if above (mapping same), use the same receiver determination and differentiate destination by receiver agreement/channel
    - if mappings are different use seperate interface determinations.
    sincerely,
    --NM

  • Problem With Receiver Communication (File Adapter)

    Hi,
    My SAP XI Version is 3.0 with Service Pack 7,I have a strange problem,
    I have a flat file coming from Unix system,I need to convert this into  XML and put a copy in the Archive mode and send the XML file,getting it converted into flat file format send it to the receiver.Here I have to do the content Conversion,So,I have done content conversion while configuring Sender and Receiver Communication Channel.
    I am using NFS as Transport Proctocol.So, everthing was fine when i run the scenario,after activating.The Sender communication Channel is Archiving the files.But I am unable to see any file with receiver communication channel.
    So,for this I have checked up with Adapter monitoring in Runtime Workbench. In my File Adapter My Sender as well as Receiver Communication Channels are in Green.They are mentioning that Sender Communction is sucessful and
    RECEIVER COMMUNICATION IS Sucessful but no messages processed.
    Can any one suggest what to do now.Everything is fine with Content conversion and Unix System.But my receiver is not receiving any messages.
    Should any OSS notice or patch work needs to be applied.
    Thank You,
    KishoreJ.

    Hi Kishore,
    I Guess you should first see if the file is being picked......for that do the following.
    While configuring your Sender File Adapter, let the mode be DELETE. This way, we will know if the file is being picked by the File adapter. The file will be deleted and you can be sure that it has been picked up.
    Next, look into the RWB--> FILE ADAPTER and see the log of the file adapter
    and also, you can see the flow of your message in the integration engine in SXMB_MONI.
    Ans still if your message is not showing up in SXMB_MONI, please do as explained below.
    Increase logging and trace level in:
    SXMB_ADM -> Integration Engine Configuration -> Specific Configuration
    Also create entries as follows in it:
    LOGGING = 1
    LOGGING_SYNC = 1
    TRACE_LEVEL = 3
    TRACE_LEVEL_PROPAGATION = 1
    Also refer XI: I cannot see some of my messages in the SXMB_MONI
    Regards,
    Abhy

Maybe you are looking for

  • Problem Blackberry ID with BlackBerry Classic

    Hi everyone, I have a New BlackBerry Classic and i cant confirm My BlackBerry ID on my Phone. The login via web is not a Problem. So my Device does not send me a email confirmation. If i Type my correct password in to the Phone, it does not react. An

  • Tree grid not expanding in SharePoint 2013.

    I have written a code using TB.Web.UI.TreeGrid.dll to represent data in tree grid in ShaarePoint 2010. and we have moved to 2013 with same code tree grid stop expanding giving me following Javascript error.Please suggest. TypeError: tr.style is undef

  • Data source time stamp bug

    Hi Experts, I have a process chain which extracts the master data and it failed yesterday mentioning the below mentioned bug DataSource 0PERSON_ATTR does not have the same status as the source system in the Business Information Warehouse. The time st

  • FAQ on applets???

    Where can i fond FAQ's on applets.Please send me some links . Thx much

  • Persistent applets in Netscape 7.x

    When I run my applet in Netscape 4.x,navigating to a different page cause my applet to get a stop() call, then pressing the "Back" button the applet gets a start() and I can resume the work. All the sockets are still open. Using the same applet in Ne