BAPI,BADI ,BDC,ALE ,IDOC,USER EXIT,VALIDATION AND SMART FORMS.

Dear Experts,
I am pretty new in BAPI,BADI ,BDC,ALE ,IDOC,USER EXIT,VALIDATION AND SMART FORMS.
Pls let me know for these topics shall i put the question in this community or should i put in any other form. Pl suggest me .
Regards
Shivas

Plz SEARCH in SCN before posting ,you will get lot of posts .
Don't use all caps in the subject line

Similar Messages

  • BAPI/LSMW/BDC/ALE-Idoc-Best One

    Hi Folks,
    What would be the best method to migrate master and transactional data.(One time upload).
    I am suggesting BAPI as we have internal thirdparty RFC calls while creating masterdata.(I guess we wouldnot get this RFC calls in recording).
    I gone through the forum but i didnot get convincing answer.
    Please help me in deciding.........
    Thanks,
    Krishna.

    Hi
    I am suggesting BAPI as we have internal thirdparty RFC calls while creating masterdata.(I guess we wouldnot get this RFC calls in recording).
    As BAPI's are Remote Enabled Function Module. I think in your scenario BAPI's should work well for you.
    Regards,
    Vishwa.

  • Developing custom IDOC , USER Exit , BADI , BAPI and RFC

    Hi,
    I want basic information on developing custom IDOC , USER exit , BADI ,BAPI and RFC.
    Thanks in advance

    Neha,
    >custom IDOC ,
    http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
    >USER exit
    USER EXIT
    > BADI
    BADI Development Contents
    > BAPI and RFC
    Re: BAPI Development
    Cheers
    Agasthuri Doss

  • BADI or User Exit validation of operations tab and displaying an error mess

    Hello,
    Could you please let me know the BADI or User Exit validation of operations tab and displaying an error message in iw32
    Thanks,
    Suresh Mgl

    Hi ..
    I tried that user-exit...but i need to block the changes for purchase requisition which is in released stutus..
    .i hope i need to do implicite enchancement spot.....could you please help me to do that..
    Thanks,
    Suresh Mgl

  • Idoc User Exit

    Hi Friends,
    How do you find the IDOC User exits?
    How to create IDOC Custom segment?
    Please Let Me know.Any help is Appreciated.
    Thanks,
    Rinky

    <i>How do you find the IDOC User exits?</i>
    <b>-->>There is nothing separately you can figure out only IDoc user-exits..Goto particular Transaction code -->system --> status..Click in the program & find out the Exits which is relevent to IDoc..Even u can put a break-point in all exits & find when its called...</b>
    <i>How to create IDOC Custom segment?</i>
    <b>--> Goto Tcode WE31 to create segments..</b>
    Check these links for more details on IDoc's:
    <b>ALE/ IDOC</b>
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    Hope this helps
    <i>* Reward each helpful answer</i>
    Raja T

  • Any of the Benefits idoc user exit

    Hi All,
    I am looking for the any benefit idoc user exit. We neeed to extend BENEFIT3 idoc, i was able to extend the idoc but dont see any user exit where i can def. my def segment.
    Not sure how it is working in other case.
    Does anybody has any idea as of how to proceed on this.
    Appreciate your help  in advance.
    Thank you,

    This thread is vague and does not specify what the ultimate solution was.  We were trying to accomplish the same thing - an enhancement to BENEFIT3 IDoc, but were unable to find a suitable user exit.  So we put in an OSS note and received the following response:
    "...currently there is no user exit/Badi in SAP Benefits Administration
    to enhance IDoc BENEFIT3. Such functionality is indeed missing in the
    system, which means that you will need to submit a development
    request to enhance the system in this respect in a future release."
    We are going to try to resolve our problem with a custom infotype.
    Anke

  • Inbound IDOC user exits

    Re: IDOC User Exits
    Posted: Aug 1, 2006 10:43 AM        Reply      E-mail this post 
    Hi
    I have a basic doubt. We can modify or add new segments and change existing values to segments only for outbound idoc.
    I have a requirement where a particular field in a segment would be empty for an inbound idoc. Is it possible to change inbound idoc values after the idoc is created and before it gets posted.
    Please let me know,
    Regards,
    B.Anandh

    Updating IDoc data in segments.
    STEP 1 - Open document to edit
    CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
           EXPORTING
                document_number               = t_docnum
           IMPORTING
                idoc_control                  = itab_edidc
           TABLES
                idoc_data                     = itab_edidd
           EXCEPTIONS
                document_foreign_lock         = 1
                document_not_exist            = 2
                document_not_open             = 3
                status_is_unable_for_changing = 4
                OTHERS                        = 5.
    STEP 2 - Loop at itab_edidd and change data
    LOOP AT itab_edidd WHERE segnam = 'E1EDKA1'.
      e1edka1 = itab_edidd-sdata.
      IF e1edka1-parvw = 'LF'.
        e1edka1-partn = t_eikto.
        itab_edidd-sdata = e1edka1.
        MODIFY itab_edidd.
        EXIT.
      ENDIF.
    ENDLOOP.
    STEP 3 - Change data segments
    CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
               TABLES
                    idoc_changed_data_range = itab_edidd
               EXCEPTIONS
                    idoc_not_open           = 1
                    data_record_not_exist   = 2
                    OTHERS                  = 3.

  • Doubt in Idoc user exit..............

    Hi All,
               i have written the user exit for Sales Order subscreen tab called <b>additional data2</b> , this tab is provided by sap for developer can write their own user exit coding.
               my doubt is whenever PO comes as an <b>Inbound IDOC i need to pass the value from</b> <b>segment to my user exit fields</b>.
               <b>where can i find the inbound idoc user exit for SO .</b>
                Thanks in advance,
    Regards,
    Saravanan.

    Look at enhancement VEDA0001. It has got quite a few user exits you can use. You will also need to enhance the IDOC for the additional fields you have added on your screen.
    Cheers,
    Sanjeev

  • Difference between user exit,enhancement and BAdi

    hello guys,
    what is the difference between user exit,enhancement and BAdi.
    Please do let me know..
    Thanks in advance.
    regards,
    praveen.

    Pls do search the forum before posting*

  • User exit EXIT_SAPLL03T_002 and jobs

    Hi everybody,
    I have a problem with user exit EXIT_SAPLL03T_002 and trx LT12, i put code (the code is in the end) in the user exit in order to update the field QNAME from the standar table LTAP, the sentences for the update are in a job.
    The problem is when a run the LT12, put the order and press enter the trx finish normally, but when i see the jobs resumen (SM37) there isnt any job.
    Thank you for your help, see you.
      INCLUDE ZXLTOU02                                                   *
    DATA:
        WJ_JTANUM LIKE LTAP-TANUM,
        WJ_LGNUM LIKE LTAP-LGNUM,
        WJ_WERKS LIKE LTAP-WERKS,
        WJ_USER LIKE SY-UNAME,
    Parametros para el Job
        l_numero  LIKE tbtcjob-jobcount,    "ID de un job de fondo
        l_fecha   LIKE tbtcjob-laststrtdt,  "Fecha de ejecución más tardía
        l_hora    LIKE tbtcjob-laststrttm,  "Ultima hora de ejecución para
        l_jobname LIKE tbtco-jobname VALUE 'JOB_RF',
        W_USER LIKE SY-UNAME,
        W_HORA LIKE SY-UZEIT,
        W_DIA LIKE SY-DATUM.
    GET PARAMETER ID 'mb_usuario' FIELD W_USER.
    Solo lo realiza para la transaccion LM05 y LM07
    y si es por logueo No SAP
    ***ANTIGUO
    *IF ( SY-TCODE EQ 'LM05' OR
      SY-TCODE EQ 'LM07' OR SY-TCODE EQ 'LM03' OR
      SY-TCODE EQ 'LM04') AND ( W_USER NE '' ).
    **********ACTUALIZADO 07/02*********
    IF ( SY-TCODE EQ 'LM05' OR
       SY-TCODE EQ 'LM07' OR SY-TCODE EQ 'LM03' OR
       SY-TCODE EQ 'LM04' OR SY-TCODE EQ 'LT12' ) AND ( W_USER NE '' ).
    ojo
      UPDATE ZTMB_USERCOLA
        SET STATU = ' ' DOCNUM = ' '
        WHERE
        BNAME = W_USER.
      GET PARAMETER ID 'mb_hora' FIELD W_HORA.
      GET PARAMETER ID 'mb_dia' FIELD W_DIA.
      CALL FUNCTION 'JOB_OPEN'
             EXPORTING
                  jobname          = l_jobname
             IMPORTING
                  jobcount         = l_numero
             EXCEPTIONS
                  cant_create_job  = 1
                  invalid_job_data = 2
                  jobname_missing  = 3
                  OTHERS           = 4.
        SUBMIT ZUPDATE_LTAP
            AND RETURN
              VIA JOB l_jobname NUMBER l_numero
                WITH WJ_TANUM = T_LTAP_VB-TANUM
                WITH WJ_LGNUM = T_LTAP_VB-LGNUM
                WITH WJ_WERKS = T_LTAP_VB-WERKS
                WITH WJ_USER = W_USER.
      Llama a la funcion para cerrar el Job
        CALL FUNCTION 'JOB_CLOSE'
             EXPORTING
                  jobcount             = l_numero
                  jobname              = l_jobname
                  strtimmed            = 'X'  "Inicio inmediato
             EXCEPTIONS
                  cant_start_immediate = 1
                  invalid_startdate    = 2
                  jobname_missing      = 3
                  job_close_failed     = 4
                  job_nosteps          = 5
                  job_notex            = 6
                  lock_failed          = 7
                  OTHERS               = 8.
    ENDIF.
    REPORT ZUPDATE_LTAP .
    PARAMETERS:
          WJ_TANUM LIKE LTAP-TANUM, " Numero de OT
          WJ_LGNUM LIKE LTAP-LGNUM, " Almacen
          WJ_WERKS LIKE LTAP-WERKS, " Centro
          WJ_USER LIKE SY-UNAME,    " Usuario SAP
          W_QNAME LIKE LTAP-QNAME.
    data: w_actual, w_timeout type i.
      Actualiza el campos de usuario
    w_actual = '0'.
    w_timeout = 0.
    while w_actual = '0' and w_timeout < 300.
      w_timeout = w_timeout + 1.
      WAIT UP TO 7 SECONDS.
      UPDATE LTAP
        SET QNAME = WJ_USER ZZRF_BNAME = WJ_USER
      WHERE
        TANUM = WJ_TANUM
            AND
        LGNUM = WJ_LGNUM
            AND
        WERKS = WJ_WERKS.
    AGREGANDO 4 ENERO
      UPDATE ZTMB_USERCOLA
        SET TPICKEO = SY-UZEIT FPICKEO = SY-DATUM
      WHERE
        LGNUM = WJ_LGNUM
            AND
        BNAME = WJ_USER.
    AGREGANDO 4 ENERO
      if sy-subrc = 0.
        w_actual = '1'.
       UPDATE LTAK SET ZZRF_BNAME = WJ_USER
       WHERE TANUM = WJ_TANUM AND
             LGNUM = WJ_LGNUM.
      endif.
      commit work.
    endwhile.

    Hi,
    Check the print parameters. Probably after execution you may be deleting the job.
    You can change the print parameters during runtime.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
       EXPORTING
         no_dialog                    = 'X'
         user                         = sy-uname
       IMPORTING
      OUT_ARCHIVE_PARAMETERS       =
         out_parameters               = params
         valid                        = ws_valid.
      IF ws_valid <> space.   
        params-pdest = 'LOCL'.  "Destination
        params-primm = ''.      "Print Immediately
        params-prnew = 'X'.     "New Spool Request.
        params-armod = '1'.     "Print: Archiving Mode - Print Only
        params-linct = 65.      "Rows
        params-linsz = 255.     "Cols
        params-paart = 'X_65_255'.
        params-prrec = sy-uname.  "User name
        params-prsap = ''.      "Print: SAP Cover Page
        params-prunx = ''.      "PRINT: Host spool cover page
        params-prcop = '001'.   "number of copies
        SUBMIT zmib_fiber_link_background
               WITH file     = i_file_list-name
               WITH rb1      = space
               WITH rb2      = c_x
               WITH p_launch = c_x
      VIA JOB ws_c_session NUMBER ws_c_jobnum
      EXPORTING LIST TO MEMORY 
        TO SAP-SPOOL
        WITHOUT SPOOL DYNPRO
        SPOOL PARAMETERS params
        AND RETURN.
    endif.
      CALL FUNCTION 'JOB_CLOSE'
           EXPORTING
                jobcount             = ws_c_jobnum
                jobname              = ws_c_session
                strtimmed            = 'X'
           EXCEPTIONS
                cant_start_immediate = 1
                invalid_startdate    = 2
                jobname_missing      = 3
                job_close_failed     = 4
                job_nosteps          = 5
                job_notex            = 6
                lock_failed          = 7
                OTHERS               = 8.
    Also check the sy-subrc after JOB_OPEN.
    Regards
    Subramanian

  • Bapi,idoc,user exits

    hi, im learner i want to need  some idea in  user exits,bapi,idoc any body having documents on above topics plz to send me...............plz

    Check these links..
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    New to enhancements
    creation of table in ecc6
    for Function module exits
    New to ABAP Enhancements
    For menu Exits and screen exit
    USER EXIT
    Search through www.enips.com.
    You can find lot of material there.
    BADI's
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    User Exits
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    TO find all BADI's
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    A. BAdI Definition
    1. SE18
    2. Enter the name for the BAdI to be created in customer namespace and press "Create".
    3. Enter a definition for your BAdI and on the interface tab enter a name for the BAdI interface. SAP proposes a name and it is pretty good. Meanwhile a BAdI class is also created which is not in our concern.
    e.g for "ZTEST", SAP proposes "ZIF_EX_TEST" for the interface and "ZCL_EX_TEST" for the class.
    4. Save your BAdI.
    5. Double-click on the interface name. It will pass to a Class Builder session to make you implement your interface. If you are not familiar to the Class Builder; it's a bit like Function Builder and it will be easy to discover its procedure.
    6. Save and activate your interface.
    B. Calling your BAdI from an application program
    1. Declare a reference variable with reference to the Business Add-In interface.
    e.g. DATA exit_ref TYPE REF TO zif_ex_test.
    2. Call the static method GET_INSTANCE of the service class CL_EXITHANDLER. This returns an instance of the required object.
    e.g.
    CALL METHOD CL_EXITHANDLER=>GET_INSTANCE
    CHANGING instance = exit_ref .
    3. After those two steps, you can now call all of the methods of the BAdI where it is required in your program. Make sure you specify the method interfaces correctly.
    C. BAdI Implementations
    1. SE19
    2. Enter the name for the BAdI implementation to be created in customer namespace and press "Create".
    3. It will request the BAdI definition name to which this implementation will be tied.
    4. Enter a definition for your implementation and on the interface tab enter a name for the implementing class. Again SAP proposes a name and it is pretty good.
    e.g for "ZIMPTEST", SAP proposes "ZCL_IM_IMPTEST".
    5. Save your implementation.
    6. To implement a method, just double-click on the method name and you will be taken to the Class Builder to write the code for it. Here you redefine the BAdI interface methods.
    7. You must activate your implementation to make it executable. You can only activate or deactivate an implementation in its original system without modification. The activation or deactivation must be transported into subsequent systems
    Regards,
    Balaji Reddy G
    ***Rewards if answers are helpful

  • BADI or Enhancement or User Exit for CRMXIF_ORDER_SAVE _M01 IDOC for SO

    HI ,
    Scenario : Outbound
    When Ever a Sales order Creates in CRM it will go to ECC and External Party using PI.
    We are using IDOC as CRMXIF_ORDER_SAVE_M01 for the Data exchange. There is some logic to be written for the External IDOC.
    We found CRM_ORDER_MAP BADI for the writting the logic for the Segements and fields. But this logic is reflecting in ECC and External IDOC.
    Can we can any BADI or User Exit to write the logic to reflect only External IDOC not for ECC.
    Thanks
    Sim

    Help need !!!

  • Debugging inbound idoc user exit

    Hi all,
    I have a client who wishes to do some data validation when creating an inbound idoc.  We've identified the appropriate user exit and set a break-point in it, but how do I get the inbound process to stop here so I can see the data coming through, particularly since the process is initiated from a source external to R/3.
    The file data is coming from a warehouse management system into XI, and then being passed from XI through to the function IDOC_INPUT_DELVRY.
    Cheers,
    Stephen

    go thru the below information.
    IDOCs:
    - IDOC is an Intermediate Document'. It is simply a data container used to exchange information
    between any two processes that can understand the syntax and semantics of the data.
    An IDOC is created as a result of executing an Outbound ALE or EDI process.
    In an inbound ALE or EDI process, an IDOC serves as input to create an application document.
    -When an IDOC is created in the system , an unique number(16 Digits) is assigned to it.
    This number is unique with in the client.
    - IDOCs are independent of the sending and receiving systems.
    - IDOCs are independent of the direction of data exchange.
    - In the IDOCs, data is stored in text format.
    - IDOC will wait until the Remote System is Active.
    *IDOC Definition Components
    - Basic Idoc Type: Basic Idoc type defines the structure and format of the business document
    that is to be exchanged between two systems. Basic Idoc type can refer to an SAP provided
    basic IDOC type or a customer developed basic IDOC type.
    - A basic IDOC type has the following characteristics:
    Name : A basic Idoc type can be assigned upto a thirty character name.
    List of permitted segments: The segments make up the IDOC structure.
    Hierarchy of segments : The hierarchy of segments specifies the physical sequence and
    any parent - child relationship in the segments.
    Mandatory Vs Optional Segments : When used in the IDOC type, each segment has
    an attribute that defines whether the segment is option or mandatory.
    Minimum/Maximum range for each segment: It defines the maximum and minimum
    number of timesa data record corresponding to a segment cn exist in an IDOC.
    - Segments : A segment defines the format and structure of a data record.
    Segments are reusable componets. A segment consists of various fields that represent data
    in data record.
    IDOC Run time components:
    - A unique IDOC number 16 digits is allocated.
    - One control record is attached to the IDOC.
    - Segments translate into data records.
    - Status records are attached.
    - Sytax rules are checked.
    IDOC Record Types:
    1. Control Record : The control record contains all of the control information about an IDOC,
    this information basically includes the IDOC number, sender and receiver information,
    and information such as the message type it represents and the IDOC type.
    - there is only one control record per IDOC.
    - The stucture of the control record is the same for all the IDOCs and is defined by SAP.
    - The structure of the control record is defined by the data dictionary structure EDI_DC40.
    - The control record is stored in the EDIDC table.
    2. Data Record : Data records contain the application data. A data record has two sections
    Administrative Section and a Data section.
    - The Administrative section cotain the segment name, client, IDOC number, segment number,
    hierarchy level information.
    - The Data section of a data record is a stram of 1000 bytes where the actual data resides.
    - The data record is defined by the data dictionary structure EDI_DD40.
    - Data records for IDOCs stored in the EDID4 table.
    3. Status Record : Status records are attaced to an IDOC throughout the process as
    the IDOC achieves different milestones or encounters an error. At every milestone a statu code,
    date and time are assigned.
    - Status codes 01 to 49 are reserved for OUtbound process, 50 and above are reserved for
    inbound processes.
    Message Type: Identifies what type of information transformed between logical systems or partners.
    Message type is not a local object type , it is transportable.
    Port : A Port defines the medium in which data is exchanged between the two systems in
    the ALE process, IDocs are transferred via memory.
    1. TRFC ports are used for ALE communicaion.
    2. File Ports used by EDI
    3. CPI-C ports used to communicate with R/2 systems.
    4. Internet ports used to connect with Internet Applications.
    5. ABAP-PI ports used to process data via the ABAP programming interface.
    6. XML ports used to process files in XML format.
    Partner Profiles:
    A partner profile has three views, which maintain different parameters for the partner.
    1. The General Parameters View : Values are stored in table EDPP1.
    2. The Outbound Parameters view : Values are stored in table EDP13, except for the
    Message control parameter , which are stored in table EDP12.
    3. The Inbound Parameters View: Values are stored in table EDP21.
    Transaction Codes :
    WE31- Segment Creation
    WE30 - IDOC structure
    WE81 - Message type creation
    WE82 - Link between Message type and IDOC type.
    WE21 - Creation of POrt
    WE20 - Partner Profile creation
    WE19 - Test tool for IDOC Processing.
    SALE - ALE (Application Linking and Enabling) settings
    Go through the link for basics related to IDOCs:
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6cdd507d11d18ee90000e8366fc2/plain.htm
    Check these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    Please check this PDF documents for ALE and IDoc.
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    Check these out..
    Re: How to create IDOC
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    go trough these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    You need to excahnge data between systems you need an interface as medium for data transfer.
    IDoc also treat one of the interface options for data transfer.
    Check this link
    http://www.thespot4sap.com/Articles/SAP_ALE_Other_Concepts_Conclusion.asp
    IDOC Debugging:
    1) We generally go for customized IDocs if none of the SAP standard IDoc does not suit our need/business process. Creating is custom IDoc should be a very stringent process. The SAP standard IDocs should be rigorously checked (if any user exits can be of our help or IDoc extension will solve the purpose).
    2) WE19 is the test tool by which we can create IDocs to see whether our functionality is working. It is mostly used to debug inbound function modules.
    For outbound function module debugging you can use the following:
    1) RBDMIDOC - for master IDocs configured via change pointers.
    2) RSNASTED - for transaction IDocs with output/message control.
    3) RSEOUT00 - For IDoc whose status is "to be processed".

  • ORDRSP idoc user exit exit_sapleinm_007

    i have problem with inbound EDI for po acknowledgment(855) ,message type used ordrsp process code ORDR and basic type is orders05 and function idoc_input_ordrsp
    Vendor is sending only vendor material number (IDTNR) and qualifier 002 is used. During IDOC processing I am using user exit exit_sapleinm_007 to get the SAP material number based on Purchase order number.
    In user exit I am trying to collect the SAP number based on vendor number (IDTNR)and purchase order from EKPO table
    When processing the segment E1EDP19 using the exit_sapleinm_007, I am unable to pass the PO number (EBELN) and therefore I am unable to extract the corresponding SAP number (Customer Number), which resulted in failure of IDOC.
    IDOC error message : Material number differs from the ordered material number.
    Purchase order (EBELN) is present in segment E1EDP02 and this segment is processed before E1EDP19.
    I am not sure how this can be resolved? Is their any other user exit that can be used for ORDRSP idoc in extracting SAP number (customer material number) from vendor material number (IDTNR)

    Hi Ashutosh,
    All the exits for listed are too early in the flow for you to know if the DN was created successfully or not, like Christian has suggested you will have to use the customer exits/BAIDs available within "GN_DELIVERY_CREATE" to achieve your requirement. There seem to be a couple of customer function exits available, and a BADI - SHP_BADI_GN_DELIVERY_CREATE try them.
    Also calling an FM in update task wouldn't help you, unless you have some key information with which you can check if the DN was successfully created.
    Regards,
    Chen

  • AIST0002-User Exit - Validation of user defined field

    I have implemented the enhancement aist0002.  I added a user defined field in a user defined subcreen and added it to the leasing tabstrip.  I would like to validate this field against a another field in sap's leasing subscreen.  In the pai of the user defined subsrceen the field of the other subscreen does not get filled.  Is there a way to access the field of the other subscreen on the leasing tabstrip from the pai module of the user defined subscreen?
    Thank you
    Tom

    Thank you for your response but I am not sure where the import occurs?
    This is the pai of the user subscreen 9000 for AS01.
    form edit_input .
      data: itab type lfza.
      if anlu-zzempfk is not initial.
        select * from lfza into itab
                where empfk = anlu-zzempfk and
                      lifnr = anla-leafi.
        endselect.
        if sy-subrc <> 0.
          set cursor field 'ANLU-ZZEMPFK'.
          message e007(zvalid).
        endif.
      endif.
    endform.                
    Function exit EXIT_SAPLAIST_002 include zxaisu03   
    looks like this:
    anlu = i_anlu.
    anla = i_anla.
    Data gets moved to anlu or anla if it was already built.  They are empty when it is a create transaction(as01).
    Function exit exit_saplaist_003. include zxaisu04
    looks like this:
      e_anlu = anlu.
    After the subscreen is processed it exports the data to global variable.
    The problem is the pai module for the user subscreen 9000, the  field anla-leafi is not filled.  This field is  located in sap's subsceen 1403.  It has data in the screen field.  My assumption is that it would be accessible as global data that could be used by my user defined subscreen once I began the validation in the pai of subscreen 9000.
    Could you provide more insight on how I would access the field from the other subscreen?

Maybe you are looking for

  • Need a help: how to recover using backup control file?

    Please a help: First computer 1. I create a database 2. put it in archive mode, 3. shutdown and made a cold backup 4. Created backup control file (alter database backup control file to trace) 5. I started up and created some archived log files. Secon

  • Reverse timeline conflict with MouseEnter/Leave and Click

    Hello everyone ! First, i'm sorry for my bad english, i'm working on it every day I'm doing a website with Edge Animate and I have a conflict between two actions : I have a Symbol with a MouseEnter/MouseLeave effect which make visible a text : when i

  • Workflow giving error at execution

    Hi all, I am referring Ginger Gatling blog to create simple workflow https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b90536a6 After activating my workflow (workflow is to display material asking user ac

  • Horizontal elasticity of fields within frames (Bug?)

    Hi all, I have a small esthetic problem that might be a small bug in Oracle Reports. I'd be glad to know if you guys can reproduce this problem and let me know wheter I'm doing something wrong or not... I want a field to have its width the same as I

  • Specifying which node a scheduled task runs on

    In a clustered weblogic environment is there a way to tell OIM to run a scheduled task on a specific node. So for example let's say I want the AD UserTarget Recon to always only run on node1. Is there a task schedule attribute or something that contr