Enhancement for ME22N , Triggers at PBO

Dear all,
My Requiremnet Is to Trigger an Enhancement( BADI or USER-EXIT) during PBO, from which I want to fetch the PO Number,
so that i make the necessary validation to Enter into transaction 'ME22N' else simple throw an error message to the user.
Note : Some BADI are triggering but not providing the Purchase order Number(EBELN).
Frwd with any further issues.
Regards,
Niranjan.G

Hi,
  I i understand correctly what you are trying to do is when user goes into transaction ME22N and tries to view or change a purchase order you want to do certain validations on the purchase order number and if teh validations fail you want to raise an error. If thats what you wnat to do you can try enhancement > MM06E005 > EXIT_SAPMM06E_006 > Import parameter I_EKKO should have the PO number .
Regards,
Himanshu

Similar Messages

  • Enhancement for Me22n

    Hi
    everyone ,
    I am trying to get the appropriate function exit for ME22N , My req is like in me22n (in header) ,in tab additional data there is a field validity start date , suppose any purchase order is changed ,so the date of purchase order change will be validity start date .......
    so if anybody can suggest any thing which could help me.
    regards
    san

    HI JEEVI,
    THANKS FOR REPLY ,HERE IS A LITTLE CONFUS..
    LIKE EXIT_SAPMM06E_013 (UPDATE CUSTOMER'S OWN DATA FOR PO)
    BUT THIS FIELD (VALIDITY START DATE) IS NOT CUSTOMERS FIELD ITS EKKO-KDTAB SO PLS CONFIRM.
    THANKS & REGARDS
    SAN

  • Enhancements in me22n

    Hi,,
    I have changed  standard program using enhancement for me22n..
    Requirement is :
    For all the users if there is no tick then the field appears editable and if there is a tick
    then it is disabled except few authorized users the fields appears editable.
    a. Check for the value of field EKPO-ELIKZ , (Deliv Compl)if ticked, then do point u2018bu2019 and
    u2018cu2019 if not ticked then it is editable for all.
    b. Check for Authorization object u2018Z_DEVCOMP1u2019 , Activity parameter
    value = u201802u2019 (change) and Authorization field u2018Z_DEVCOMPu2019 value =
    u2018YESu2019
    c. Set the fieldstatus to u2018*u2019 (display only) for Metafield u201876u2019 ( table pool u2013 MMMFD)..
    I tried using the below code,but i am not able to read data lineitem wise when i debug...plz suggest
    ENHANCEMENT 1  ZMM_PO_DELIVERY_INDICATOR.    "active version
      FIELD-SYMBOLS: <fs_fieldselection> TYPE MMPUR_FS,
                     <fs_ekpo> TYPE ekpo.
      ASSIGN ('(SAPLMEPO)EKPO') TO <fs_ekpo>.
    if sy-subrc = 0.
    if <fs_ekpo>-elikz = 'X'.
                     AUTHORITY-CHECK OBJECT 'Z_DEVCOM1'   "  u201Cauthorization object that weu2019ve created
                          ID 'ACTVT' FIELD '02'           "             u201CActivity = 02, authorized to change
                          ID 'Z_DEVCOMP' FIELD 'X'.       "     u201Cvalue is 'YES'
                      if sy-subrc <> 0.
                        READ TABLE my_fieldselection assigning <fs_fieldselection>
                                                     WITH KEY metafield = '76'.
                        IF sy-subrc EQ 0.
                          <fs_fieldselection>-fieldstatus = '*'.
                        ENDIF.
                     endif.
                     else.
    endif.
    endif.
    ENDENHANCEMENT.
    Thanks.

    Hi,
    In the me22n screen at the item table control there is configuration tab at the right side corner.
    try to create a variant by hidding the fields you required.
    and at the time of calling the table control screen use the standard variant or custom variant according to the requirement.
    Prabhudas

  • Enhancement for F110

    hi,
    Can u please specify the particular enhancement which triggers between payment proposal and payment run.
    Requirement:
    I need to capture the username who performs the payment proposal and check with the same whether the same user is running the payment run....
    Rgds.,
    subash

    FDTAX001  Enhancement to Transaction FDTA (event after the downlo
    FEDI0002  Function exits for EDI DOCS in FI - Incoming pyt adv.no
    FEDI0003  Function exits for EDI docs in FI - Save PEXR segments
    FEDI0004  Function exits for EDI docs in FI - particular events
    FEDI0006  Function Exits for EDI-docs in FI: Save IDCR Segments
    RFFOX003  Frame for user exit RFFOX003 (in program RFFOM100)
    RFFOX041  Framework for user exit RFFOX041 (in program RFFOBE_I)
    RFFOX042  Framework for user exit RFFOX042 (in program RFFOBE_E)
    RFFOX043  Framework for user exit RFFOX043 (in program RFFOBE_D)
    RFFOX061  Frame for user exit RFFOX061 (in program RFFOCH_P)
    RFFOX062  Frame for user exit RFFOX062 (in program RFFOCH_P)
    RFFOX063  Frame for user exit RFFOX063 (in program RFFOCH_P)
    RFFOX064  Frame for user exit RFFOX064 (in program RFFOCH_P)
    RFFOX065  Frame for user exit RFFOX065 (in program RFFOCH_P)
    RFFOX066  Frame for user exit RFFOX066 (in program RFFOCH_P)
    RFFOX071  Frame for user exit RFFOX071 (in program RFFOCH_U)
    RFFOX072  Frame for user exit RFFOX072 (in program RFFOCH_U)
    RFFOX073  Frame for user exit RFFOX073 (in program RFFOCH_U)
    RFFOX074  Frame for user exit RFFOX074 (in program RFFOCH_U)
    RFFOX075  Frame for user exit RFFOX075 (in program RFFOCH_U)
    RFFOX081  Frame for user exit RFFOX081 (in program RFFOF__T)
    RFFOX082  Frame for user exit RFFOX082 (in program RFFOF__T)
    RFFOX100  Frame for user exit RFFOX100 (in program RFFOUS_T)
    RFFOX101  Frame for user exit RFFOX101 (in program RFFOUS_T)
    RFFOX102  Frame for user exit RFFOX102 (in program RFFOUS_T)
    RFFOX103  Frame for user exit RFFOX103 (in program RFFOUS_T)
    RFFOX104  user exit
    RFFOX105  Frame for user exit RFFOX105 (in program RFFOUS_T)
    RFFOX200  Frame for user exit RFFOX200 (in program RFFONZ_T)
    RFFOX210  Frame for user exit RFFOX210 (in program RFFOAU_T)
    RFFOX211  Frame for user exit RFFOX211 (in program RFFONZ_T)
    RFFOX230  General program for user exit RFFOX230 (in program RFFO
    RFFOX240  Enhancement for User Exit 240 (RFFOAT_P)
    RFFOX250  Enhancement for User Exit 250 (RFFODK_E)
    RFFOX901  Framework for user exit RFFOX901 (in program RFFOM100)
    RFFOX902  Framework for user exit RFFOX902 (in program RFFOM100)

  • Enhancement in ME22N

    Hi All,
             There is requirement to enhancement in  Release strategy (ME22N). If  user increase the OP price the release strategy being changed but he decrease the OP the price release strategy not being changed. The reauirement is there if they make any change in OP price either incrase or decrease, release strategy should be change. therefore there is any User-Exit or BADI which change the release strategies related informantion. I have aslo tried some user exit and BADI but in these exit and BADI  the OP header information not in export parameters (this information is import parameters) so I can not make change it. there is any other user exit or BADI for do that.
    Thanks in Advance
    Jitendra Singh

    I need to make some fields output only at item level
    > in transaction ME22N i.e. during PO change. Is there
    > any exit or BADI available for that.
    >
    > Regards
    This is mainly config.
    Check in SPRO - IMG
    Materials Management > Purchasing > Purchase Order > Define Screen Layout at Document Level
    Also these BAdis are available:
    ME_PROCESS_PO_CUST - For Custom logic in Enjoy transactions
    ME_GUI_PO_CUST - For Additional Custom screens in ME2xn
    Read the documentation, it will help.
    Also, read the config section about enhancements in Purchasing using old enhancement technology. See below.
    OSS is also a good place for documentation. OSS 496083.
    Good luck!
    Leonardo De Araujo
    Develop Enhancements for Purchasing
         In this step, you develop enhancements for Purchasing.
         The following SAP enhancements are available for the Purchasing area:
         o   AMPL0001
             User subscreen for additional AMPL data (Manufacturer part number)
         o   LMELA002
             Adoption of batch number from shipping notification at time of
             posting of a goods receipt
         o   LMELA010
             Incoming shipping notification: adoption of item data from IDoc
         o   LMEQR001
             User exit for source determination
         o   M06B0001
             Role determination for release of requisitions
         o   M06B0001
             Changes to communication structure for release of requisitions
         o   M06B0003
             Number range and document number
         o   M06B0004
             Number range and document number
         o   M06B0005
             Changes to communication structure for overall release of purchase
             requisitions
         o   M06E0004
             Changes to communication structure for release of purchasing
             document
         o   M06E0005
             Role determination for release of purchasing documents
         o   ME590001
             Grouping of requisitions for PO split in transaction ME59
         o   MEETA001
             Determination of schedule line type (backlog, immediate requirement,
             forecast)
         o   MEFLD004
             Determination of earliest delivery date for checking at time of
             goods receipt (PO only)
         o   MELAB001
             Generation of forecast delivery schedule: realization via creation
             profile
         o   MEQUERY1
             Enhancement for document overview ME21N / ME51N
         o   MEVME001
             Calculation of default GR quantity and over/underdelivery tolerances
         o   MM06E001
             User exits for inbound EDI messages and outbound purchasing
             documents
         o   MM06E003
             Number range and document number
         o   MM06E004
             Control of import data screens in purchase orders
         o   MM06E005
             Customer fields in purchasing documents
         o   MEREQ001
             Customer's own data in purhcase requisitions
         o   MM06E007
             Change document for requisitions when converting into POs
         o   MM06E008
             Monitoring of contract target value in case of release orders
         o   MM06E009
             Relevant texts for "Texts exist" indicator
         o   MM06E010
             Field selection for vendor address
         o   MM06E011
             Activation of requisition block
         o   MM06L001
             Exits for determination of ratings in vendor evaluation
         o   MMAL0001
             ALE source list distribution: outbound processing
         o   MMAL0002
             ALE source list distribution: inbound processing
         o   MMAL0003
             ALE purchasing info record distribution: outbound processing
         o   MMAL0004
             ALE purchasing info record distribution: inbound processing
         o   MMDA0001
             Default values for delivery addresses
         o   MMFAB001
             User exit for generation of releases
         o   MRFLB001
             Control items during release creation
         o   LWBON001
             Enhancement of LIS update through extension of the communication
             structure MCKONA (business volumes and rebate income)
         o   LWBON003
             Change settlement data for end-of-period rebate settlement before
             creation of settlement documents
         o   LWSUS001
             Customer-specific source determination in Retail
         Activities
         1.  Either create a new project or use an existing one and then enter
             the enhancement.
         2.  Activate the project
             Your enhancement will only become effective after activation.
         Further notes
         In contrast to modifications, enhancements are basically
         release-insensitive since they are not implemented in the SAP original
         but in a name range that is reserved for the customer.
         The general procedure for creating enhancements can be found in the
         enhancement transaction at Help -> Application help.
         If you want to display the documentation for an enhancement, choose Goto
         -> Documentation in the enhancement transaction.
    Return ->
         Application

  • Enhancement for VL32N

    Hi,
    In vl32n transaction when we save the particular inbound delivery
    I want to perform material to material transfer posting by triggering MIGO transaction and changing the batch number .
    Can u suggest any enhancement for this requirement?

    Hi,
    Check if any of the following are useful to you:
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    Regards,
    Renjith Michael.

  • PKBC TCode  Enhancements not getting triggered ?

    Dear All,
    I've found the Enhancements for the PKBC Transaction.
    MPKB0001      User's own functions in the Kanban proces
    MPKB0002      Customer defined display in kanban board
    MPKC0001      User exit for kanban calculation        
    MPKD0001      Kanban output as EDI                    
    MPKP0001      Customer Defined Display in Kanban Board
    I kept a break point in each of the above Enhancement but no where the break point is getting triggered when PKBC Transactions data is being saved.
    I've created a CMOD Project which Includes all the EXIT Names corresponding to PKBC Transaction.
    Any clues wht shud be done ?
    Regards,
    Deepu.K

    Hi,
    You will have to go in SPRO and tick the "ENHANCEMENT" option.
    only then it will go to user-exits.
    Please ask your Functional Consultanat to do it.
    Let me know if you need the complete path for that.
    Regards,
    Rajat
    Edited by: Rajat  Chaturvedi on Nov 27, 2008 10:23 AM

  • User Exit for ME22N while saving of PO

    Hi all,
    i want a USER EXIT for ME22N while saving. i want EKET data.
    After checking EKET data, i want to chage EKPO data.
    Thanks
    pabi

    Hi,
    Below Exit you can have access to EKET and EKPO data in the tables paramters before the SAVE
    EXIT_SAPMM06E_012
    TEKPO: EKPO data
    TEKET: EKET data
    Enhancement:MM06E005 (Check in SMOD transaction)
    Check for one Paramter: I_TRTYP (This is for Create/Change/Display Modes) or You can check on Sy-Tcode = ME22N
    Hope this helps
    Regards
    Shiva

  • Support for compound triggers

    Is there support for compound triggers in datamodeler?
    Thanks,
    Joep

    Hi Joep,
    there is no support for compound triggers. I added enhancement request for that.
    Philip

  • Suggest EnhanceMent For SALES area determination In stock Transfer.

    Suggest EnhanceMent For SALES area determination In stock Transfer.
    V02V0001 Sales area determination for stock transport order Doesnt Work,

    Is user exit required, as the sales area will be different. Incase of Intra company stock transfer the process will be as under:
    Create Purchase Order (ME21N)
    Create Delivery in background (VL04, VL10a, VL10C, etc)
    Change Delivery for picking / packing & PGI (VL02n)
    Create Billing Document (VF01)
    Assumption: Stock Transfer configuration is in place. Assistance can be taken from SAP Best Practices in help.sap.com
    Incase of Inter-company, the process will be as under:
    Create Sales Order (VA01)
    Create Delivery (VL01N, etc)
    Change Delivery (VL02N)
    Create Billing Document (VF01)
    Assumption: Configuration is in place. Assistance can be taken from SAP Best Practices in help.sap.com
    Regards,
    Rajesh Banka

  • Badi / Exit / Enhancement for replacing INSMK during PO creation

    Hi Gurus,
    we want to default the INSMK field (stock type) during Purchase Order creation..
    Can someone help me findind the right BAdI / exit / enhancement for it?
    Thanks in advance,
    Regards,
    Alessio

    Hi Alessio,
    You may check these first:
    Re: Negative postings to MVER table
    Re: select stock type
    Thanks,
    Gordon

  • BADI for ME22n - Component Object List

    Hi ,
    I am working with transaction ME22n. When the item category is L. The material data tab shows a button called Components (Object List). On clicking this button i am taken to another screen which has childeren material items and the related data. I need to capture the values on this screen and compare them with the database values to identify any changes.
    I am working with BADI ME_PROCESS_PO_CUST , method CHECK and OPEN. Please tell me in which method parameter those screen values are stored and i can fetch them.
    Also please suggest me any other approach possible which i can use to capture the screen field values in the component screen.
    Any help would be deeply appreciated.
    Thanks in advance.
    Moderator message : Duplicate post locked. Continue with thread [BADI for ME22n - Component Object List|BADI for ME22n - Component Object List]
    Edited by: Vinod Kumar on Aug 9, 2011 12:25 PM

    Hi,
    Please check this thread
    User exit for component data in ME21n/ME22n
    Thanks

  • BADI for ME22N

    I have found the BADI for ME22N . It is ME_PROCESS_PO_CUST. In this BADI, when i double click on the interface PROCESS_ITEM, I go in the method where i can write code. In this code i want to fetch the PO item no. which i get at run time. This method has parameter IM_ITEM as parameter. How do i capture the value which comes at run time for this PO item. I am not able to write the syntax for it.
    When i debug , in IM_ITEM ,i get some class names one of which is CL_PO_ITEM_HANDLE_MM  and some variable name PO_ITEM_NUMBER which contains the value of PO Item. But i dont know how to write syntax .

    Priti,
    code looks like this:
    Sample code for a PO Badi:
    BAdI Name: ZCHECK_PO_LINE_ITEM (Implementation name) PO Account assignment
    Definition Name: ME_PROCESS_PO_CUST
    Interface Name : IF_EX_ME_PROCESS_PO_CUST
    Implementing Class: ZCL_IM_BADIN_ACCOUNT_ASSGN
    Method : PROCESS_HEADER
    METHOD if_ex_me_process_po_cust~process_header .
    DATA : re_data TYPE mepoheader.
    *get the item data
    CALL METHOD im_header->get_data
    RECEIVING
    re_data = re_data.
    re_header = re_data.
    IF ( re_data-bsart NE 'ZOC' AND re_data-bsart NE 'ZPC' ).
    IF ( re_data-bsart 'ZIC' AND re_data-bsart 'UB' ).
    IF re_data-bukrs NE '1001'.
    MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'Use only Sipchem Company'
    'Code for External Procurement'.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDMETHOD.
    Method : PROCESS_ITEM
    METHOD if_ex_me_process_po_cust~process_item .
    DATA: v_menge TYPE bamng, " PR Quantity
    v_statu. " PR Status
    DATA : re_data TYPE mepoitem,
    re_data1 TYPE mepoaccounting,
    re_accountings TYPE purchase_order_accountings ,
    header TYPE purchase_order_accounting.
    *get the item data
    CALL METHOD im_item->get_data
    RECEIVING
    re_data = re_data.
    IF ( re_header-bsart NE 'ZOC' AND re_header-bsart NE 'ZPC' ).
    IF re_header-bsart EQ 'ZRL'.
    IF re_data-konnr EQ space.
    MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant create a Release order'
    'without a reference to Outline Agreeement'.
    ENDIF.
    ENDIF.
    u2022     IF ( re_header-bsart NE 'ZOC' AND re_header-bsart NE 'ZPC' ).
    IF ( re_data-banfn EQ space AND re_data-anfnr EQ space ).
    MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You can create a Purchase order'
    'only with reference to a PR or RFQ'.
    ENDIF.
    u2022     ENDIF.
    u2022     
    o     call method IM_ITEM->GET_ACCOUNTINGS
    o     RECEIVING
    o     RE_ACCOUNTINGS = RE_ACCOUNTINGS.
    **get the accounting reference variable,this reference is needed to get
    **the GL account *number and Asset number
    *loop at RE_ACCOUNTINGS into header.
    **get the accounting info.
    u2022     call method header-ACCOUNTING->GET_DATA
    this one i have used for our requirement.
    Amit.

  • BDC for ME22n vendor confirmation

    i am facing problem while doing BDC for ME22N . i am going for itemwise vendor confirmation.
    for first line item it is happening. but for 2nd line item it is not going.
    any help?
    this is my code. i guess some loop i have to add but where? can any body give idea?
    REPORT  ZMM_VC_UPLOAD.
    TABLES :  t100.
           Internal table declaration                                    *
    DATA : BEGIN OF it_upload OCCURS 0,
                  index(4),      "Index
                  EBELN(10),     "PO number
                 EBELP(5),      "line item PO
                  LIST(1),       "item number
                  BSTAE(4),      "Confirmation control key
                  EBTYP(2),      "Confirmation Category
                 BSTAE(4),      "Confirmation control key
                  LPEIN(1),      "Category of delivery date
                  EEIND(10),     "delivery date
                  MENGE(13),     "QTY Quantity as per vendor confirmation
                  XBLNR(20),     "ext doc
                  ERDAT(10),     "doc date
                  er_message(100),
           END OF it_upload.
    DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
          MSGDATA LIKE BDCMSGCOLL  OCCURS 0 WITH HEADER LINE.
    *Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER: P_FILE LIKE IBIPPARMS-PATH OBLIGATORY.  "to select a file.
    SELECTION-SCREEN END OF BLOCK B1.
    *Initialization
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE .
      PERFORM GET_FILENAME.
    start-of-selection
    START-OF-SELECTION.
      PERFORM MAKE_FILE_NAME .
      PERFORM UPLOAD_FILE.
        PERFORM BDC_PROCESS.
    perform read_messages.
    *&      Form  UPLOAD_FILE
    FORM UPLOAD_FILE .
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          FILENAME                = P_FILE
          FILETYPE                = 'DAT'
        TABLES
          DATA_TAB                = IT_UPLOAD .
            IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " UPLOAD_FILE
    *&      Form  bdc_process
    FORM BDC_PROCESS .
    loop at it_upload.
    LOOP AT IT_header.
    refresh bdcdata.
      perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MECHOB'.
    perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                  'NB'.
    perform bdc_field       using 'DYN_6000-LIST'
                                  it_upload-list.    "'   1'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEPO1319-MATKL'.
    perform bdc_field       using 'MEPO1319-SPINF'
                                  'X'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0002'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MEOK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEPO_SELECT-EBELN'.
    perform bdc_field       using 'MEPO_SELECT-EBELN'
                                  it_upload-EBELN.              "'4500195517'.
    perform bdc_field       using 'MEPO_SELECT-BSTYP_F'
                                  'X'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TABIDT14'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEPO_TOPLINE-BSART'.
    perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                  'NB'.
    perform bdc_field       using 'DYN_6000-LIST'
                                  it_upload-list.    "'   1'.
    perform bdc_field       using 'MEPO1319-SPINF'
                                  'X'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_OKCODE'             "first time
                                  '/00'.
    perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                  'NB'.
    perform bdc_field       using 'DYN_6000-LIST'
                                 it_upload-list.    " '   1'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEPO1334-BSTAE'.
    perform bdc_field       using 'MEPO1334-BSTAE'
                                  it_upload-BSTAE  .                "'0005'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                  'NB'.
    *loop at it_item where ebeln = it_upload-ebeln.
    perform bdc_field       using 'BDC_CURSOR'
                                  'DYN_6000-LIST'.
    perform bdc_field       using 'DYN_6000-LIST'
                                  it_upload-list.    "'   1'.
    perform bdc_field       using 'MEPO1334-BSTAE'
                                  it_upload-BSTAE.                 "'0005'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'EKES-ERDAT(01)'.
    perform bdc_field       using 'EKES-EBTYP(01)'
                                  it_upload-EBTYP.                 "'vc'.
    perform bdc_field       using 'RM06E-LPEIN(01)'
                                  it_upload-LPEIN.                 "'D'.
    perform bdc_field       using 'RM06E-EEIND(01)'
                                  it_upload-EEIND.                 "'15.02.2009'.
    perform bdc_field       using 'EKES-MENGE(01)'
                                  it_upload-MENGE.                 "'10'.
    perform bdc_field       using 'EKES-XBLNR(01)'
                                  it_upload-XBLNR.                 "'inv 9'.
    perform bdc_field       using 'EKES-ERDAT(01)'
                                  it_upload-ERDAT.                 "'15.02.2009'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MESAVE'.
    CALL TRANSACTION 'ME22N' USING BDCDATA MODE 'A' UPDATE 'A' MESSAGES INTO MSGDATA. 
        CLEAR: BDCDATA,BDCDATA[].
        refresh BDCDATA.
      ENDLOOP.
    ENDFORM.                    " bdc_process
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
      IF FVAL <> ''.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
      ENDIF.
    ENDFORM.                    "BDC_FIELD
    *To get file name                                                      *
    FORM GET_FILENAME .
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
        IMPORTING
          FILE_NAME     = P_FILE.
      IF SY-SUBRC NE 0  .
        WRITE : / 'Enter File Name'.
      ENDIF.
    ENDFORM.                    "GET_FILENAME

    Hi Dude,
      When ur looping the item information , in your code ur
    loop at it_item where ebeln = it_upload-ebeln.
    perform bdc_field using 'BDC_CURSOR'
    'DYN_6000-LIST'.
    perform bdc_field using 'DYN_6000-LIST'
    it_upload-list. "' 1'.
    perform bdc_field using 'MEPO1334-BSTAE'
    it_upload-BSTAE. "'0005'.
    perform bdc_field using 'BDC_CURSOR'
    'EKES-ERDAT(01)'.
    perform bdc_field using 'EKES-EBTYP(01)'
    it_upload-EBTYP. "'vc'.
    perform bdc_field using 'RM06E-LPEIN(01)'
    it_upload-LPEIN. "'D'.
    perform bdc_field using 'RM06E-EEIND(01)'
    it_upload-EEIND. "'15.02.2009'.
    perform bdc_field using 'EKES-MENGE(01)'
    it_upload-MENGE. "'10'.
    perform bdc_field using 'EKES-XBLNR(01)'
    it_upload-XBLNR. "'inv 9'.
    perform bdc_field using 'EKES-ERDAT(01)'
    it_upload-ERDAT. "'15.02.2009'.
    perform bdc_dynpro using 'SAPLMEGUI' '0014'.
    perform bdc_field using 'BDC_OKCODE'
    '=MESAVE'.
    ->(01) you have to replace to variable , and every loop pass increment the varialbe value with 1.
    ex : -
    V1 = 1.
    loop at item.
    perform bdc_data using 'xyz(V1)' 
                                   it_upload-variable.
    V1 = V1 + 1.
    endloop.
    This is called as index , the table control fields are differ the field name by index only...

  • I need the drivers of EDR Enhanced for LabVIEW 8.6 or more, please.

    Hello, I want to acquire a signal with the microDAQ-Lite of EAGLE Technology and I need the EDR Enhanced LabView Driver. The one I have is for labview 6.x or 7. Currently I am working in Labview 2010 so I am needing the drivers for this version. I have found in a webpage (http://edr-enhanced-for-labview.software.informer.com/8.5/ ) that a version developed by National Instruments for version 8.5 exists, it says it is free, but i cant find it. Does anyone knows if a newer version exist? or where can I find the latest one?? Please help.
    Thanks in advance.
    Alejandra 

    NI does not develop drivers for third-party DAQ devices. Contact the vendor or use the driver you have. You can load version 6 and 7 into LabVIEW 2010.

Maybe you are looking for