Bdc  PP01

Hi friends,
I have a BDC for PP01 that delimits cost center for a position  and assign a new cost center , it shows record created . In pp01 i am getting the new cost center  with old one delimited properly . But when I go to holder of the position in Pa20 , I  am not getting the new cost center it still shows old cost center.
Thanks a lot.

Hi,
you have to start the report RHINTE30.
please also
have a look at
http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/bdc1e8575911d189240000e8323d3a/frameset.htm
Regards
Bernd

Similar Messages

  • How to create an object of type 99

    Hi guys,
    Am struck creating a HR object with subty = 99.
    I was trying to BDC  PP01 transaction.
    But I dont see the object type 99.
    They call it as FI hierarchy node...
    Am a HR Tech consultant..
    Could not understand what that means...
    Please help me how to create an object in HR with subty 99
    Thanks in advance...

    Class.forName does not create an object. It returns a reference to the Class object that describes the metadata for the class in question--what methods and fields it has, etc.
    To create an object--regardless of whether it's your class or some other class--you could call newInstance on the Class object returned from Class.forName, BUT only if that class has a no-arg constructor that you want to call.
    Class<MyClass> clazz = Class.forName("com.mycompany.MyClass");
    MyClass mine = clazz.newInstance();If you want to use a constructor that takes parameters, you'll have to use java.lang.reflect.Constructor.
    Google for java reflection tutorial for more details.
    BUT reflection is often abused, and often employe when not needed. Why is it that you think you need this?

  • 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.

  • Facing problem during uploadation of Routing data using CA01-BDC - URGENT

    Dear All,
    When I am trying to upload Routing data using CA01 in the Table Control scenario, then I am facing problem as my last 2 records are not getting uploaded from my Test file.
    For example, I am having 47 records in my Test File and after setting ‘Default size’ parameters (to avoid screen resolution problem)
    I have 15 table control line items data per page. The Page down logic ('=P+') is working fine, but my below BDC code failed to take
    the remainder last 2 records from the Test File.
    Analysis: When I am running my “Call Transaction” bdc in foreground, then the 1st page down occurs after 15th record, 2nd page down occurs after 29th record( as in Table Control 1st page’s 15th record is coming on the Top of 2nd page). 3rd page down occurs after 43rd record
    (as 2nd page’s 29th record is coming on the top of 3rd page). In the 4th Table Control Page 43rd record of previous page is coming on top, and then it’s taking 44th & 45th records from the Test File and then it is triggering SAVE (=BU). Thus, our last 2 records
    (i.e. 46th, 47th record) are not getting uploaded in the routing screen from our Test File.
    If anybody has encountered this scenario previously, please help me URGENTLY in fixing the bugs here. It’s VERY, VERY URGENT…
    FYI. For others 45 successful records already uploaded, all the screen fields values are coming properly in the routing screen, and here there is no issue.
    Thanks very much…
    Thanks & Regards
    Sudipta – Project Lead
    Volvo Client Location
    I am pasting my BDC source code below:
    REPORT ZRT1_UPLOAD_CA01_F
                           NO STANDARD PAGE HEADING
                           LINE-SIZE 255.
                            I N C L U D E S                              *
    Include for Data Declarations
    INCLUDE zrout_top.
    Include for Forms
    INCLUDE zrout_form.
    INCLUDE zrout_include_f_ca01.
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    Attaching F4 help with filename
      PERFORM F1001_GET_F4.
               S T A R T   -   O F  -  S E L E C T I O N                 *
    START-OF-SELECTION.
    Perform to read the input file
      PERFORM f_read_file.
    Perform to fill the BDC data
      PERFORM f_fill_bdctab.
                   E N D   -   O F  -  S E L E C T I O N                 *
    END-OF-SELECTION.
      FREE: i_bdcdata,
            i_messtab,
            i_record.
    x----
    *&  Include           ZROUT_TOP                                        *
                      D A T A B A S E    T A B L E S                     *
    TABLES: t100.          "Messages
                    D A T A    D E C L A R A T I O N S                   *
    T A B L E    T Y P E S *****************************
    For input data
    TYPES: BEGIN OF ty_record,
            matnr(18),  "Material Number
            werks(4),   "Plant
            verwe(3),   "Usage
            statu(3),   "Status
            arbpl(8),   "Work Center
            steus(4),   "Control Key
            ltxa1(40),  "Description of Operation
            bmsch(13),  "Base Quantity
            meinh(3),   "Unit of Measure
            vgw01(11),  "Machine
            vge01(3),   "Unit of measure of activity
          END OF ty_record.
    I N T E R N A L    T A B L E S ***********************
    Internal Table for input file name
    DATA: i_file_tab  TYPE STANDARD TABLE OF sdokpath   INITIAL SIZE 0.
    Internal Table for BDC Data
    DATA: i_bdcdata   TYPE STANDARD TABLE OF bdcdata    INITIAL SIZE 0.
    Internal Table for BDC Messages
    DATA: i_messtab   TYPE STANDARD TABLE OF bdcmsgcoll INITIAL SIZE 0.
    Internal Table for Input file
    DATA: i_record TYPE STANDARD TABLE OF ty_record INITIAL SIZE 0.
    W O R K      A R E A S *************************
    Work Area for input file name
    DATA: wa_file_tab LIKE sdokpath.
    Work Area for BDC Data
    DATA: wa_bdcdata LIKE bdcdata.
    Work Area for BDC Messages
    DATA: wa_messtab LIKE bdcmsgcoll.
    Work Area for Input file
    DATA: wa_record TYPE ty_record.
    V A R I A B L E S ****************************
    DATA: v_filename TYPE string,
          v_fnam(40) TYPE c.
    DATA: wa_opt TYPE ctu_params.
    C O N S T A N T S ***************************
    CONSTANTS: c_werks TYPE rc27m-werks VALUE 'tp',
               c_steus TYPE plpod-steus VALUE 'PP01'.
    *Selection Screen.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS:
              Input file name
                P_FILE TYPE rlgrap-filename OBLIGATORY. " DEFAULT 'C:\'.
    SELECTION-SCREEN END OF BLOCK B1.
    x----
    *&  Include           ZROUT_FORM                                       *
    *&      Form  f_fill_bdctab
          Form to fill the BDC Data
    FORM f_fill_bdctab.
      TABLES mapl.          "Assignment of Task Lists to Materials
      DATA: l_cnt_item(3)  TYPE n VALUE 1.    "Line item counter
      DATA: first(3)  TYPE n VALUE 16.    "Line item counter
      DATA: next(3)  TYPE n .    "Line item counter
      DATA: lin(3) TYPE n .    "Line item counter
      DATA: l_v_bmsch(13),   "Base qty
            l_v_meinh(3),    "Unit of Measure
            l_v_vgw01(11),   "Machine
            l_v_vgw02(11),   "Labour
            l_v_vge01(3).    "Unit of measure of activity
      DATA l_v_nextline TYPE sy-tabix.
      DATA wa_temp TYPE ty_record.
        Initialize Counter
          l_cnt_item = 1.
      SORT i_record BY matnr.
      LOOP AT i_record INTO wa_record.
    AT NEW matnr.
        REFRESH: i_bdcdata,
                 i_messtab.
        SET PARAMETER ID 'PLN' FIELD space.
        SET PARAMETER ID 'PAL' FIELD space.
        PERFORM f_bdc_dynpro      USING 'SAPLCPDI' '1010'.
        PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
      Material Number
        PERFORM f_bdc_field       USING 'RC27M-MATNR'
                                        wa_record-matnr.
       Plant
        PERFORM f_bdc_field       USING 'RC27M-WERKS'
                                        c_werks.
        PERFORM f_bdc_field       USING 'RC271-PLNNR'
      Check if routing already exits for the material
        SELECT * FROM mapl
                      INTO mapl
                                WHERE matnr EQ wa_record-matnr
                                  AND werks EQ c_werks
                                  AND plnty EQ 'N'.
          IF sy-subrc EQ 0.
            PERFORM f_bdc_dynpro      USING 'SAPLCPDI' '1200'.
            PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                            '=ANLG  '.
          ENDIF.
        ENDSELECT.
        perform f_bdc_dynpro      USING 'SAPLCPDA' '1200'.
        perform f_bdc_field       USING 'BDC_OKCODE'
                                  '=VOUE'.
    Group Counter
        perform f_bdc_field       USING 'PLKOD-PLNAL'
      Usage
        PERFORM f_bdc_field       USING 'PLKOD-VERWE'
                                        '1'.
      Status
        PERFORM f_bdc_field       USING 'PLKOD-STATU'
                                        '4'.
    ENDAT.
        PERFORM f_bdc_dynpro      USING 'SAPLCPDI' '1400'.
      Check if page is full
        IF l_cnt_item EQ '16'.
        Page down
          PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                               '=P+'.
          l_cnt_item = 1.
    ELSE.
    PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
    ENDIF.
       CLEAR v_fnam.
      Populate item level details
    Work Center
        CONCATENATE 'PLPOD-ARBPL(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-arbpl.
      Control Key
        CONCATENATE 'PLPOD-STEUS(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        c_steus.
      Description of Operation
        CONCATENATE 'PLPOD-LTXA1(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-ltxa1.
      Base Quantity
        CONCATENATE 'PLPOD-BMSCH(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-bmsch.
      Unit of Measure
        CONCATENATE 'PLPOD-MEINH(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-meinh.
      Machine
        CONCATENATE 'PLPOD-VGW01(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-vgw01.
      Labour
       CONCATENATE 'PLPOD-VGW02(' l_cnt_item ')' INTO v_fnam.
       PERFORM f_bdc_field       USING v_fnam
                                       wa_record-vgw02.
      Unit of measure of activity
        CONCATENATE 'PLPOD-VGE01(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-vge01.
          l_cnt_item = l_cnt_item + 1.
       CLEAR wa_record.
    AT END OF matnr.
         PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
          PERFORM f_bdc_field         USING 'BDC_OKCODE'
                                  '=BU'.
         wa_opt-DISMODE = 'A'.
         wa_opt-DEFSIZE = 'X'.
         wa_opt-UPDMODE = 'S'.
        PERFORM f_bdc_transaction USING 'CA01'.
       Initialize Counter
         l_cnt_item = 1.
    ENDAT.
      ENDLOOP.
    ENDFORM.                    " f_fill_bdctab
    x----
    *&  Include           ZROUT_INCLUDE_F_CA01                             *
    *&      Form  f_read_file
          Form to read the file from presentation server
    FORM f_read_file .
    To get the file name
      DATA l_v_file TYPE string.
    l_v_file = P_FILE.
    CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                = l_v_file
            filetype                = 'ASC'
            has_field_separator     = 'X'
          TABLES
            data_tab                = i_record
          EXCEPTIONS
            file_open_error         = 1
            file_read_error         = 2
            no_batch                = 3
            gui_refuse_filetransfer = 4
            invalid_type            = 5
            no_authority            = 6
            unknown_error           = 7
            bad_data_format         = 8
            header_not_allowed      = 9
            separator_not_allowed   = 10
            header_too_long         = 11
            unknown_dp_error        = 12
            access_denied           = 13
            dp_out_of_memory        = 14
            disk_full               = 15
            dp_timeout              = 16
            OTHERS                  = 17.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    ENDIF.
    ENDFORM.                    " f_read_file
    *&      Form  f_bdc_dynpro
          Form to populate BDC Tab for new screen
         -->fp_program   Screen program name
         -->fp_dynpro    Screen Number
           Start new screen                                              *
    FORM f_bdc_dynpro USING fp_program fp_dynpro.
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = fp_program.
      wa_bdcdata-dynpro   = fp_dynpro.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO i_bdcdata.
    ENDFORM.                    "f_bdc_dynpro
    *&      Form  f_bdc_field
           Insert field                                                  *
    FORM f_bdc_field USING fp_fnam fp_fval.
      IF NOT fp_fval IS INITIAL.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam = fp_fnam.
        wa_bdcdata-fval = fp_fval.
        APPEND wa_bdcdata TO i_bdcdata.
      ENDIF.
    ENDFORM.                    "f_bdc_field
    *&      Form  f_bdc_transaction
          Call transaction and error handling
         -->fp_tcode   Transaction code
    FORM f_bdc_transaction  USING fp_tcode.
      DATA: l_mstring(480),
            l_color         TYPE i,
            l_mode          TYPE c.
      REFRESH i_messtab.
    CALL TRANSACTION fp_tcode USING i_bdcdata
                       OPTIONS FROM wa_opt
                       MESSAGES INTO i_messtab.
    Messages during upload
      LOOP AT i_messtab INTO wa_messtab.
        CASE wa_messtab-msgtyp.
          WHEN 'S'.
            l_color = 5.
          WHEN 'E'.
            l_color = 6.
          WHEN 'W'.
            l_color = 3.
        ENDCASE.
        FORMAT COLOR = l_color.
        SELECT SINGLE * FROM t100 WHERE sprsl = wa_messtab-msgspra
                                  AND   arbgb = wa_messtab-msgid
                                  AND   msgnr = wa_messtab-msgnr.
        IF sy-subrc = 0.
          l_mstring = t100-text.
          IF l_mstring CS '&1'.
            REPLACE '&1' WITH wa_messtab-msgv1 INTO l_mstring.
            REPLACE '&2' WITH wa_messtab-msgv2 INTO l_mstring.
            REPLACE '&3' WITH wa_messtab-msgv3 INTO l_mstring.
            REPLACE '&4' WITH wa_messtab-msgv4 INTO l_mstring.
          ELSE.
            REPLACE '&' WITH wa_messtab-msgv1 INTO l_mstring.
            REPLACE '&' WITH wa_messtab-msgv2 INTO l_mstring.
            REPLACE '&' WITH wa_messtab-msgv3 INTO l_mstring.
            REPLACE '&' WITH wa_messtab-msgv4 INTO l_mstring.
          ENDIF.
          CONDENSE l_mstring.
          WRITE: / wa_messtab-msgtyp, l_mstring(250).
        ELSE.
          WRITE: / wa_messtab.
        ENDIF.
        FORMAT COLOR OFF.
      ENDLOOP.
      SKIP.
    ENDFORM.                    " f_bdc_transaction
    FORM F1001_GET_F4.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                PROGRAM_NAME  = SY-REPID
                DYNPRO_NUMBER = SY-DYNNR
                FIELD_NAME    = P_FILE
           CHANGING
                FILE_NAME     = P_FILE
           EXCEPTIONS
                MASK_TOO_LONG = 1
                OTHERS        = 2.
      IF SY-SUBRC <> 0.
      File is not selected
       MESSAGE I000 WITH TEXT-M01.
      ENDIF.
    ENDFORM.                    " F1001_GET_F4

    Sudipta,
    Would request you to post this to ABAP-Forum for Immediate response.
    I had this problem, but the ABAP guy did something to correct this...it was more of screen resoultion difference between the recorded system and uploading system. Please try to use the same system which was used to record and try.
    Regards,
    Prasobh

  • What is the tcode for bdc recording and how to do in hr-abap for pa and om

    hi,
         I need to do the bdc recording for pa and om. So, can any of you tell me how to do and what are the tcodes we have to use.
    thanks & regards,
        Sekhar.

    Hi ,
    Here is the link from you will get all the transaction code
    http://www.sap-basis-abap.com/saphr004.htm
    As far PA specfic some tcodes are given below
    PA20  Display HR Master Data
    PA30  Maintain HR Master Data
    PA40  Personnel Actions
    PA41  Correct Actions
    PA42  Fast Entry for Actions
    PA46  Import from Resumix
    PA47  Export to Resumix
    PA48  Hiring from non-SAP system
    PA51  Display Time Data
    PA53  Display Time Data
    PA61  Maintain Time Data
    PA62  List Entry of Additional Data
    PA63  Maintain Time Data
    PA64  Calendar Entry
    PA70  Fast Entry
    PA71  Fast Entry of Time Data
    PA88  Benefits
    For OM specific
    PP01  Maintain Plan Data (menu-guided)

  • LSMW for PP01 Tcode

    Hi all,
    I have a requirement in which I need to use LSMW for Tcode PP01 to update some fields of a custom OM Infotype.
    My question is : Is it okay to use LSMW for PP01 tcode or whether I should go for BDC ?
    Are their any constraints in using LSMW for PP01 Tcode ?
    Kindly assist

    you can use LSMW method, because its have screen level validation , if you can go for BDC you need to write logic for validation....

  • Bdc performance in "No screen" mode, on slow network, on remote server.

    Hi,
    We have created a bdc program in ABAP.
    say, our servers are installed in US. and our users are trying to execute bdc by uploading a data file from UK.
    consider that the connectivity(network) between our US office and UK office is not so goood.
    i understand that the upload of the data file will take time. but after the upload, for bdc execution, how the bdc performance gets impacted by the network performance.
    if we execute the bdc in All screen mode, i am convinced that the bdc will definetly will take a long time to execute, becasue UK user needs to press "Enter" several no. of times, and so many pings will happen to the server.
    if we execute the bdc in No Screen mode, does it meen it is completely background process.
    i mean in this case also, is the screen info passed to and from between the server(US) and the sapgui(UK).
    or
    once the data upload is over, in  No Screen mode, the entire activity is done in server, and the control comes back to sapgui at the end.
    We have put some logs, and we found that most of the time is taken by the CALL TRANSACTION statement
    CALL TRANSACTION 'PP01' USING it_bdcdata
    is there any other points to improve the bdc execution on a remote server.
    thanks in advance,
    Madhu_1980

    Hi Sandra ,
    Thanks for your suggestion throiugh the link.
    Had checked the trouble shooting for  BDC : but the scenario in which i experienc eth eproblem is little different.
    Well the Interface to create vendors was working perfectly in ALL Screen as well as NO-SCREEN mode.
    But a small requirement seem to change its execution.
    The Interface had a commented code snippet : retrieve email address from ADR6 table. Now according to the new requirement this code snippet needs to be utilized. So i uncommented that and duly passed th etable entries into the concerned screen (the code for that screen aldready exsits in the recording but not utilized since the retrieval was commented)
    Collects the email address for any vendor from ADr6 table
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    now for linking the above created vendor, FK02 BDC is maintained. In this BDC the payment transaction screen is used to link payee vendors (above created vendor)  at company code level for any principal vendors (selected from lfa1 and lfb1 table). So only two screens for linking .
    this entire code was working perfect in both A mode and  N mode  but after including the ADR6 code snippet i dont find teh similar execution in N mode.
    Could you please guide me where could i ahve made some mistake.
    thanks
    Kylie
    Edited by: kylietisha on Jun 6, 2010 5:27 PM
    Edited by: kylietisha on Jun 6, 2010 5:42 PM
    Edited by: Rob Burbank on Jun 6, 2010 4:33 PM

  • HR OOPS BDC

    Hello Gurus,
    I have a requirement, to update HR OM IT 1222-Gen Attributes. The requirement is to update IT 1222 - Gen Att, through PP01 Tcode for both Position and Org Unit, at any point of time either position or Org unit should be upldated through Flat file (.txt or .csv). Now here we have records for creation, change and delete records.
    Can any one suggest how can we achive the requirement.
    Thanks
    Ram

    Ram,
    If you want it to be done using BDC then i would suggest you to use Transaction Code PP02 instead of PP01.
    Regards
    Bala

  • BDC (recording of transacttion PPOME)

    Hi,
    Can anyone help me to create recording of transaction PPOME. I want to delimit objects in infotype 1000.
    In transaction PPOME, the click on the "search term" of any of the objects is not getting registered in the recording. Is there any method which will help me to do the same?
    Is there any other transaction which i can use to serve the required purpose (delimiting objects of infotype 1000)?

    you can use PP01  or PP02 to delimit IT-1000, Search helps or F4 values wont come in recordings (any transaction).
    you will need to pass the object id explicitly in your bdc program.
    reward points if helpful

  • Reg : BDC for OM

    Hi,
    I want to write BDC for OM Tcode : ppoc_old.
    But the process gets stopped in the first screen itself.
    Can anyone help me out ??

    You can create any OM object via PP01.
    You can create all the relationships between ant OM objects via PP01.
    What I do is, for creation of organizational units I create a separate BDC (as their keys are determined after creation).
    Then I write the second BDC and make the necessary connections for the org unit by using the keys determined at the end of the first batch input run.
    For all of them I use PP01.
    Regards,
    Dilek
    Edited by: Dilek Ersoz Adak on Dec 14, 2009 8:23 AM

  • Create OM data without BDC

    Hi
    I have to upload data for OM module for PP01 tcode and i dont want to go for BDC  which FM i should use pls help me out
    Regards
    Meeta

    The easyest way is by the FM RH_INSERT_INFOTYPE.
    Starting mainaining the Infotype 1000 and then all the next you need.
    If you don't know the OBJID of the Object you are creating then use this FM to know it.
    CALL FUNCTION 'RH_GET_NEXT_NUMBER'
            EXPORTING
             action                           = 'DIRECT'
              ext_number                       = lv_objid
              otype                            = lv_otype
              plvar                            = gv_plvar
        TEST_MODE                        =
           IMPORTING
             number                           = lv_objid
           EXCEPTIONS
             invalid_action                   = 1
             number_must_be_zero             = 2
             invalid_object                    = 3
             no_external_interval_found       = 4
             no_internal_interval_found       = 5
             invalid_number                   = 6
             no_more_numbers_available        = 7
             OTHERS                           = 8
    enjoy

  • IT0000 enhancement and PP01,PP02

    Hi
    I have 2 questions
    1) Actual difference between PP01 and PP02 - ppl say that PP02 is used for BDC but how and why, and why not PP01
    i could'nt find any difference between them, please help
    2) Can IT0000 be enhanced, i think NO, as there is no CI_INCLUDE in it, but why, can anybody explain why it cannot be enhanced
    Thanks and Regards
    Manu

    Hi,
    1) The difference is that in PP02 you write down the infotype and subtype numbers manually, whereas in PP01 you select the infotype from a list.
    There may be times the cursor point cannot be determined by BDC or LSMW (especially when infotype is in the lower parts of the list which needs a "scroll-down" action).
    2) I don't think IT0000 has a CI_INCLUDE. Please check the SAP Note 611947.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/60/d8d8c7576311d189270000e8322f96/frameset.htm
    Regards,
    Dilek
    Edited by: Dilek Ersoz Adak on Jan 13, 2010 1:53 PM

  • Submission of BDC Program in Module Pool fails

    HI,
    I have written the BDC Program to change the position text using 'PP01' .  When it is executed, its changing the value correctly.
    In my module Pool Program, i am calling the BDC Program using SUBMIT as background job . But it throws an RUN TIME ERROR.
    Could you please let me know, whether is this possible or not?
    Thanks in advance.
    Thanks,
    K.Tharani

    Hi Tharani.
    Please check whether u has been used OOPS  ALV (using Costom container)in module pool programming. If that was the case, system throws an rum time error.
    Regards,
    surya.

  • Create BDC recording for position,job,role

    hi all,
    i want to create BDC recording for position,job,role . what is the transaction for creating postion,job, role?/??
    and i have to check wheather for one job , role is there or not? if not i have to create that role.. similiarly i have to check for position that there is corresponding job is there or not.. if not i have to create the job???
    how would i do that??
    thanks
    SAchin

    Hi Sachin,
    1) Creating BDC is an ABAP-ers job and being functional its not ur responsibility. If u really want to do that then u can do it through T.Code - SHDB.
             While creating BDC for Position u have to go through T.Cdoe - SHDB and in that give PP01 in the TRANSACTION CODE feild. Then go on for recording.  After that ask the help of an ABAP-er.
    2) To Check if a POSITION or a JOB is there, then Go to T.Code - PP01, under Obj Abbr. feild put S for POSITION and C for JOB and press enter after entering the POSITION and JOB id. U'll get the result. OK
    3) To check for ROLE, u have go to T.Code - PFCG and there check for the particular ROLE u r looking for. Here in this T.Code u can actually create, change and delete the ROLES.OK
    Hope this helps,
    ARNAV...

  • Error while running a BDC for the Transaction F-02

    Hi,
           I'm getting an error <b><i>"Parking not possible during Batch Input"</i></b> while running a BDC for the transaction F-02.
           When i click on the error message it displays the message [b<i>]"In Customizing, you can control whether an error message is issued."</b></i>
            How to solve this issue?.
            Waiting for ur replies.........
    Regards
    N.Senthil

    Hi,
    When you are doing the recording in SHDB, and in the same screen where the TCODE to be recorded is given, there are options that you can choose called "Recording Parameters"...Select the checkbox which says "Not a Batch Input Session", this will set the sy-binpt variable to " "(in a recording by default it is "X")...and you will not get this error...
    Also make sure while writing the BDC program to make use of the "bdc options" parameter which has this property to switch of sy-binpt...
        Refer below theard for sample bdc code for f-02.
    https://forums.sdn.sap.com/click.jspa?searchID=5126766&messageID=1538409
    Regards

Maybe you are looking for