Fill mestyp EDI_DC40

Hi Gurus,
im not able to fill EDI_DC40 mestyp with the value i want from XI. I try to pass ORDERS05 IDoc with mestyp ORDCHG, but  the system automatically changes in mestyp ORDERS. I have read the following blog:
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
My question is where i can change the mestyp?
thanks a lot
Ralph

Dear Praveen,
thanks for your answer, i solved the problem.
i have a next question. how can i pass from xi item number of sales order. if i try to pass the value on e1edp01-posex the system is searching for the POitem,not for the item from salesorder. is there any possibilty to access with the right key?
thanks
Ralph

Similar Messages

  • File to IDoc (Message Type - FLIGHTBOOKING_CREATEFROMDAT01) Error

    Hi all,
    Error i'm getting --  "Error: IDoc XML data record: In segment attribute occured instead of SEGMENT"
    Tried removing SEGMENT value to 1 for both segments and for individual segments with no luck ....
    Awaiting your invaluable replies on this thread.
    Thanking you in advance
    Sreedhar Kurella
    Message was edited by:
            Sreedhar Kurella

    Hi Sergio,
    Though i couldnot find exact menu as per your suggestion i followed
    rwb -> comp. monitoring --> Clicked Adapter engine server
    clicked button 'Adapter Monitoring'  which popped up another window where in which upon clicking 'File' , I found following error information :
    Retry interval started. Length : 600000.000s
    Error: File 'C:\Flight01.xml' - deleting after processing failed
    Processing started
    I rechecked the file name (including any accidental spaces) in C drive and again copied the file name from Comm Channel and renamed the file in C drive with same  and reactivated comm channel with no luck ....
    file has no 'read-only' attribute checked .....XI is running on windows 2003 and rechecked the persmission of the file where in which i made sure my user id (nwwadm) has got all permissions on this file...
    still now luck
    btw -- scenario is converting XML to IDoc to 106 client ....as i haven't filled any EDI_DC40 segment, idoc failed in 106 client .... will that failure be any cause of this anamoly behavior on file deletion ? i believe it shouldn't ?
    any pointers pls ?
    Thanks

  • EDI_DC40 Segment Issue

    Hi Experts,
    Scenario JMS -- XI -- IDOC
    I have tested the interface and found it works fine. 
    As disabled EDI_DC40 segment in mapping and checked Apply Control record Values from Payload  in the Receiver IDOC communication Channel. Since I have developed this scenario in Dev system and later move it into Quality and Production.
    Do I need to disabled EDI_DC40 segement thrugout the mapping or should pouplate with required fieilds like IDOCTYP,MESTYPE,SDNPORT,SDNPRT.....etc
    Please throw some light. would appricate your inputs.
    Sameer!

    As per my understanding:
    Case1: If disable EDI_DC40 means Idoc adapter fill itself these values and Apply Control Record Values from Payload option should also be UNCHECKED.
    Case2: If Enable EDI_DC40 means fill  these values in mapping itself and Apply Control Record Values from Payload option should be CHECKED.
    I disabled EDI_DC40 segments and CHECKED Apply Control Record Values from Payload well it works fine but m wonder if  disable EDI_DC40 segments and UNCHECKED Apply Control Record Values from Payload will also working.
    What would be the correct appraoch?
    Sameer

  • How to fill controlrecord in File to Idoc scenario

    Dear experts,
    Currently I have a working file->Idoc scenario in which I fill Idoc-controlrecordvariables as follows:
    - field SNDPOR: name of XI developmentsystem (via a constant)
    - field RCVPOR: name of SAP developmentsystem (also via a constant)
    - same for fields like SNDPRN and RCVPRN etc.
    In Development this works fine. Then I transport the design objects to the next environment. But when I want to test the same in Acceptence or Production, it won't work because the fields are still filled with the settings for the Development system.
    Can I fill these fields via some systemvariable in stead of a constant? Or is there another way?
    Thanks,
    William
    Edited by: JWD on Aug 31, 2010 2:20 PM

    Hi,
    1)Uncheck option Apply contraol record values from Payload in IDoc receiver channel.
    2)Disable EDI_DC40 control record in message mapping.
    this two steps will solve your problem at configuration time it will take the values irresctive of environment.so you no need to maiantain constant values..
    Regards,
    Raj

  • How can I handle the EDI_DC40 segment in transport process? Urgent!!

    Hi,
    my scenrio: File -> PI -> IDoc.
    In IDoc Receiver CC the indicators: Apply Control Record Values from Payload, is actived.
    Im Mapping the segment EDI_DC40 is also filled. The fields SNDPRN and RCVPRN are mapped via a UDF to get file name.
    So far so good.
    During transport I meet problem.
    The segment EDI_DC40 is set with ALE information of test systems. After transport the segment EDI_DC40 in productive system has also the same ALE information of test systems and the design objects in product system are not allowed to be changed.
    It is not good!
    How can I deal with this case? At first I change ALE data to productive Systems, then transport them? After transport I change them back to test systems? It is so troublesome.
    Anyone has good suggestions?
    Thanks and Regards
    Rene

    Hi Rene,
                      I never tried this signature tab feature. But you are going to set this parameter values then , I think you need to set them separately for test and for production, since they will vary with environment. But if you use the method given by Mahesh, myself or the filename with "prod" attachment (as suggested by you), the EDIDC parameters will be set dynamically. You  need not alter or set any values separately for test or production env.
    Here is the UDF in case you are determining the value from source directory
    public String getDirName(Container container){
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String ourSourceDirName = conf.get(key);
    String sndprn;
    // say source dir is    /usr/test/inbound
    if(ourSourceDirName.indexOf("test")>=0)
          sndprn="XYZ";
    // say source dir is    /usr/prod/inbound
    else if(ourSourceDirName.indexOf("prod")>=0)
          sndprn="ABC";
    return sndprn;
    Map this UDF to "SNDPRN" field of  target XML.
    Ensure the following events
    1. Sender Communication Channel has ASMA properties and Directory ticked
    2. UDF has no input as variable
    I am just sharing my thoughts, and also I am not aware of signature tab(i am working in PI 7.0).
    regards
    Anupam
    Edited by: anupamsap on Oct 5, 2011 2:36 PM

  • Wrong EDI_DC40.SNDPOR field in sender IDoc

    Hi to all,
    I have an IDoc to IDoc tunneling scenario. When the IDoc goes out from the sender system, it has a wrong port into the EDI_DC40.SNDPOR field. How can I change this? there is a SAP transaction that mantains this value?
    Thanks to all!

    Hi,
    For IDOC tunnelling even if the sender port information in not appropriate
    You could do this with below alternatives
    for e.g.
    1. Switching Off ALE audit messages
    At times, there could be a scenario where in we do not need the ALEAUD IDOCs to be got back.To acheive this add the PORT,CLIENT and MESSAGETYPE to the table IDXNOALE.Use transaction SE16 -> specify the table name "IDXNOALE" and then choose create new entries.Specify the values for PORT, CLIENT and MESTYPE fields, save the entry.This procedure helps switch off ALEAUD IDOCs from being sent back to the sender SAP system.
    2. Refer the links
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    XI: IDOC to IDOC tunneling - how fast (and easy) can you get?
    /people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get
    3. In transaction We20 you could rectify the sender Port for the proper logical system.
    Thanks
    Swarup

  • EDIDC and EDI_DC40

    Hi Experts
    what is the gap between EDIDC and EDI_DC40. All outbound idocs from my sap system contains the control records in EDIDC rather i want to have it in the format EDI_DC40 because based on EDI_DC40 mapping is performed. How to find the gap between EDIDC and EDI_DC40 and fix it up by populating appropriate data  in EDI_DC40 from the outbound side (r3) ?
    thkx
    Edited by: Prabhu  S on Mar 11, 2008 2:58 PM

    Hi,
    All the idoc header information is stored in the dictionary table EDIDC that is controle information for idoc it contains all the information like
    1>who is sender.
    2>who is receiver
    3>which is the message type
    4>between which logcal system
    5>in which port idoc to be send to receiving ligical system
    6>what is idocid
    all information are stored in this table
    that port what you created by the transaction WE21 that port you have to assign here
    Probably this kind of mapping will help you
    WA_EDIDC-MANDT = SY-MANDT.
    WA_EDIDC-MESTYP = 'ZMSG_TYP'.
    WA_EDIDC-IDOCTP = 'ZIDOC_TYP'.
    wa_edidc-cimtyp = c_temp.
    WA_EDIDC-RCVPRN = '<Port>'.
    WA_EDIDC-RCVPRT = 'LS'.
    WA_EDIDC-CREDAT = SY-DATUM.
    WA_EDIDC-CRETIM = SY-UZEIT.
    append wa_edidc to it_edidc.
    This information you could compare with teh structure of EDI_DC40
    Following links may help you-
    /people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    /people/ravikumar.allampallam/blog/2005/02/28/creating-sales-order-through-idoc
    Thanks
    Swarup

  • Problem with  EDI_DC40

    In mapping the source flat file structure to idoc type debmas 03, there is a need to disable the EDI_DC40 field. I did not find any option to disable in SAP XI 2.0 version. Any suggestion??
    Thanks in advance.
    Sriram

    Hi Homiar,
         Thanks for your response. I am using the scenario
    file-xiidoc in SAP XI 2.0. During mapping, the source structure is mapped with idoc structure.
    Regarding EDI_DC fields, i thought those control data will be dynamically filled during runtime. So i wanted to disable the filed EDI_DC40. This option is available in
    sap xi 3.0 and i didnot find any option in SAP XI 2.0.
    Do u have any idea like handle this EDI_DC during mapping??
    Rgds,
    Ramgopal

  • Custom data within EDI_DC40 Idoc record

    Hi!
    We have the following scenario:
    flat file->file-adapter->XI 2.0->IDOC->R/3
    We now have a situation where we need to fill in custom SNDPRN (Sender Partner Number) into the EDI_DC40 control record of the IDOC in question. I am able to fill in these custom numbers just fine in my mapping program, but it seems like the IDOC adapter always overwrites the field's value with the ALE Name configuraed in the SLD for the SenderBusiness System.
    So my question is:
    Is it somehow possible to keep the IDOC adapter from overwriting control-records fields inserted withing my mapping program? Or is it somehow possible to still modify the control-records fields after the message has passed trough the IDOC adapter?
    Thanks for any help,
    -Hans Dumbrajs

    Hi!
    Sorry for the late reply, I have been on holidays in between.
    Thanks for the info, would you happen to have any more
    specific information? Maybe a patchlevel, or SAP note that you could refer me to? For XI 3.0 I found note number 728792, but this will not help me with XI 2.0.
    Thanks in advance for any more info!
    -Hans

  • How to fill EDIDC?

    Hi there!
    This is my landscape: File -> IDOC
    Is possible fill EDI_DC40 node in IDoc?
    I want to fill EDIDC-->MESFCT row with a constant.
    Then i fill in Message Mapping FINSTA01 -> IDOC -> EDI_DC40 -> MESFCT.
    When i see the message in SXMB_MONI just the PAYLOADS -> MAINDOCUMENT is fill.
    But SOAP Header -> IDocOutbound -> MESFCT is empty!
    Thanks
    Edited by: Matias Peralta on Jan 13, 2010 2:17 PM

    http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
    use the above to help you fill the fields. Once these are done in your mapping, use the option Apply Control Record Values from Payload in your IDoc CC

  • How to fill data in idoc

    Hi experts,
    Could u please give some sample codes for filling data into idoc.

    Hi Nisha,
    Go through this userdefined program u can understand .
    *& Report  ZBT_SEL_PROGRAM                                             *
    REPORT  zbt_sel_program                         .
    TABLES: mara.
                  Data declaration
    *--Material number selection.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    PARAMETERS:
    *--Rec.Partner
       p_rcvprn TYPE edi_rcvprn,
    *--Message type
       p_msgtyp TYPE edi_mestyp.
                  Internal table declaration
    DATA:
    *--MARA data
          it_mara TYPE STANDARD TABLE OF mara WITH HEADER LINE,
    *--To fill the segment Z1MARM
          it_temp_mara TYPE STANDARD TABLE OF z1marm WITH HEADER LINE,
    *--MAKT data
          it_makt TYPE STANDARD TABLE OF makt WITH HEADER LINE,
    *--To fill the segment E1MAKTM
          it_temp_makt TYPE STANDARD TABLE OF e1maktm WITH HEADER LINE.
    DATA: st_edidd TYPE STANDARD TABLE OF edidd WITH HEADER LINE,
          st_comm_cont TYPE STANDARD TABLE OF edidc WITH HEADER LINE,
          st_mast_cont TYPE edidc.
    *--Fetch the data from MARA table
    SELECT * FROM mara INTO TABLE it_mara WHERE matnr IN s_matnr.
    IF sy-subrc = 0.
      SORT it_mara.
    ENDIF.
    *--Fetch the data from MAKT table
    IF NOT it_mara[] IS INITIAL.
      SELECT * FROM makt INTO TABLE it_makt FOR ALL ENTRIES IN it_mara
                        WHERE matnr = it_mara-matnr.
      IF sy-subrc = 0.
        SORT it_makt.
      ENDIF.
    ENDIF.
    *--Fill the iternal tables which is type the same of Segments
    LOOP AT it_mara.
      MOVE-CORRESPONDING it_mara TO it_temp_mara.
      APPEND it_temp_mara.
      CLEAR it_temp_mara.
    ENDLOOP.
    LOOP AT it_makt.
      MOVE-CORRESPONDING it_makt TO it_temp_makt.
      APPEND it_temp_makt.
      CLEAR it_temp_makt.
    ENDLOOP.
    *--Fill the segments
    LOOP AT it_temp_mara.
      st_edidd-segnam = 'Z1MARM'.
      st_edidd-sdata = it_temp_mara.
      APPEND st_edidd.
      CLEAR st_edidd.
    ENDLOOP.
    LOOP AT it_temp_makt.
      st_edidd-segnam = 'E1MAKTM'.
      st_edidd-sdata = it_temp_makt.
      APPEND st_edidd.
      CLEAR st_edidd.
    ENDLOOP.
    *--Fill Master IDOC
    st_mast_cont-rcvprt = 'LS'.
    st_mast_cont-rcvprn = p_rcvprn.
    st_mast_cont-mestyp = p_msgtyp.
    st_mast_cont-idoctp = 'ZMATMAS01'.
    *--Create the communication IDOC by passsing master IDOC and control
    information.
    CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
      EXPORTING
        master_idoc_control                  = st_mast_cont
      OBJ_TYPE                             = ''
      CHNUM                                = ''
      TABLES
        communication_idoc_control           = st_comm_cont
        master_idoc_data                     = st_edidd
    EXCEPTIONS
       error_in_idoc_control                = 1
       error_writing_idoc_status            = 2
       error_in_idoc_data                   = 3
       sending_logical_system_unknown       = 4
       OTHERS                               = 5
    IF sy-subrc = 0.
    *--Commit work
      COMMIT WORK.
    ENDIF.
    *--Display IDOC Number.
    LOOP AT st_comm_cont.
      WRITE: 'IDOC Numbers:',st_comm_cont-docnum.
    ENDLOOP.
    Rewards some points.
    Rgds,
    P.Naganjana Reddy

  • ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • How to add fields to already loaded cube or dso and how to fill records in

    how to add fields to already loaded cube or dso and how to fill  it.can any one tell me the critical issues in data loading process..?

    This is sensitive task with regards to large volumes of data in infoproviders.
    The issue is to reload of data in case of adjusted structures of infoproviders.
    Indeed there are some tricks. See following:
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
    https://service.sap.com/sap/support/notes/1287382

  • I am trying to create a form in acrobat pro 8 and it can't be filled in in reader 9

    When I open the form in reader, it says it is a pdf/a file.and the form fields do not show up unless I go to edit/preferences in reader and tell it to never view documents in pfd/a mode.  I am putting this document on my website for users to fill out, and don't want them to have to do that.  How do I create the form that is not a pdf/a document?  I have been messing around with this for a day and have not been successfull.  I have an old document from last year that apparently is not a pdf/a document and it works fine.  I cannot make this year's document open correctly in reader 9.  http://www.houseofsweden.us/docs/DecNightsSignUps2009.pdf  This is a very simple form created from a word document.

    When originally creating the pdf, you would need to choose another pdf conversion setting. In Word if you use the pdf menu, change your settings there: Adobe PDF > Change Conversion Settings. I would use High Quality Print instead. If you use the File > Print method, click the Properties button next to the Adobe PDF printer selection.
    For your already created form, you can change the file so your users will not encounter issues. In Acrobat 9, which hopefully is similar in process to 8: Advanced > Preflight > Profile tab > PDF/A compliance > Remove PDF/A information.(You'll have to unsecure your form first).
    You can read about PDF/A files in the Help.

  • 0FI-CA module, cube 0FC_C08 & 0FC_C09 dataflow? question abt filling tables

    Hello all,
    We are currently working on BI7.0 and ERP6.0. I am trying to understand the data flow for these two cubes 0FC_C08 and 0FC_C09.
    When I see the data flow in BW, I see there is an infosource 0FC_BP_ITEMS, which feeds to DSO 0FC_DS05 which feeds to DSO's 0FC_DS06 (Open Items) and 0FC_DS07 (Cleared Items) which feed to 0FC_C08 and (Open items) and 0FC_C09 (Cleared items).
    0FC_BP_ITEMS -> 0FC_DS05 -> 0FC_DS06 and 0FC_DS07 -> 0FC_C08 and 0FC_C09...
    Now what I am looking for is what do these two datasources feed to ?
    0FC_CI_01    FICA Cleared Items for Interval
    0FC_OP_01  FI-CA Open Items at Key Date
    Also I have another question like:
    1.      Run tcode FPBW that fills data to table DFKKOPBW, and then you will see data in RSA6 for datasource 0FC_OP_01.
    2.     Run tcode FPCIBW that fills data to table DFKKCIBW, and then you will see data in RSA6 for datasource 0FC_CI_01.
    My question is do we have to do this on periodic basis or do we have to do it every time before we run infopackage to load data in BW? What are the key dates or date interval we can use for those two tcodes?
    Please anyone who has worked on it can give some ideas
    Thanks all for your help in advance.
    Kiran
    Edited by: Kiran Mehendale on May 16, 2008 4:40 PM

    0FC_CI_01 FICA Cleared Items for Interval
    --This Data Source will feed InfoCube: 0PSCD_C01
    and
    0FC_OP_01 FI-CA Open Items at Key Date
    --This Datasource will feed infoCube: InfoCube: 0PSCD_C02
    http://help.sap.com/saphelp_nw70/helpdata/EN/41/3d30113dfe6410e10000000a114b54/frameset.htm
    From this link you will be able to check out the data sources as well as any information on the infocubes.
    hope this helps.
    Matt

Maybe you are looking for

  • How do I transfer my pictures from iPad to windows 7 operating computer?

    How do I transfer my pictures from iPad to windows 7 operating computer?

  • View html images in email?

    Is there a setting that allows html stuff (I think that's what it is) in BB email to be viewed as the image instead of all the URl gobble-d-**bleep**? I receive a fair number of newsletters, etc that show pictures when viewed on the computer but are

  • Call Java function from multithreaded VC++ application

    Friends, I want to call Java function from two threads of a single VC++ application. I can call it from single thread but when I call it from another thread also, JNI_CreateJavaVM() replies with an error. Please......help me

  • Performance issues when working with huge lists

    I've got a script that reads a large CSV spreadsheet and parses the data into a list of the form [[A1,B1,C1], [A2,B2,C2], [A3,B3,C3]] and a second list of the form [#A1:B1,#A2:B2,#A3:B3] etc- The actual spreadsheet is about 10 columns x 10,000 rows.

  • Premiere, AE, Media Encoder and title bug?

    I think I've run into a possible bug. I'm editing Canon 7D material with my first clip in the timeline being dynamic linked to AE. On the videotrack above I got a title. Everythings is prerendered ( greenbar above timeline). Exporting directly in Pre