BDC for PP01 ( Delimit the record )

Hi Genius,
    Am recording The Transaction PP01. in During Recording popup screen does not appear.
But in program execution POPUP screen appear.. how to skip this popup or how to record this screen.

Hi,
   I am also working on a similar requirement for prices conditions, i have tried BAPI_PRICES_CONDITIONS,
i am unable to find the record in KONH table, i even used RV_CONDITION_MAINTENANCE though it creates the record but
uses gui screen as VK11 we don't want that. Any suggestions will be help ful thankyou.

Similar Messages

  • Fm to create, modify delimit the records in master data for org mag

    hi,
        There is a fm hr_infotype_operation to create, modify, delimit the records for one infotype of pernrs.
    Like this I want fm through which i can create, modify the records to master data of organisational management (OM). Whatever the infotype i will enter in that fm and data it will create a new record in OM master data. 
              If anybody know this, please tell me.
    thanks & regards,
        Sekhar.

    Hi,
    Try RH_UPDATE_INFTY.
    RH_INSERT_INFTY.
    RH_DELETE_INFTY.
    Regards,
    Dilek

  • Script code sample for looping  through the records from xml data file in formCalc script

    Hi
       I have a xml data file which contains a sequence of repeating applicant data like given below
                       US
                       II
                       CEO
                       Mr
                       111111111
                       0000000111
                       GuarantorA
                       111
                       IN
                       11111
                       WILLIAMS1
                       R3
                       KENNETH1
                       City1GU
                       PA
                       1934-03-14
                       [email protected]
                       GU
                       R
                       113 Lazlo LaneCA
                       Suite 3500CA
                       OaklandCA
                       TX
                       11345
                       AL
    I want to assign a textfield with a value based on the value of coap_flag.
    So i need to loop through all the record and check the value of coap_flag and then assign the textfield a value based on that.
    I am new to Adobe livecycle...Please help me how it can be done.
    I have developed something like this
    foreach Item in ($record.applicant[*].coap_flag) do
    test.value=Item
    if(test.value=="MA")then
    concat($record.applicant.first_name,$record.applicant.middle_name)endif
    endfor

    Using the data you posted in the forum, I copied it a couple of times to give multiple records and used this code to extract the different values that you wanted. I had to wrap it in a <root> node that I called root (to make it valid XML). In my case I wrote the extracted values to a field, but in your case you can do whatever you want with them. Note that this was done in javascript:<br /><br />var currentElement;<br />var obj;<br /><br />//Get the nodes below the root node in the dataDom<br />obj = xfa.datasets.data.root.nodes;<br /><br />//Set an initial value for the textField<br />TextField1.rawValue = "The values of the coap_flag are: ";<br /><br />//Loop through the nodes in the obj set <br />for (i=0; i< obj.length ; i++){<br />     //set the currentElement to the 1st child node<br />     currentElement = obj.item(i);<br />     //Check to see if it is an applicant node<br />     if (currentElement.name == "applicant"){<br />          //It is an applican, now find the coap_flag node value and write it to the text field<br />          TextField1.rawValue += "\n" + xfa.resolveNode("xfa.datasets.data.root.applicant[" + i + "]").coap_flag.value;<br />     }<br />}

  • How to show serial umber for each of the record in a table stating with 1.

    I want to show serial number starting from 1 for each of the row in the table. Is there any why to achieve this in OBIEE answers?

    simple.. take a dummy col and put formula RCOUNT(1)

  • Lead Selection to be disabled for some of the records in Table

    Hi ,
    I have 5 records in table .User shouldn't be allowed to select four rows thosse four rows should be in disable mode just for display purpose.Only one Row must be allowed to select(lead select).
    How can I Achieve above Functionality.
    Thanks & Regards
        Kiran

    Hi Kiran,
    Probably you might have tried the following.
    Bind OnLeadSelect event to some action.
    And in that action method write the code to fetch selected lead and check if it is 0(first row) else set leadselection to 0
    int selectedRow = wdContext.node<node name>().getLeadSelection();
    if(selectedRow!=0)
        wdContext.node<node name>().setLeadSelection(0);
    With this code the user can not select any of the rows other than first.
    If this is not what u require please let me know
    Regards,
    Santhosh

  • BDC for Transaction IA01 including recording from excel (sample Code)

    Dear Experts,
                        Can anyone give me a sample BDC code for transaction IA01 from excel
    Thanks in advance
    Regards
    Sayandeep

    Hi,
    Try This Code
    report Y_P_GB01
           no standard page heading line-size 255.
             R O H M     A N D     H A A S    C O M P A N Y              *
    ======================================================================
    Development ID :  mqhpkl                                                   *
    Creation Date  :  24-11-2008                                           *
    Developer Name :  Paramesh Kalluri                                    *
    Program Title :  Upload the Special Ledger data from Excel to SAP    *
    Description   :                                                      *
                           Constants                                     *
    CONSTANTS: c_begcol TYPE i VALUE 1,
               c_begrow TYPE i VALUE 1,
               c_endcol TYPE i VALUE 10,
               c_endrow TYPE i VALUE 10.
                        Types Declaration                                *
    TYPES : begin of d_itab,
    data element: BUKRS
            BUKRS_001(004),
    data element: DOCTY
            DOCTY_002(002),
    data element: RVERS
            RVERS_003(003),
    data element: BUDAT
            DATE_004(010),
    data element: RTCUR
            RTCUR_005(005),
    data element: GCURR_A
            GCURR_006(005),
    data element:
            GD_USE_TARGET_LEDGER_007(001),
    data element:
            TARGET_LEDGER_008(002),
    data element: UTAB_D
            UTAB_009(030),
    data element: VTCUR12
            TSL_010(019),
          end of d_itab.
                          Data Declarations                              *
    DATA: it_bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE,
          it_bdcmsgcoll LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
          XL_itab type alsmex_tabline occurs 0 with header line,
          msg_disp TYPE string.
    data : it_itab type standard table of d_itab,
           wa_itab type d_itab.
                         Selection Screen                                *
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_file LIKE rlgrap-filename.
    SELECTION-SCREEN: END OF BLOCK b1.
                    At Selection Screen  for File                        *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    perform f4_filename.
                     Start-of-selection                                  *
    start-of-selection.
    *Uploading the data from excel to internal table
    perform excel_upload.
    *Uploading to SAP
    perform chek_data.
    if sy-subrc ne 0.
    perform format_message.
    endif.
    end-of-selection.
    *&                   Form  F4_FILENAME
          Find the file
    -->  p1        text
    <--  p2        text
    FORM F4_FILENAME .
    CALL FUNCTION 'F4_FILENAME'
       IMPORTING
        FILE_NAME           = p_file.
    ENDFORM.                    " F4_FILENAME
    *&                   Form  CHEK_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM CHEK_DATA .
    loop at it_itab into wa_itab.
    perform bdc_dynpro      using 'SAPMGBUK' '0102'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLU1-BUKRS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ERF'.
    perform bdc_field       using 'GLU1-BUKRS'
                                  wa_itab-bukrs_001.
    perform bdc_field       using 'GLU1-DOCTY'
                                  wa_itab-docty_002.
    perform bdc_field       using 'GLU1-RVERS'
                                  wa_itab-RVERS_003.
    perform bdc_field       using 'RGBUK-DATE'
                                  wa_itab-DATE_004.
    perform bdc_field       using 'GLU1-RTCUR'
                                  wa_itab-RTCUR_005.
    perform bdc_field       using 'RGBUK-GCURR'
                                  wa_itab-GCURR_006.
    perform bdc_field       using 'GD_USE_TARGET_LEDGER'
                                  wa_itab-GD_USE_TARGET_LEDGER_007.
    perform bdc_field       using 'TARGET_LEDGER'
                                  wa_itab-TARGET_LEDGER_008.
    perform bdc_field       using 'T883S-UTAB'
                                  wa_itab-UTAB_009.
    perform bdc_dynpro      using 'SAPMGBUK' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLU1-TSL'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'GLU1-TSL'
                                  wa_itab-TSL_010.
    perform bdc_dynpro      using 'SAPMGBUK' '0110'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLU1-TSL'.
    perform bdc_dynpro      using 'SAPLSPO1' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=YES'.
    perform bdc_dynpro      using 'SAPMGBUK' '0102'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLU1-BUKRS'.
    CALL TRANSACTION 'GB01' USING IT_BDCDATA MODE 'A' UPDATE 'A' MESSAGES
    INTO IT_BDCMSGCOLL.
    CLEAR WA_ITAB.
    refresh it_bdcdata.
    ENDLOOP.
    ENDFORM.                    " CHEK_DATA
    *&                   Form  EXCEL_UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM EXCEL_UPLOAD .
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        FILENAME                      = p_file
        I_BEGIN_COL                   = c_begcol
        I_BEGIN_ROW                   = c_begrow
        I_END_COL                     = c_endcol
        I_END_ROW                     = c_endrow
      TABLES
        INTERN                        = xl_itab.
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at xl_itab.
        case xl_itab-col.
          when '1'.
            wa_itab-bukrs_001 = xl_itab-value.
          when '2'.
            wa_itab-docty_002 = xl_itab-value.
          when '3'.
            wa_itab-RVERS_003 = xl_itab-value.
          when '4'.
            wa_itab-DATE_004 = xl_itab-value.
          when '5'.
            wa_itab-RTCUR_005 = xl_itab-value.
          when '6'.
            wa_itab-GCURR_006 = xl_itab-value.
          when '7'.
            wa_itab-GD_USE_TARGET_LEDGER_007 = xl_itab-value.
          when '8'.
            wa_itab-TARGET_LEDGER_008 = xl_itab-value.
          when '9'.
            wa_itab-UTAB_009 = xl_itab-value.
          when '10'.
            wa_itab-TSL_010 = xl_itab-value.
    *at end of row.
           append wa_itab to it_itab.
    *endat.
        endcase.
    at end of row.
            append wa_itab to it_itab.
    endat.
      endloop.
    ENDFORM.                    " EXCEL_UPLOAD
    *&                      Form  BDC_DYNPRO
          text
         -->P_0169   text
         -->P_0170   text
    FORM BDC_DYNPRO  USING A B.
    clear it_bdcdata.
      it_bdcdata-PROGRAM  = A.
      it_bdcdata-DYNPRO   = B.
      it_bdcdata-DYNBEGIN = 'X'.
    APPEND it_bdcdata.
    ENDFORM.                    " BDC_DYNPRO
    *&                  Form  BDC_FIELD
          text
         -->P_0174   text
         -->P_0175   text
    FORM BDC_FIELD  USING C D.
    clear
    it_bdcdata.
        it_bdcdata-FNAM = C.
        it_bdcdata-FVAL = D.
       APPEND it_bdcdata.
    ENDFORM.                    " BDC_FIELD
    *&                  Form  FORMAT_MESSAGE
          text
    -->  p1        text
    <--  p2        text
    FORM FORMAT_MESSAGE .
    LOOP AT IT_BDCMSGCOLL.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = IT_BDCMSGCOLL-MSGID
       LANG            = '-D'
       NO              = it_bdcmsgcoll-msgnr
       V1              = IT_BDCMSGCOLL-MSGV1
       V2              = IT_BDCMSGCOLL-MSGV2
       V3              = IT_BDCMSGCOLL-MSGV3
       V4              = IT_BDCMSGCOLL-MSGV4
    IMPORTING
       MSG             = MSG_DISP
    EXCEPTIONS
      NOT_FOUND       = 1
      OTHERS          = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE:/ MSG_DISP.
    ENDLOOP.
    ENDFORM.                    " FORMAT_MESSAGE
    ******************End of the Program**********
    All the best

  • IT0169 and delimit the records

    Hi Experts,
    I have 4 plans A,B,C,D (subtype) under IT 0169 (Savings plans)
    My  requirement is:
    IF i have a record for subtype A and I want to create a new record for subtype B than Subtype A should be delimited with end date = start date of subtype B and vis-a-versa.
    Pls let me know how to achive this scenario.
    Regards
    Sachin

    There is a user exit you can implement for modifying IT0169. Go ahead implement that for your custom needs. I had used the same for other purposes related to IT0169. Hope it helps

  • FM for delimit the infotype record

    Hi
    I'm new to HR-ABAP.I need to develop function modules to delimit the some infotype records (eg: 0167,0168,0014,2006 etc)
    Presently i developed the function module that has following source code.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
        EXPORTING
          number        = empno
    CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
         tclas                 = 'A'
          pernr                 = empno
          infty                 = '0167'
          begda                 = delimitdate
          endda                 = delimitdate
      BYPASS_BUFFER         = ' '
      LEGACY_MODE           = ' '
    IMPORTING
      SUBRC                 =
        TABLES
          infty_tab             = itab "itab is of the structure p0167
    enddate = itab-endda.
    MOVE delimitdate TO itab-endda.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty                  = '0167'
          number                 = empno
          subtype                = itab-subty
          objectid               = itab-objps
          lockindicator          = itab-sprps
          validityend            = enddate
          validitybegin          = itab-begda
          recordnumber           = itab-seqnr
          record                 = itab
          operation              = 'LIS9'
          tclas                  = 'A'
          dialog_mode            = '0'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
       IMPORTING
         return                 = return
      KEY                    =
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
        EXPORTING
          number        = empno
    when i use 'MOD' operation in FM 'HR_INFOTYPE_OPERATION' that FM runs perfectly.it changes the enddate to delimit date in the table PA0167.
    But, when i use 'LIS9' (delimiting) operation FM is throwing following error message
    "E PG  428 A complex application error has occurred".
    I need help regarding this error statement.can i use 'MOD' operation to delimit the records (time constraint of most of the infotype record to be delimited is 2).In which case we use 'LIS9'??
    Also any SAP function modules for delimiting IT2006 infotypes????
    Pls suggest.
    Thank u,
    shrinivas
    Message was edited by: Shrinivas

    For 167 & 168 have you looked at HR_BEN_TERMINATE_HEALTH_PLAN & HR_BEN_TERMINATE_INSURE_PLAN?
    The error message you got is actually mapped to (00)344 ie "No batch input data for screen & &"
    For the delimit operation, you probably,need to pass the delimit date separately..
    I have a feeling this function call cannot be used for the delimit operation le 'LIS9'.AS the delimit date is usually entered on a pop-up box when you do it via PA30.
    ~Suresh

  • To Record  J1IS BDC  For Multiple Line Items

    Hi,
      Iam trying to record BDC for J1IS transaction.
    while  recording  material document which contains more than  8 line items , Only 8 line items get saved and the rest of the items doesn't get saved ,
        But when I  do this manually then  all the line items get saved,
        Can anyone give the remedy for this Problem (to record J1IS for multiple line items).
      Thanks in Advance.
    Regards,
    S.Janani.

    Hi Janani / Leo
    The problem might be that the scroll down functionality after 8 line items is not recorded in your recording.
    In order to overcome the issue, you need to check OK__CODE whicle page down and add it in recording after Number of line items are greater than 8.
    Please check below link for details:
    http://scn.sap.com/thread/1106677
    http://scn.sap.com/thread/797827
    http://scn.sap.com/thread/2037271
    Best Regards,
    Sachin

  • Not able to scroll up in BDC for J1IJ

    Hi,
    I am trying to create a BDC for J1IJ transaction.The problem comes if there are multiple excise invoices for a delivery document (program SAPMJ1IJ screen 400). For the first line item ,the scroll is initialized automatically to the first record in program SAPMJ1IJ screen 0500 as shown below.
    The problem occurs while selecting the excise invoice after the first line item in  program SAPMJ1IJ screen 400. The problem is that the scroll bar in this screen is not on the top but somewhere in between.As a result of which the BDC program cannot determine the quanity to be selected from the actual quantity.Refer to below screen for the position off the scroll bar.
    Can anyone tell me the function code or some solution of how to initialize the scroll bar at the top for the table control?
    Thanks in advance.

    Hi Subhabrata,
    Try using this BAPI: BAPI_EXCINV_CREATE_FROMDATA
    Regards,

  • BDC for MM01(Material creation)

    Hello Please anybody send me code for creating materials with reference to reference material and plant in sselection screen in version ECC 6.0?
    My selection screen will be::
    Reference material:                                                       Plant:

    Plz User <b>BAPI_MATERIAL_SAVEDATA</b>
    Why So :
    you will never get it to work correctly in all cases every time for all material types, it is just much easier to work with an API that is not screen dependent. Then you don't have to worry about all of the exceptions when dealing with certain material types, and such. For example, say you have a material which you want to update the po text, and you did your recording for another material, which didn't have a specific view, so now when doing BDC for this material, the screen where you select the view you want to process, may be in a different place in the table control, see what I'm getting at? Its just very much easier to work with BAPIs and is suggest to use BAPI over BDC whenever possible.
    Also still u want to go for it, check this code :
    REPORT Y730_BDC5 .
    *HANDLING TABLE CONTROL IN BDC
    DATA : BEGIN OF IT_DUMMY OCCURS 0,
    DUMMY(100) TYPE C,
    END OF IT_DUMMY.
    DATA : BEGIN OF IT_XK01 OCCURS 0,
    LIFNR(10) TYPE C,
    BUKRS(4) TYPE C,
    EKORG(4) TYPE C,
    KTOKK(4) TYPE C,
    NAME1(30) TYPE C,
    SORTL(10) TYPE C,
    LAND1(3) TYPE C,
    SPRAS(2) TYPE C,
    AKONT(6) TYPE C,
    FDGRV(2) TYPE C,
    WAERS(3) TYPE C,
    END OF IT_XK01,
    BEGIN OF IT_BANK OCCURS 0,
    BANKS(3) TYPE C,
    BANKL(10) TYPE C,
    BANKN(10) TYPE C,
    KOINH(30) TYPE C,
    LIFNR(10) TYPE C,
    END OF IT_BANK.
    DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
    IT_BDCMSGCOLL LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    FILENAME = 'C:\VENDOR.TXT'
    FILETYPE = 'ASC'
    TABLES
    DATA_TAB = IT_DUMMY.
    LOOP AT IT_DUMMY.
    IF IT_DUMMY-DUMMY+0(2) = '11'.
    IT_XK01-LIFNR = IT_DUMMY-DUMMY+2(10).
    IT_XK01-BUKRS = IT_DUMMY-DUMMY+12(4).
    IT_XK01-EKORG = IT_DUMMY-DUMMY+16(4).
    IT_XK01-KTOKK = IT_DUMMY-DUMMY+20(4).
    IT_XK01-NAME1 = IT_DUMMY-DUMMY+24(30).
    IT_XK01-SORTL = IT_DUMMY-DUMMY+54(10).
    IT_XK01-LAND1 = IT_DUMMY-DUMMY+64(3).
    IT_XK01-SPRAS = IT_DUMMY-DUMMY+67(2).
    IT_XK01-AKONT = IT_DUMMY-DUMMY+69(6).
    IT_XK01-FDGRV = IT_DUMMY-DUMMY+75(2).
    IT_XK01-WAERS = IT_DUMMY-DUMMY+77(3).
    APPEND IT_XK01.
    ELSE.
    IT_BANK-BANKS = IT_DUMMY-DUMMY+2(3).
    IT_BANK-BANKL = IT_DUMMY-DUMMY+5(10).
    IT_BANK-BANKN = IT_DUMMY-DUMMY+15(10).
    IT_BANK-KOINH = IT_DUMMY-DUMMY+25(30).
    IT_BANK-LIFNR = IT_DUMMY-DUMMY+55(10).
    APPEND IT_BANK.
    ENDIF.
    ENDLOOP.
    LOOP AT IT_XK01.
    REFRESH IT_BDCDATA.
    perform bdc_dynpro using 'SAPMF02K' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'RF02K-REF_LIFNR'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RF02K-LIFNR'
    IT_XK01-LIFNR.
    perform bdc_field using 'RF02K-BUKRS'
    IT_XK01-BUKRS.
    perform bdc_field using 'RF02K-EKORG'
    IT_XK01-EKORG.
    perform bdc_field using 'RF02K-KTOKK'
    IT_XK01-KTOKK.
    perform bdc_dynpro using 'SAPMF02K' '0110'.
    perform bdc_field using 'BDC_CURSOR'
    'LFA1-TELX1'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'LFA1-NAME1'
    IT_XK01-NAME1.
    perform bdc_field using 'LFA1-SORTL'
    IT_XK01-SORTL.
    perform bdc_field using 'LFA1-LAND1'
    IT_XK01-LAND1.
    perform bdc_field using 'LFA1-SPRAS'
    IT_XK01-SPRAS.
    perform bdc_dynpro using 'SAPMF02K' '0120'.
    perform bdc_field using 'BDC_CURSOR'
    'LFA1-KUNNR'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_dynpro using 'SAPMF02K' '0130'.
    perform bdc_field using 'BDC_CURSOR'
    'LFBK-KOINH(02)'.
    perform bdc_field using 'BDC_OKCODE'
    '=ENTR'.
    DATA : FNAM(20) TYPE C,
    IDX TYPE C.
    MOVE 1 TO IDX.
    LOOP AT IT_BANK WHERE LIFNR = IT_XK01-LIFNR.
    CONCATENATE 'LFBK-BANKS(' IDX ')' INTO FNAM.
    perform bdc_field using FNAM
    IT_BANK-BANKS.
    CONCATENATE 'LFBK-BANKL(' IDX ')' INTO FNAM.
    perform bdc_field using FNAM
    IT_BANK-BANKL.
    CONCATENATE 'LFBK-BANKN(' IDX ')' INTO FNAM.
    perform bdc_field using FNAM
    IT_BANK-BANKN.
    CONCATENATE 'LFBK-KOINH(' IDX ')' INTO FNAM.
    perform bdc_field using FNAM
    IT_BANK-KOINH.
    IDX = IDX + 1.
    ENDLOOP.
    perform bdc_dynpro using 'SAPMF02K' '0130'.
    perform bdc_field using 'BDC_CURSOR'
    'LFBK-BANKS(01)'.
    perform bdc_field using 'BDC_OKCODE'
    '=ENTR'.
    perform bdc_dynpro using 'SAPMF02K' '0210'.
    perform bdc_field using 'BDC_CURSOR'
    'LFB1-FDGRV'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'LFB1-AKONT'
    IT_XK01-AKONT.
    perform bdc_field using 'LFB1-FDGRV'
    IT_XK01-FDGRV.
    perform bdc_dynpro using 'SAPMF02K' '0215'.
    perform bdc_field using 'BDC_CURSOR'
    'LFB1-ZTERM'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_dynpro using 'SAPMF02K' '0220'.
    perform bdc_field using 'BDC_CURSOR'
    'LFB5-MAHNA'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_dynpro using 'SAPMF02K' '0310'.
    perform bdc_field using 'BDC_CURSOR'
    'LFM1-WAERS'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'LFM1-WAERS'
    IT_XK01-WAERS.
    perform bdc_dynpro using 'SAPMF02K' '0320'.
    perform bdc_field using 'BDC_CURSOR'
    'WYT3-PARVW(01)'.
    perform bdc_field using 'BDC_OKCODE'
    '=ENTR'.
    perform bdc_dynpro using 'SAPLSPO1' '0300'.
    perform bdc_field using 'BDC_OKCODE'
    '=YES'.
    CALL TRANSACTION 'XK01' USING IT_BDCDATA
    MODE 'A'
    UPDATE 'S'
    MESSAGES INTO IT_BDCMSGCOLL.
    ENDLOOP.
    FORM BDC_DYNPRO USING PROG SCR.
    CLEAR IT_BDCDATA.
    IT_BDCDATA-PROGRAM = PROG.
    IT_BDCDATA-DYNPRO = SCR.
    IT_BDCDATA-DYNBEGIN = 'X'.
    APPEND IT_BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
    CLEAR IT_BDCDATA.
    IT_BDCDATA-FNAM = FNAM.
    IT_BDCDATA-FVAL = FVAL.
    APPEND IT_BDCDATA.
    ENDFORM.
    All things r available in SDN, please search.
    Reward points if useful.
    Thanks
    vinsee

  • How could you map the Records of OM- PA

    Hello Experts,
    How could you map the Records of OM->PA ,if the designation of person changes from manager to supervisor from certain date.and how can we see the changed records??
    Solution :we can see the changes in the addition action infotype 302,personel hiring action(0000) delimit the record whenerver we changes the designation,and in the orgassingment infotype overview ,action infotype over view we can see the changes and PLOGI-ORGA IS the integration switch and position is the key for map the recoed from OM ->PA
    Post your comments if the solution is correct???
    Regards
    Chandra

    Thanks  a Lot!!!!
    Regards
    Chandra

  • How to Mapping  the records between OM-PA

    How could you map the Records of  OM->PA  ,if  the designation of  person changes from  manager to supervisor from certain date.and how can we see the changed records??
    Solution :we can see the changes  in the addition action infotype 302,personel hiring action(0000) delimit the record whenerver we changes the designation,and in  the orgassingment infotype overview ,action infotype over view we can see the changes and PLOGI-ORGA IS the integration switch and position is the key for map the recoed from OM ->PA
    Post your comments if the solution is correct???
    Regards
    Chandra

    hi,
    kindly go through the below message i hope it will help you.
    when the employee designation is changed the action of employee changed in infotype 0000 and previous record is delimited and that current recod automatically reflect on infotype 0001 and you find the position of employee here and esily identify.
    in this way when the position changes in OM it will reflect on PA.(in infotype0001).
    thanks and regards..
    Bibek

  • Can we create a single bdc for raw materials , and for some other transacti

    hi
    can we create a single bdc for raw materials , and for some other transaction? how?

    Hi Jyothsna
    For one transaction you will have to build your bdc table according to the recording for that transaction and then call that transaction using the bdc table. For another transaction , you will again have to build the bdc table with the details of that transaction.
    You cannot call all at one shot.
    Cheers
    shivika

  • How to Delimit the date in a table

    Hi experts,
    A master table has fields like BEGDA and ENDAT.
    I want to delimit the records based on DATE.
    Kindly provide me some example.
    Thanks in advance for ur valuable thoughts.

    U can delimit a date for an entry or entires in a table  Ex:
    SM30 , V_T511 
    Delimit the table .......end date form 01.02.2009 tp 31.12.9999
    if this is not the issue than can you be some more clear ...

Maybe you are looking for

  • Using Mac OS X and external harddrives

    I was wondering if there is anyway to allow Mac OS X to copy/edit files on a Windows-Formatted external harddrive because I want to use the harddrive with both Windows and Mac OS X on my MacBook Pro and use Mac OS X for Itunes, Movies, etc., and Wind

  • BDC on ME22N

    Hi Frnds, I am trying to do the BDC program for the trnasaction ME22N to undelete all the purchase order line items. Also I have to check "GOODS RECEIPT" check box, for the same line itme, which is present in the "DELIVERY" tab. Here i am facing two

  • Numark im1 works with 2nd generation ipod touch can it be made to work with 4th generation

    Numark im1 works with 2nd generation ipod touch can it be made to work with 4th generation

  • RPAS MFP workbook formatting after batch run

    First, let me apologize as I am new to RPAS. During our weekly batch run, workbooks are generated, but we must manually reformat the workbooks, all the tabs and profiles and is very time consuming. Where would I start my education to understand how t

  • Cannot change startpage in internet explorer

    Hello. I have a problem. The problem is about change startpage in ie. When i change my startpage, my old startpage comming up. I have tried to delete the old startpage from register, i have made a nal object, i have made a reg file with the new start