How to disable control records in Idoc

Hi All,
I've a small problem in my scenario.i have a idoc in my input and i want output as a idoc in a flat file.i m using abap class fr this.that abap class is changing idoc into idoc as a flat file.but i have to remove control records in my output.i have a very little knowlegde in abap.so can u help me regarding my scenario.FCC can't be possilbe because it is a huge idoc.
thanx in advance
Monika

actually u din't understand my question fully. i dont want idoc xml..i want idoc in a flat file
well i got solution...i've chnaged my abap mapping ..and it's wrking fine..
anyways thanx

Similar Messages

  • Include segment in Control record of  idoc type PEXR2002 and PAYEXT

    Gurus
    This is business scenario. We are using four different flavours of payment methods. when exectuing F110 for each payment method,Program RFFOEDI1 generates IDOC. This IDOC are send to EDI team who then sends that as EDI820 to bank.
    The payment method used are populated in Detail record field of IDOC . But EDI team wants that to be in Control record of IDOC .
    We are using PEXR2002 and message type is PAYEXT . this is an outbound IDOC .
    Is it possible to add segement in control record for each payment method?.
    Thanks for your time and consideration
    Auroar

    It may depend on how the IDoc is created.
    From a file.
    Sent via a Remote Call.
    You would then need to code it for this Message type only.
    I would take a copy of the standard Function and change that. You would have greater control then.
    Why is the partner number wrong anyway. Can you not just create another partner profile(s).
    Message was edited by:
            Martin Shinks

  • Control record of Idoc

    Hi Experts,
    I need to change the partner number in the control record of IDOC.
    Due to this it was getting posted wrongly at status 56 "Idoc with errors added".
    I took a single idoc and manully changed via WE09 and reposted tho BD87.But the think is I wanted this to ahppedn for all the inbound idocs.
    Message type :ALEAUD.
    Process code : AUD1.
    Function module triggered: IDOC_INPUT_ALEAUD.
    Is there any user exit available to do this or any other program which is called first to post the idoc in receiver system.
    I cant change the partner number in sender system only in my receiver system i can do this.
    Can anyone help.
    Thanks,
    Ponraj.s.

    It may depend on how the IDoc is created.
    From a file.
    Sent via a Remote Call.
    You would then need to code it for this Message type only.
    I would take a copy of the standard Function and change that. You would have greater control then.
    Why is the partner number wrong anyway. Can you not just create another partner profile(s).
    Message was edited by:
            Martin Shinks

  • File name in control record of Idoc

    Hello All,
    I have come across a requirement for File to IDOC scenario where File name picked from dynamic configuration is to be stored in control record of IDOC. As file name is more than 45 chars long, I need to use a long field.
    Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
    Regards
    Prashant

    Hi Prashant,
    I understand that your requirement is to store name of picked up file in SAP system.
    Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
    You can use them if you are sure that it would not affect routing routines and message processing in SAP ECC.
    Regards,
    Radek

  • Reciever port blank in control record of idoc.

    Hi,
    I am sending IDOC from  client 110 to 220 in R/3.
    In Client 220 reciever port is blank in control record of
    Idoc.Do I need to do some kind of settings for this.
    Any help appericiated.
    Thanx.
    Rekha.

    Hi Rekha;
       Are the ports properly populated on the outbound IDoc (from client 110)?
    Cheers,
    John

  • Passing control records to Idoc

    Hi,
    how can we pass control record data to Idoc?can we do that in mapping(GUI) in XI ,lets say if I am doing <b>file to Idoc</b> scenario.I know we can disable the control record field and use apply from payload.my concern is if we don't use apply from payload.
    I have read in SDN XI takes from sender or reciever business systems as they are  related to Logical systems(ref link:XI IDoc  control record data source?) ,does it mean that we don't map these cotrol record fileds in the mapping(GUI)?
    and also please tell me how XI can pass data from flat file to a particular IDOC?
    thank you.

    hi,
    have a look at blog to see what is being filled and how:
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    you can also check my book in which I describe IDOC scenario configurations 
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Serialisation field in control record in idocs

    Hi Experts,
    I have one requirement like this.While generating idocs in control record we get serialization number by combining system date and time.
    But now my requirement is i have to change that serialisation field with required timestamp.Can we do this? If so can anyone explain me how to do that?
    Wiating for your valuable replies.
    Points will be rewarded.
    Regards,
    Swetha.

    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.

  • Sender Information in control record of IDOC adapter

    Hello All,
    I am sending data from JMS to R/3 (IDOC). I need to populate the SNDPRT with LI and SNDPRN with 42980.
    I have mapped SNDPRT with LI and SNDPRN with 42980 in the control record. I have checked the <b>Apply Control recrod values from check box</b> in the IDOC adapter communication channel.
    Also checked the Sender Party in the Receiver aggrement. I have selected <b>the context object as the SNDPRN of IDOC control record</b>
    But it is failing. I am getting an error Unable to convert sender XI party ........to  an IDOC party
    I need to resolve thsi problem
    Please help me.

    Hi Abinash,
    In addition to the document Mike suggested, SAP has many How-to Guides at the following link
    http://service.sap.com/nw-howtoguides
    https://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    Mike: Thanks a lot for spending your valuable time helping the forum even on Weekends. SAP really appreciates your help on this.
    Regards,
    Sam Raju

  • Control record in IDOC

    Hi
    The scenario where i have an R3 - > XI - > NONE SAP
    where r3 sends idoc the none sap needs to send back aleaud but the orig idoc number is not in the ALEAUD idoc number but the control record holds a different want inorder for the r3 to think it is an ALeaud
    how can i fix this and have the same idoc numeber also in the coming aleaud ?
    or how do i associate between the idoc and the returning aleaud ?!

    Hi Sergie
    The ALEAUD is a separate IDoc, so naturally it must have a different number than the original IDoc. However, the field E1STATE/DOCNUM in ALEAUD is a reference to the original IDoc.
    How is your ALEAUD generated? If you are doing this "manually" via a message mapping, you need to include the original IDoc number in the message to your receiving system so that it can send an audit message back containing the original IDoc number. From this audit message you should be able to map a correct ALEAUD message.
    Regards,
    Thorsten

  • How to see data records of idoc?

    Hi
    Can anybody tell me how can i see the data records of idoc..
    i think its stored in EDID4 table..but i am not able to see the sdata field

    hi Gaurav,
    Just follow the steps:-
    1.Go To Transaction WE05.
    2.Click on execute.
    3.This will open Inbound/Outbound list of IDoc
    4.Just select any Idoc and double click on it.
    5.This will open Idocs three segement namely status,data and Control
    6.Double click on Data Segment and u will see the data in it.
    Regards,
    Ashwin M
    [Reward for the Helpful answers].

  • Want to put  data  in control record of IDOC (Inbound Idoc)

    Hi All
    For some business reasons so many Idocs are not getting posted into SAP. They are just simply failing.So my client wants report that will give me a list of Idocs that are failed . I want to put document number in the control field so that i can display that filed in the report which sucks data from EDIDC table.
    Can i put data in the control record ?
    it is an INBOUND idoc
    Can i use these fields?
    Or will SAP use these fields for any sort of processing?
    EDIDC-REFMES(reference message)
    EDIDC-REFINT(Reference to interchange file)
    EDIDC-REFGRP(message group)

    Hi Prashant,
    I understand that your requirement is to store name of picked up file in SAP system.
    Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?
    You can use them if you are sure that it would not affect routing routines and message processing in SAP ECC.
    Regards,
    Radek

  • BADI to Change control record from idoc

    I’m trying to use the BADI IDOC_CREATION_CHECK to change the control record from the idoc but im not able to do it because the parameter IDOC_CONTROL is an importing parameter not a changing parameter, I’ve tried to use the BADI IDOC_DATA_MAPPER but I this case I’m just able to change the data record, should I use another BADI?
    Regards
    Luis Constantino.

    hi.
    have you tried ABI_IDOC_PROC_MODIF?
    i did not read much thru the documentation...
    i hope this helps.

  • How to disable/control the dock icon sizes when hovering over them?

    Hello.
    How do I disable/control the dock icon sizes when hovering over them? They are too big when enlarged with my mouse cursor.
    Thank you in advance.

    BDAqua wrote:
    Hi,
    Apple icon at the top left of the screen>Dock>Dock Preferences>Size & Magnification.
    Thank you!

  • How to disable particular record?

    Hi,
    I am working with ALV List Display. After displaying the output, there is an Check Box option in the report output.
    If I check for a particular record and delete that particular record, that record only should be disabled remaining records should be enabled, So that I can check another record and delete that record.
    Please given solution for the above ASAP.
    Thanks,
    Vinay.

    Hi Vinay,
    Try the following sample code :
    REPORT  y131_alv_test.
    TYPE-POOLS : slis.
    DATA : BEGIN OF str_test,
           check,
           name,
           END OF str_test.
    DATA : it_test LIKE TABLE OF str_test WITH HEADER LINE,
           wa_fldcat TYPE slis_fieldcat_alv,
           it_fldcat TYPE slis_t_fieldcat_alv.
    it_test-name = 'NAME1'.
    APPEND it_test.
    it_test-name = 'NAME2'.
    APPEND it_test.
    wa_fldcat-fieldname = 'CHECK'.
    wa_fldcat-seltext_l = 'CHECKBOX'.
    wa_fldcat-checkbox = 'check'.
    wa_fldcat-input = 'X'.
    APPEND wa_fldcat TO it_fldcat.
    CLEAR wa_fldcat.
    wa_fldcat-fieldname = 'NAME'.
    wa_fldcat-seltext_l = 'DISPLAY NAME'.
    APPEND wa_fldcat TO it_fldcat.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
        i_callback_program             = 'Y131_ALV_TEST'
        i_callback_user_command        = 'RETURN'
        it_fieldcat                    = it_fldcat
      TABLES
        t_outtab                       = it_test.
    * EXCEPTIONS
    *   PROGRAM_ERROR                  = 1
    *   OTHERS                         = 2
    *&      Form  RETURN
    *       text
    ***The subroutine should be of the following interface
    FORM return USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&IC1'.
          IF rs_selfield-fieldname = 'CHECK'.
            IF rs_selfield-value = 'X'.
              DELETE it_test WHERE check = 'X'.
            ENDIF.
          ENDIF.
      ENDCASE.
    ENDFORM.                    "RETURN
    This would help you, reward if convinced with the code.
    Regards

  • How to disable 'Clear Record' option in Oracle Forms deployed in Orcl Apps

    Dear Members,
    I have developed a custom form which is deployed in Oracle Applications.
    In this form I want to disable the 'Clear Record' option to prevent users from clearing the record.
    Can any one please tell me how can I do it?
    Thanks in advance.
    Best Regards,
    Arun Reddy D.

    Hi,
    In your Forms---> trigger--> KEY-CLRREC-----> NULL;
    You cant clear any record.

Maybe you are looking for