Problem in modifying control record

Hi All,
My scenario is Purchase order to Sales order. Once PO is created IDOC will be created and that idoc will be taken as source and i will be modifying the idoc in abap mapping as per requirement.
All the segements are being modified and getting updated in IDOC but when i am trying to change the control record its not getting reflected in the r/3 but when i check in moni before comming to r/3 the xml struture has changed as per my requirement even for control record also but while comming from XI control record is not getting changed.
I would like to change senderpartner and sender partner type in control records.
every configurattion steps has been done  correctly.
Would request your experiences if you would have faced any this type of situation in your projects.
Thanks in Advance.

Apply Control Record Values from Payload
If you set the indicator, the conversion of communication parties to the IDoc partner is only possible for systems that are not logical systems.
If you do not set the indicator, all combinations of communication parties and services are handled as services without party.
If the IDoc XML structure contains a control record during outbound processing on the Integration Server, it is rejected and created again by the IDoc adapter. If you want to include additional values in the control record, set the indicator and provide an appropriate mapping for the values.
http://help.sap.com/saphelp_nw04s/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm

Similar Messages

  • Modify control record and send out to external (TAMA) system using ALE

    Hi All,
    I have a scenario to send idoc from ECC 5.0 to 3.1R/3 and then to TAMA system (external system-through TRFC)
    In the inbound process code of 3.1R/3, I have to write a custom FM to modify the control record and point to TAMA system and then send it out to TAMA system.
    Has anybody got idea about this and what function module need to use for modifying the control record and send it out. Any help is really appreciated
    Thanks
    Ricky

    Hi Ricky,
    To access IDoc data and modify it in your custom FM, you could investigate the following FM's:
    EDI_DOCUMENT_OPEN_FOR_PROCESS
    EDI_SEGMENTS_GET_ALL
    They should allow you to access the EDIDD, EDIDC tables.
    The IDoc related functions are contained in the function group EDI1, it may be helpful to start from there.

  • Modify control record and send out to external (TAMA) system

    Hi All,
    I have a scenario to send idoc from ECC 5.0 to 3.1R/3 and then to TAMA system (external system-through TRFC)
    In the inbound process code of 3.1R/3, I have to write a custom FM to modify the control record and point to TAMA system and then send it out to TAMA system.
    Has anybody got idea about this and what function module need to use for modifying the control record and send it out. Any help is really appreciated
    Thanks
    Ricky

    Hi Ricky,
    To access IDoc data and modify it in your custom FM, you could investigate the following FM's:
    EDI_DOCUMENT_OPEN_FOR_PROCESS
    EDI_SEGMENTS_GET_ALL
    They should allow you to access the EDIDD, EDIDC tables.
    The IDoc related functions are contained in the function group EDI1, it may be helpful to start from there.

  • Problem in Modifying the records

    Hi all,
    I have a button "Find", when the button is Pressed, I've to query the records and modify the records. I have to modify only the "Reading" Column in only one row.
    It is querying all the records successfully (here retrieves 10 records) but when I modify the Reading value in one Row, all the 10 records are inserting as new row. Am not able to update.
    Please suggest me with the solution.
    Regards,
    Mini

    Hi Mini
    Sounds Strange and i think the problem resides in ur design of code in Find Button So i suggest to Share us the Code pls.
    Well ,for now u can try to use ...
    IF :system.current_record THEN
    END IF;Hope this helps...
    Regards,
    Abdetu...

  • Problem with IDOC Control Record

    Hi All,
    mine is File to Idoc scenario, everything is fine, but Idoc is posted with 56 status.Even I'm giving control record at Mapping and check the option at Idoc adapter "Apply control data from payload". Sender port is not populated at Idoc and Sender and receiver partner numbers are taken other than what I had provided at mapping. Can any one explain what can I do now.

    Hi Ajay,
       It depends whther u wnt to go for automatic filling of control record or filling it from the payload.
    In the first case, it will fill the control record with the ALE config u hv done i.e. partner profiles and port defn in we20 & we21.
    In the second case also, it will do exactly the same, but in this case there shud be a corresponding ale config to wht u r filling in the mapping. The sender, receiver ports, partners, msgtype values populated in mapping shud be exactly same as tht in ur ALE config.
    So, in ur case, compare the values filled in the mappin with tht of the ALE configuration.
    Regards,
    Akshay

  • Problem in modifying existing records in dbtab

    Hi Experts,
    I am doing a report where I have created two dbtab's , one for data getting saved and
    other for fetching data and modifying exsiting records..
    For eg - let ZABC be the table where I need to insert or update records and ZXYZ is the table where
    I need to fetch and modify existing records.
    Now my probelm is :
    In case of inserting new records (multiple records ) into my dbtab ( ZABC ) its working ,
    but modifying existing records in another dbtab (ZXYZ ) its not wroking !! plz advice !!
    If my select querry for modifying exsiting records is:
    SELECT *  FROM ZXYZ  INTO TABLE ITAB WHERE MATNR EQ S_MATNR.
    *****then its inserting a newline along with the existing records.
    but when my querry is,
    SELECT single *  FROM ZXYZ  WHERE MATNR EQ S_MATNR.
    then its modifying the existing records, but only the first record.
    Loop at itab.
    if sy-tabix  = 1.
    zabc-matnr = matnr.
    zabc-idnrk  = idnrk.
    zabc-budat = s_budat.
    zabc-menge = menge1.
    ZXYZ-menge = ZABC-Menge + MENGE1.
    ZXYZ-BALC  = ZXYZ-Menge   -   MENGE1.
    ELSEIF sy-tabix  = 2.
    zabc-matnr = matnr.
    zabc-idnrk  = idnrk.
    zabc-budat = s_budat.
    zabc-menge = menge2.
    ZXYZ-menge = ZABC-Menge + MENGE2.
    ZXYZ-BALC  = ZXYZ-Menge  -  MENGE2.
    ELSEIF sy-tabix  = 3.
    zabc-matnr = matnr.
    zabc-idnrk  = idnrk.
    zabc-budat = s_budat.
    zabc-menge = menge3.
    ZXYZ-menge = ZABC-Menge + MENGE3.
    ZXYZ-BALC  = ZXYZ-Menge   -  MENGE3.
    ENDIF.
    INSERT ZABC.
    IF SY-SUBRC EQ 0.
    MODIFY ZXYZ.
            IF SY-SUBRC = 0.
              MESSAGE : I002 WITH 'RECORD CREATED'.
                ENDIF.
    ENDIF.
    Please advice
    Karthik
    Edited by: Karthik R on Aug 24, 2009 9:42 PM

    Hi,
    This is because in the second case you are not selecting records into an internal table.
    As a result only the first record which satisfies the where condition is fetched.
    Check if the program goes into the loop when you write second select query.
    KR Jaideep,

  • Strange Problem.. File to Idoc... RCVPOR is missing in control Records.

    Hi All,
    File to Idoc:
    Sender :
    Party : PT_ABC
    Business Service : BS_ABC
    Note : I provided the LS name(PARTABC) for BS_ABC Under Adapter Specific identifiers.
    Receiver :
    Business system (Without party) : BS_DEV_R/3
    In the IDOC receiver communication channel, I enabled the options
    -Apply COntrol records from Payload
    -Take sender from Payload
    -Take Receiver from Payload.
    Note : When i won't enable the above three options in IDoc RCV channel... Message is not processing and showing error as "Unable to convert the sender service BS_ABC to an ALE logical system..!"..
    File is picked and message processed and when i checked in SXMB_MONI,Idoc control records are showing clearly like below.
    - <EDI_DC40 SEGMENT="1">
      <TABNAM>EDI_DC40</TABNAM>
      <DIRECT>2</DIRECT>
      <IDOCTYP>ORDERS05</IDOCTYP>
      <CIMTYP>ORDERS05</CIMTYP>
      <MESTYP>ORDERS</MESTYP>
      <STDMES />
      <SNDPOR>SAPDPI</SNDPOR>
      <SNDPRT>LS</SNDPRT>
      <SNDPRN>PARTABC</SNDPRN>
      <RCVPOR>SAPDL1</RCVPOR>
      <RCVPRT>LS</RCVPRT>
      <RCVPRN>DEVSAP</RCVPRN>
      </EDI_DC40>
    But the Idoc is reached to R/3 with status '56' .And in the control records.. the receiver port (SAPDPI) is missing.
    I dunno what happened.When i cross checked, the remaining interfaces are working perfectly.
    Any idea whats going wrong?
    Regards
    Deepthi.

    As a matter of fact it is not strange at all:)
    It means you need to check the partner profile in the receiving r/3 system. This type of problem occurs because you need to define the partner profile PARTABC to the IDOC ORDERS05. If this association is missing you would always see the RCVPOR missing in the destination system.
    Also you have mentioned that "Note : When i won't enable the above three options in IDoc RCV channel... Message is not processing and showing error as "Unable to convert the sender service BS_ABC to an ALE logical system..!"..
    This is because for the BS_ABC sender service you must have a logical system associated; you can check the same by looking at the adapter specific identifiers. In your case I believe it is empty so the system can't find the logical system for it.
    Thanks
    Abinash

  • Problem with Table control lines

    Hi Friends,
    This is the problem with table control lines:
    I have screen with table control and I would like change the table control lines dynamicaly.
    Exp:
    In my PBO the Internal table which I am using to loop the TC is havig 7 records and its displayed with 7 records, now I have added one more record into my ITAB and now ITAB is having 8 records, when I am looping this ITAB with TC its taking the TC lines 7 only.
    here is the code:
    Initial values in gt_scr400 = 8
    Initial values in tc_scr400 = 8
    Now added one more recor into gt_scr400 , now gt_scr400  = 9.
      LOOP AT   gt_scr400
           INTO wa_scr400
           WITH CONTROL tc_scr400
           CURSOR tc_scr400-current_line.
      ENDLOOP.
    I have used this logic :
      DESCRIBE TABLE gt_scr400 LINES g_rec_300 .
      tc_scr300-lines = g_rec_300.
    but its not modifying the lines in my table control.
    How to change the TC lines based on ITAB total records.
    Thanks,
    Sridhar

    there is a field in TableViewName-xxx
    don't remember the exact field name for (total no of records)
    you can check it in debug.  when you add records in Internal table, u need to modify this field which is set at the first time when table control is populated.

  • Control records - Payroll Period

    Hi Expert,
    Can anyone help me with following situations?
    I am creating control records...I am facing problem what should I enter in "Payroll Period" when I have defined period parameter, monthly..
    Looking forward to your prompt reply.
    Regards,
    XXX

    Hi,
    First you have to understand the concept of payroll period. Payroll period is generated using period parameter and date modifier. Payroll period defines the exact start and end date of a period and the pay day. Here it defines the period number, which is very important to identify for which payroll period you are currently with. To make it clear let us have an example. A company is paying a group of employees monthly. In a year there are twelve months, so every payroll period is given a number. If the payroll period is for jan 01 to jan 31, 2011. It would be indicated as payroll period 01 in the year 2011. It should be generated before using it in control record. Based on your start and end date of the period, you have to enter those values. Check the table v_t549q to check whether the required payroll periods exists or not. If available use the relevant payroll period. Note that the payroll period used to create the payroll control records must be one period before the period in which you want to go live. Eg. If you are to go live in period 05,2011. You must enter period 04,2005 in the control record. To generate payroll period use the tcode OG00
    regards,
    praveen.

  • Problems with remote control and user accounts - error 1759?

    We're running:
    -XP Pro SP2 clients with Zen SP1 IR3a agent, 4.91 SP2 Netware client.
    -We are NOT running Middle Tier.
    -Novell servers are running Netware 6.5 SP7, E-directory 8.7.3.10b or 8.8.
    -Zen server is also SP1 IR3a.
    We have no problem using remote control on workstation objects. We are having intermittent issues with remote controlling user objects. When the issue occurs, we receive the following error, "Error 1759: The selected user is not logged in on any workstations" even though the user is in fact logged in. After some more research, it appears that the "networkAddress" attribute of the user object is blank so we feel that this is the root cause. My question is what would cause the networkAddress attribute to randomly not update? For instance we had a user (verified his login) who we could not remote via the user object (workstation object worked). We checked his networkAddress attribute and found that it was empty. User rebooted and logged in again and his networkAddress attribute populated, and then we could remote control him via the user object. Now this isn't always the case after a reboot. There doesn't appear to be any pattern to when the networkAddress attribute does or does not update. In fact, this particular user has a laptop so he boots it up fresh every morning yet he was not showing a network address when he logged in initially today.
    We've followed the troubleshooting steps in Novell Documentation without any success. Is there anything else that we might be missing, especially with respect to getting the networkAddress attribute to update? We ran a DSreport on that attribute and found about 500 out of a total of 1500 users had no networkAddress. Some of those are sure to be legitimate but that number is much too high for the number of people that should be in the office.
    I've read some older threads on the subject but none of them really provide a firm solution. Also most of the older threads reference Middle Tier which we are not using.
    Thanks in advance.

    > 4.91 SP2 Netware client.
    You could try this TID:
    "A user will no longer have an entry in their "Network Address" attribute
    even though they are logged into the eDirectory Tree."
    http://www.novell.com/support/viewCo...1262&sliceId=1
    "Resolution"
    "This was fixed in the 4.91 SP3 client. NWFS.SYS was modified so that it
    will check the monitor connection on a reconnect and if it is not connected
    close the connection and try and get a new monitor connection to the tree.
    Prior to the 4.91 SP3 client, the solution is to have the user login again
    so that it issues the NDS Finish Login request again that will populate
    Network Address again."
    Regards
    Rolf Lidvall
    Swedish Radio (Ltd)

  • Sender port in control record

    Hey guys
    i m trying to test my IDOC to FIle scenario and in WE19 i m getting an error with status 37 saying that sender port in control records is invalid.
    i have created the Sender port correctly in WE21,what might the problem be?
    thanx
    ahmad

    HI,
    As you said you have created the port with WE21.
    Did you checked , RFC destination which was configured in Port creation , what was the user ,pwd you used,does that user has the proper authorization , did you checked remote login for RFC destination,generally SAPxxx for port name, did you selected the version which was selected.
    let me know what is the correct error.
    Regards
    Chilla..

  • Statusrecord 37:Sender partner number in control record is default

    Hi all
    I am sending MATMAS data from one R/3 to another R/3 in ALE.
    when i am testing it from we19..... I'm the data is not sent insted it is being saved in database.
    In WE05 I can see the following error.... and the lights are green.
    statusrecord 37:Sender partner number in control record is default
    Please help me
    Thankyou
    SIMON

    Hi Joergen,
    we also have similar problem to send out ordrsp. Could you tell me how to solve this problem as I saw tht this problem of yours has been answered.
    Thanks inadvance for your reply,
    Lily

  • EA608 EDI: Sender partner number in control record is default

    We have created some KU partners in WE20 for sending billing documents to the SD bill-to partner but is running into an output error EA608 (EDI: Sender partner number in control record is default) on the billing document when trying to create IDOC's.
    Settings on partner:
    Partner: 12345
    Partner type: KU
    Partner function: BP
    Message type: INVOIC
    Application: V3 : Billing        
    Output type: ZEDI : US EDI Invoice
    Process code: SD09 : INVOIC: Invoic
    EDI Standard         X  
    Message type         810        
    Version              004010     
    Any idea to what the problem is?
    BR
    Joergen

    Hi Joergen,
    we also have similar problem to send out ordrsp. Could you tell me how to solve this problem as I saw tht this problem of yours has been answered.
    Thanks inadvance for your reply,
    Lily

  • EDI: Sender partner number in control record is default

    Hello!
    Another problem... in SUS - MM, Plan Driven Procurement
    I try to send PO from MM to SUS. But in the messages I get following
    error: "EDI: Sender partner number in control record is default"
    Message no. EA608
    SAP Note Number: 111342 doesn't help
    the logical systems are maintained!
    Any idea about this problem?
    Kind regards,
    Barbara

    If this is in regards to an ASN:  Check to see if this customer buys several divisions or is relevant for one division only.  In our instance of SAP, we found that it didn’t go to the Customer Master division setup relevant  to the division on the ASN to get the ACCT AT CUST field, it went to the first in the sequence of divisions and got that ACCT AT CUST field information.  That information was not filled out as it was a new division and that is what kept the output from happening.    For example:   we had divison 02, 04, 06 and 08.   We added division 03 and extended all customers to division 03.     Those customers that only bought division 04 just stopped sending ASNS.    The ASN was for division 04, but SAP logic was retrieving the ACCT AT CUST information (SALES tab, not CORRESPONDENCE tab) for divison 03, but we didn’t have that filled out. 
    Hope that helps.  

  • In correct period in control record

    hi sap experts
    1. posting only possible in period 2002-11 &2002-10 in co. xyxy
    as i was sugested by u i have tried mmpv
    now the problem is msg comming incorrect period in control record for co cd xyxy. so no conversion  the current period of the control record is 12-2002
    pls throw some light on this
    thanks in advance

    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.

Maybe you are looking for

  • Dúvida sobre a fase de processamento em paralelo

    Boa tarde pessoal, Estou configurando / testando o processo de geração de XML em paralelo à NF modelo 1. Meu cenário aqui no cliente é a geração do XML no ECC 6.0, SP13, com a mensageria Mastersaf. Segui os passos descritos na documentação oficial da

  • Podcast Jumping - but only on iPhones/iPods

    Ok, so I have an odd problem with my podcast. (One I produce, not one I listen to.) My podcast will literally stop in the middle, and jump to another episode. If you go back, it will resume the show, but then it will jump again just a few minutes lat

  • Windows not installing!

    i have been trying to load windows 7 through bootcamp. but after the initial partition process, the screen goes blank with a cursor on the top left corner. it does not come to life even after 4 hours. i did not have any problem making the partition b

  • ESB Server: FAILED (Not Run, Not Executed)

    I am novice. Installed SOA Suite 10.1.3.1.0 on host1(WinXP Professional2002 SP2): Select Basic Install. Set the AS Instance Name to soademo. Set the AS Administrator Password to welcome1. Test http://host1:8888/(esb,em) - Ok. -Installed JDeveloper 10

  • Portlet caching

    Portlet caching Scenario: An application consisting of several related portlets on different pages. Overview: 1- Summary Status page displays summary status in a portlet. The status is obtained from a pageflow call to a database. 2- Detail Status pag