Bdc for bom from  plant to plant

Hi Experts,
We need to do bdc for bom from existing plant 1102 to new plant 1103. I have searched the forum regarding this but it suggest bapi or function module for it. Can anyone guide is bdc possible for my issue?
Regards,
Pawan.

Hi.,
As you got BAPI for that go for BAPI only since BAPI is preferable that BDC.. and ., Yes you can create BDC for any transaction except for new enjoy transactions (like ME51n ) .,
Go to SHDB  transaction.,
click on new recording.,
Enter Recording name and transaction., and press Enter.
now do copy for plant bom .,
save recording.,
then select the recording and click on program button.,
Enter program name and description. and click on source code.,
With little modification you can use that program.
Hope this helps u.,
Thanks & Regards,
Kiran

Similar Messages

  • How to create a PR for BOM from a Project (WBS, Network or Activity) ?

    Hello All,
    Project Structure:
    Project Defination
                1 level WBS
                           2 level WBS
                                 Network (Supply of Material for Sub station)
                                                Activity (Procurement of materials) Internal
                                                           Material Component (BOM)  Main Item
                                                                          Component 1
                                                                          Component 2
                                                                          Component 3..................
    Now i want to directly create a PR for this BOM and its components as well and using this PR i want to create a PO and procure the materials against the project.
    Can any one help me in this regard.
    Thanks and Regards,
    Sudarshan.

    Hello Sukhveer,
    Thanks for your reply.
    I have maintained in Material master MRP views and is also relevant for MRP.
    Also at the time of entering the BOM main materail, i am entering the item categery as L and exploding the BOM by going through the path:
    Go to Activty materail components, select the BOM main materail, now in the menu goto EDIT --> Component ---> Explode BOM.
    The component materails are getting exploded under the BOM main material, but the item categery of the main item is changing from L to T (Text item) and the PR's are created for all the component items individually after i save the project.
    Regards,
    Sudarshan.

  • BDC report for BOM master

    can any body help me to do one bdc for
    BOM master?? i m doing this first time so i need some input
    thanks well in advance.
    points ll be rewarded...
    Message was edited by:
            soumya shekhar

    hi
    good
    When you try to create, you would find a pushbutton 'INSERT NEW LINES' or something simialr to enter your data in the next line. Say you're entering the Material inthe first row, its field position would be MARA-MATNR(01). Now when you click the Insert Pushbitton the cursor always is at positon 2. so you have to loop the remaining data to enter in MARA-MATNR(02). Yougenereally set a counter and pass that counter value (in this case the counter value is 2 always)
    The other case when you don't have a push button to Insert. Enter all the rows and then do a Page down. Now your cursor would sit back at position 2 again. Say if there are 20 rows in the first screen. You would keep incrementing the counter and then when it is 21 you do a pagedown and then reset the counter to 2. You loop the pagedown and in it you loop the counter.
    I have attached a BDC where I use the second case (no push button). Do a recording and then you would know all the answers by yourself.
    *& REPORT ZPP0122 *
    *& Module : PP |
    *& Application : The program loads the Material Assignment of Routings |
    *& |
    REPORT zpp0122 NO STANDARD PAGE HEADING
    MESSAGE-ID z0
    LINE-SIZE 132
    LINE-COUNT 65(2).
    Internal Tables *
    *Internal table for the Routing fields.
    DATA: BEGIN OF i_rout OCCURS 0,
    plnnr(8),
    plnal(2),
    matnr(18),
    werks(4),
    END OF i_rout.
    DATA:
    g_my_rec_in LIKE i_rout.
    Declare internal table for Call Transaction and BDC Session
    DATA: i_bdc_table LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    Global Variables *
    DATA: g_counter(2) TYPE n,
    g_field_name(18) TYPE c,
    zc_yes TYPE syftype VALUE 'X'.
    Selection Screen *
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
    PARAMETERS: p_fname1 TYPE localfile .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-002.
    PARAMETERS: p_rloc1 AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN BEGIN OF BLOCK c WITH FRAME TITLE text-005.
    PARAMETERS p_group(12) OBLIGATORY DEFAULT 'ZROUTING'.
    SELECTION-SCREEN END OF BLOCK c.
    SELECTION-SCREEN END OF BLOCK b.
    SELECTION-SCREEN END OF BLOCK a.
    **WRITE the report header
    TOP-OF-PAGE.
    INCLUDE zheading.
    Start of selection *
    START-OF-SELECTION.
    Load Input file
    PERFORM f_load_input_file.
    Create BDC records.
    PERFORM create_bdc_records .
    *& Form Create_BDC_records
    perform the BDC for the records in the internal table
    FORM create_bdc_records .
    IF NOT i_rout[] IS INITIAL.
    Open BDC session
    PERFORM open_bdc_session.
    LOOP AT i_rout.
    g_my_rec_in = i_rout.
    AT NEW plnnr.
    CLEAR i_bdc_table[].
    PERFORM insert_screen_header.
    ENDAT.
    CONCATENATE 'MAPL-PLNAL(' g_counter ')' INTO g_field_name.
    PERFORM bdc_field USING g_field_name i_rout-plnal.
    CONCATENATE 'MAPL-MATNR(' g_counter ')' INTO g_field_name.
    PERFORM bdc_field USING g_field_name i_rout-matnr.
    CONCATENATE 'MAPL-WERKS(' g_counter ')' INTO g_field_name.
    PERFORM bdc_field USING g_field_name i_rout-werks.
    PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
    g_counter = g_counter + 1.
    Page Down for further entries
    IF g_counter = 19.
    PERFORM bdc_field USING 'BDC_OKCODE' '=P+'.
    PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
    g_counter = 2.
    ENDIF.
    AT END OF plnnr.
    PERFORM bdc_field USING 'BDC_OKCODE' '=BACK'.
    PERFORM bdc_dynpro USING 'SAPLCPDI' '1200'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.
    PERFORM insert_bdc_new.
    ENDAT.
    ENDLOOP.
    CLEAR i_rout[].
    PERFORM close_bdc_session.
    Release the BDC sessions created
    PERFORM release_bdc.
    ENDIF.
    ENDFORM. " open_group
    *& Form bdc_dynpro_start
    Call the screen for the input of fields
    -->P_G_PROGRAM_1
    -->P_G_SCREEN
    FORM bdc_dynpro USING p_g_program_1
    p_g_screen.
    CLEAR i_bdc_table.
    i_bdc_table-program = p_g_program_1.
    i_bdc_table-dynpro = p_g_screen.
    i_bdc_table-dynbegin = 'X'.
    APPEND i_bdc_table.
    ENDFORM. " bdc_dynpro_start
    *& Form bdc_field
    Insert field *
    FORM bdc_field USING f_name f_value.
    IF f_value <> space.
    CLEAR i_bdc_table.
    i_bdc_table-fnam = f_name.
    i_bdc_table-fval = f_value.
    APPEND i_bdc_table.
    ENDIF.
    ENDFORM. "bdc_insert_field
    *& Form open_bdc_session
    Create the BDC session
    FORM open_bdc_session .
    Open BDC session and creat and update condition records
    CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
    client = sy-mandt
    DEST = FILLER8
    group = p_group
    HOLDDATE = FILLER8
    keep = 'X'
    user = sy-uname
    RECORD = FILLER1
    PROG = SY-CPROG
    IMPORTING
    QID =
    EXCEPTIONS
    client_invalid = 1
    destination_invalid = 2
    group_invalid = 3
    group_is_locked = 4
    holddate_invalid = 5
    internal_error = 6
    queue_error = 7
    running = 8
    system_lock_error = 9
    user_invalid = 10
    OTHERS = 11
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " create_bdc_session
    *& Form insert_screen_header
    Header Data inserted
    FORM insert_screen_header .
    g_counter = 1.
    First screen
    PERFORM bdc_dynpro USING 'SAPLCPDI' '1010'.
    PERFORM bdc_field USING 'BDC_CURSOR' 'RC271-PLNNR'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=ALUE'.
    PERFORM bdc_field USING 'RC271-PLNNR' g_my_rec_in-plnnr.
    PERFORM bdc_field USING 'RC27M-MATNR' ' '.
    PERFORM bdc_field USING 'RC27M-WERKS' ' '.
    PERFORM bdc_field USING 'RC271-PLNAL' ' '.
    *next screen
    PERFORM bdc_dynpro USING 'SAPLCPDI' '1200'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=MTUE'.
    *next screen
    PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
    ENDFORM. " insert_screen_header
    *& Form insert_bdc
    Insert the BDC for the transaction
    FORM insert_bdc_new .
    CALL FUNCTION 'BDC_INSERT'
    EXPORTING
    tcode = 'CA02'
    POST_LOCAL = NOVBLOCAL
    PRINTING = NOPRINT
    SIMUBATCH = ' '
    CTUPARAMS = ' '
    TABLES
    dynprotab = i_bdc_table
    EXCEPTIONS
    internal_error = 1
    not_open = 2
    queue_error = 3
    tcode_invalid = 4
    printing_invalid = 5
    posting_invalid = 6
    OTHERS = 7
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CLEAR i_bdc_table[].
    ENDFORM. " insert_bdc
    *& Form close_bdc_session
    Close the session
    FORM close_bdc_session .
    CALL FUNCTION 'BDC_CLOSE_GROUP'
    EXCEPTIONS
    not_open = 1
    queue_error = 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.
    ENDFORM. " close_bdc_session
    *& Form f_load_input_file
    Load the data file
    FORM f_load_input_file.
    The data file is from Presentation server
    IF p_rloc1 = zc_yes.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = p_fname1
    filetype = 'DAT'
    TABLES
    data_tab = i_rout
    EXCEPTIONS
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    OTHERS = 10.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    EXIT.
    ENDIF.
    ENDIF.
    ENDFORM. " f_load_input_file
    *& Form release_bdc
    Release BDC session
    FORM release_bdc.
    SUBMIT rsbdcsub WITH mappe EQ p_group
    WITH von EQ sy-datum
    WITH bis EQ sy-datum
    WITH fehler EQ '.'
    EXPORTING LIST TO MEMORY
    AND RETURN.
    ENDFORM.
    reward point if helpful.
    thanks
    mrutyun^

  • LSMW creation for BOM

    Hi Abapers,
         I have got an assignment to create a LSMW to accomplish the loading of Bill of material but I have never done LSMW
    before. So Can anybody please tell me that out of four processes in LSMW which one I should use and the flow of that.
    Thanks in Advance
    Deepa

    Hi Deepa,
    I have used bdc for bom creation as I got stuck while using lsmw. I am attaching code snippet for your reference.
    Hope this helps
    loop at itab1.
          move itab1 to wa_itab1.
          perform map_rec.
          call transaction 'CS01' using t_bdcdata mode p_mode update 'A'
          messages into messtab .
    *    clear: wa_itab1,wa_itab2, t_bdcdata.
    *    refresh t_bdcdata.
          loop at messtab where msgtyp = 'E' or msgtyp = 'S' .
            select single * from t100 where sprsl = messtab-msgspra
                                      and   arbgb = messtab-msgid
                                      and   msgnr = messtab-msgnr.
            if sy-subrc = 0.
              mstring = t100-text.
              if mstring cs '&1'.
                replace '&1' with messtab-msgv1 into mstring.
                replace '&2' with messtab-msgv2 into mstring.
                replace '&3' with messtab-msgv3 into mstring.
                replace '&4' with messtab-msgv4 into mstring.
              else.
                replace '&' with messtab-msgv1 into mstring.
                replace '&' with messtab-msgv2 into mstring.
                replace '&' with messtab-msgv3 into mstring.
                replace '&' with messtab-msgv4 into mstring.
              endif.
              condense mstring.
              it_messtab-message = mstring(300).
              it_messtab-plant = itab1-matnr.
              if messtab-msgtyp = 'E'.
                it_messtab-status = 'Error'.
              else.
                it_messtab-status = 'Success'.
              endif.
              append it_messtab.
              clear it_messtab.
            endif.
          endloop. "messtab
          clear: wa_itab1,wa_itab2, t_bdcdata.
          refresh t_bdcdata.
        endloop.
        if not it_messtab[] is initial.
          perform buildcatalog.
          perform display.
        endif.
      endif.
    *&      Form  Map_Rec
    *       text
    form  map_rec.
      perform bdc_dynpro      using 'SAPLCSDI' '0100'.
      perform bdc_field       using 'BDC_CURSOR'   'RC29N-STLAN'.
      perform bdc_field       using 'BDC_OKCODE'   '/00'.
      perform bdc_field       using 'RC29N-MATNR'   wa_itab1-matnr."'505111'.
      perform bdc_field       using 'RC29N-WERKS'   wa_itab1-werks."'2245'.
      perform bdc_field       using 'RC29N-STLAN'   wa_itab1-stlan."'1'.
      perform bdc_field       using 'RC29N-STLAL'   wa_itab1-stlal."'01'.
      perform bdc_dynpro      using 'SAPLCSDI'     '0110'.
      perform bdc_field       using 'BDC_CURSOR'   'RC29K-BMENG'.
      perform bdc_field       using 'BDC_OKCODE'    '/00'.
      perform bdc_field       using 'RC29K-BMENG'   wa_itab1-bmeng."'1000'.
      perform bdc_field       using 'RC29K-STLST'   '1'.
      perform bdc_dynpro      using 'SAPLCSDI'      '0111'.
      perform bdc_field       using 'BDC_CURSOR'    'RC29K-LABOR'.
      perform bdc_field       using 'BDC_OKCODE'    '/00'.
      loop at itab2 where matnr = wa_itab1-matnr
                    and werks = wa_itab1-werks.
        append itab2 to itab3.
        clear : itab2, itab3.
      endloop.
      count = '1'.   "Used as a flag
      clear no_lines.
      describe table itab3 lines no_lines.
      loop at itab3.
        perform bdc_dynpro      using 'SAPLCSDI'         '0140'.
        perform bdc_field       using 'BDC_CURSOR'        'RC29P-POSTP(01)'.
        if itab3-posnr = '01'.
          perform bdc_dynpro      using 'SAPLCSDI' '0140'.
          perform bdc_field       using 'BDC_CURSOR'      'RC29P-POSTP(01)'.
          perform bdc_field       using 'BDC_OKCODE'     '/00'.
          perform bdc_field       using 'RC29P-IDNRK(01)'   itab3-idnrk." '49500'.
          perform bdc_field       using 'RC29P-MENGE(01)'    itab3-menge."'20'.
          perform bdc_field       using 'RC29P-MEINS(01)'    itab3-meins. "'kg'.
          perform bdc_field       using 'RC29P-POSTP(01)'    itab3-postp.      "'l'.
          perform bdc_dynpro      using 'SAPLCSDI' '0130'.
          perform bdc_field       using 'BDC_OKCODE'         '/00'.
          perform bdc_field       using 'BDC_CURSOR'          'RC29P-POSNR'.
          perform bdc_field       using 'RC29P-POSNR'         '0010'.
          perform bdc_field       using 'RC29P-IDNRK'        itab3-idnrk." '49500'.
          perform bdc_field       using 'RC29P-MENGE'       itab3-menge."'20'.
          perform bdc_field       using 'RC29P-MEINS'       itab3-meins. "'KG'.
          perform bdc_dynpro      using 'SAPLCSDI'           '0131'.
          perform bdc_field       using 'BDC_OKCODE'        '/00'.
          perform bdc_field       using 'BDC_CURSOR'        'RC29P-POTX1'.
          perform bdc_field       using 'RC29P-SANKA'      'X'.
        else.
    ***" Ok Code for saving, Corr. to Last line
          if count = no_lines.
            perform bdc_dynpro      using 'SAPLCSDI' '0140'.
            perform bdc_field       using 'BDC_CURSOR'
                                          'RC29P-POSNR(02)'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=FCBU'.
          else.     "Ok Code for new line entry
                  perform bdc_dynpro      using 'SAPLCSDI' '0140'.
            perform bdc_field       using 'BDC_CURSOR'
                                          'RC29P-POSNR(02)'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=FCNP'.
          endif.
          perform bdc_dynpro      using 'SAPLCSDI' '0140'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'RC29P-POSNR(02)'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '/00'.
          perform bdc_field       using 'RC29P-IDNRK(02)'
                                        itab3-idnrk.            "'49502'.
          perform bdc_field       using 'RC29P-MENGE(02)'
                                        itab3-menge.            "'10'.
          perform bdc_field       using 'RC29P-MEINS(02)'
                                        itab3-meins.    "'kg'.
          perform bdc_field       using 'RC29P-POSTP(02)'
                                        itab3-postp.    "'L'.
          perform bdc_dynpro      using 'SAPLCSDI' '0130'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '/00'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'RC29P-POSNR'.
          w_posnr = itab3-posnr * 10.
          condense w_posnr no-gaps.
          if w_posnr <= '90'.
            concatenate '00' w_posnr into w_posnr.
          else.
            concatenate '0' w_posnr into w_posnr.
          endif.
          perform bdc_field       using 'RC29P-POSNR'
                                        w_posnr.                "'0020'.
          perform bdc_field       using 'RC29P-IDNRK'
                                        itab3-idnrk.            "'49502'.
          perform bdc_field       using 'RC29P-MENGE'
                                        itab3-menge.            "'10'.
          perform bdc_field       using 'RC29P-MEINS'
                                        itab3-meins.    "'KG'.
          perform bdc_dynpro      using 'SAPLCSDI' '0131'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '/00'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'RC29P-POTX1'.
          perform bdc_field       using 'RC29P-SANKA'
                                        'X'.
          count = count + 1.  "Increment count for every line item
        endif.
      at end of matnr.
      perform bdc_dynpro      using 'SAPLCSDI' '0140'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RC29P-POSNR(01)'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=FCBU'.
    endat.
      endloop.
    clear itab3[].
    endform. "Map_Rec
    **      Form  BDC_DYNPRO
    form bdc_dynpro using program dynpro.
      clear w_bdcdata.
      w_bdcdata-program  = program.
      w_bdcdata-dynpro   = dynpro.
      w_bdcdata-dynbegin = 'X'.
      append w_bdcdata to t_bdcdata.
    endform.                    "bdc_dynpro
    **      Form  BDC_FIELD
    form bdc_field using fnam fval.
      if fval <> space.
        clear w_bdcdata.
        w_bdcdata-fnam = fnam.
        w_bdcdata-fval = fval.
        append w_bdcdata to t_bdcdata.
      else.
        clear w_bdcdata.
        w_bdcdata-fnam = fnam.
        w_bdcdata-fval = fval.
        append w_bdcdata to t_bdcdata.
      endif.
    endform.                    "bdc_field

  • BDC for order balance

    We are having a procedure in our company where we balance the production order qty (target qty =delivered qty)
    currently we are having a LSMW for that purpose,but this is done centrally by SAP Team and here lies the problem.
    You can Imagine orders from 13 plants come to one station for this purpose.
    1)    We are having a BDC for bom uploading zcs01 created from bdc ,where user calls the transaction zcs01,and the required file is uploaded for creation by giving the path for it...
    Similar to the above example is it possible to create a similar bdc and tcode,where user at plant level can easily operate the production order to balance the qty....
    2)    Is this possible from ourside without much help from ABAPer,since we are able to create  lsmw,recordings through shdb...
    I once tried to do so thru shdb,recording was created,I also generate a program .but while executing it I am confused how to show the destination file where I've the data to be uploaded...
    Plz help...
    Correct me if I am getting wrong...
    Rahul

    THANKS FOR YOUR INPUT,
    WE ARE QUITE AWARE OF LSMW WORKING,BUT CANT GIVE AUTHORITY TO PLANT USERS TO LSMW,HENCE WE AT CENTRAL ARE MAINTAING ALL MASTER DATA AND ALSO THE PROCEDURE OF BALANCING ORDER....
    CAN YOU PLEASE TELL ME HOW THIS BOM UPLOADING  BDC IS CREATED?
    WORKING:- WE JUST MAINTAIN ALL THE FIELDS RELATED TO BOM IN AN EXCEL FILE AND THEN UPLOAD IT TO DESIRED DESTINATION,THEN WE CALL TRANSACTION ZCS01 AND GIVE THE REQUIRED DESTINATION OF FILE WE WANT TO UPLOAD
    AFTER EXECUTING THE REQUIRED BOM ARE BEING CREATED.
                      I BEING A FUNCTIONAL GUY ,NOT HAVING THE REQ KNOWLEDGE...
    PLEASE THROW SOME LIGHT ON IT.....

  • BDC FOR MM02

    Hi Friends,
    i want to write a BDC FOR MM02 T.CODE AT PLANT LEVEL AND METERIAL LEVEL.
    I WANT UPLOAD THE BELOW FEILDS DATA :
    THE FIELDS THAT I WANT UPLOAD IS EISBE(SAFETY STOCK) , MAABC(ABC INDICATOR)
    AND WZEIT(LEAD TIME).....AT PLANT LEVEL AND METERIAL LEVEL.
    PLS HELP ME.... IT IS AN URGENT.
    REGARDS,

    because with LSMW , you can standard program RMDATIND (direct input ==> faster than batch input.
    In step 1 : you select standard program (OBject 0020 method 0000)
    In step 2 you define source structure ZSRC_MARA
    In step 3 you list the fields : MATNR, WERKS, MAABC, MINBE
    In step 4 you make the link of your source struture to BGR00, BMM00, BMMH1
    In step 5 you map your fields + BMM00-XEID1 ( you have to flag the views you consider).
    Finished from developpement side
    DAvid

  • BDC of BOM

    Hi Experta,
    Can someone Guide me How to do BDC for BOM?
    Regards,
    Pawan
    Moderator message: please do more research before asking.
    Edited by: Thomas Zloch on Apr 28, 2011 3:43 PM

    Hi,
    the BDCDATA structure must be fnam, fval,dynbegin,dynpro,program.
    You have to declare like this and pass this in your CALL TRANSACTION statement.
    Please give some other table name for BDCDATA you declared for and also for IBDCDATA.

  • Report for stock transfer from plant to plant

    Hi,
      Is there any standard report for  stock transfer from plant to plant .
      If not is there any enhancements to get the above report.
    Regards,
    Ravindranath.

    Hi Ravi,
    U can use the tcode MB51 and their u can give the input as 301 if it is 1 step in the mvt type or use 303 and 305 for 2 step transfer. and generate the report.
    if u want the list of stock transport orders then use tcode ME2N and the input parameter as  item category "U" and generate the report.
    hope it wud have answered ur question
    Reward if useful
    Shawn

  • Excise invoice for Stock Transfer from Mfg. Plant to excisable Depot

    Hi Experts,
    Which tcode (j1iin or j1is) should be used for creating excise invoice in mfg. plant for transfer the goods to exciseable depot and why.
    And if we procure the material in mfg. plant and transferring the procured material to excisable depot then how can we map or assign incoming excise invoice to outgoing excise invoice so that same duty can be transferred.
    Thanks in advance and points on satisfying answers.
    Kuldeep Dahiya
    Edited by: Kuldeep Dahiya on Jul 4, 2008 4:41 PM

    Hi There
    we will be using J1IIN for the transfer for the simple reason that you cannot move the goods from the manuefacturing plant without paying the excise duty.
    regarding your second query I am unable to understand your exact requirement but as per my understanding you will do the good receipt and CENVAT will be credited and outgoing or stock transfer will happen as the regular process afterwards by debiting the excise duty from the CENVAT account
    Hope this will help
    Manu Seth

  • BDC for deleting vendors at plant level

    Hi experts..
      I have query regarding BDC. Please read  below.
    Go to  MK02 T-code , select valid combination of vendor and purchase organiation -> select 2 check boxes in general data
    -> select 2 check boxes in purchase oraganization data -> press ' Enter ' -> again press ' Enter '-> again press 'Enter '-> select  ' Alternative Data ' in Tool bar -> There you will see all the plant descriptions belongs to vendor under purchase oraganization .
       Now i have to delete some  plants (  based on certain condition  )  here,this i can do by  selecting plant   and press delete line .
       This procedure i have to repeat many vendors. i wanted to implement this through BDC .
         My question is , through BDC how can i select some plant descriptions ( there in the last screen )  . Dynamically i have to select some plant descriptions .
       Thanks much !!!
        Radhika

    Hello dear Srinivas,
    I want to inform you that your question is not in the most appropriated spot for the experts. It is related to FI area but was posted in the logistic area.
    Please close this thread and open a new one in the following spot (ERP FI)
    -SAP ERP Financials
    Best Regards,
    Christian Rosa

  • About the effect for batch level conversion from material to plant level

    Dears,
    Now  we use batch management at material level in our system, now we want to change to batch level from material level to plant level, what effects or risks it will bring during the process of conversion?
    Thanks a lot
    Zhongkai

    Hi
    check the following SAP help link it is very helpful:
    http://help.sap.com/saphelp_40b/helpdata/es/d2/1d4b6e5733d1118b3f0060b03ca329/content.htm
    at the link you can find the following
    Specify batch level and activate status management
    In this IMG activity, you specify the following:
    the level at which batch numbers are unique
    whether batch status management is active in the client
    the plants in which batch status management is active
    the initial status of new batches
    Batch level
    Batch numbers can be unique at the following levels:
    at plant level
    at material level
    at client level for a material
    If you choose plant level, the batch number is unique in conjunction with the respective material and the plant. If you choose material level, the batch number is unique together with the material. At client level, the batch number is unique in the whole client.
    To change the batch level, you have to start a conversion program. This program first checks whether conversion is possible and outputs an error log containing all batch numbers that occur more than once at the new level. Now you need to manually transfer these batch records to numbers within Inventory Management using a transfer posting 'material to material'.
    If you change the level from plant level to a higher level, it is possible that batches with the same batch numbers in different plants are actually identical. In this case, all you have to do is remove stocks (including previous period stocks) so that all batches with the same batch numbers, except one, can be reorganized.
    When you convert from plant level to material level, the material is then to be handled in batches in all plants in which it is defined.
    Standard settings
    In the standard R/3 System, batches are unique at plant level.
    Activities
    To change the batch level, proceed as follows:
          1. Choose the level at which you want your batches to be unique.
          2. Save the new settings and choose Back.
          3. Select function Batch level -> Conversion.
          4. If necessary, carry out the conversion in test mode first.
    Further notes
    Note that you cannot reset conversion from plant level to a higher level in the standard.
    If you create a client by copying an existing client, initially, there are no settings in the target client at batch level. The system makes the settings in the target client only when you have carried out an activity (maintaining master data or posting a goods movement, for example).
    SETTINGS BEFORE/AFTER CLIENT COPY:
    Source client Target client
    Client level Material level
    Material level Material level
    Plant level Plant level
    Batch status management
    Batch status management is an additional function provided by the standard R/3 System.
    Standard settings
    Batch status management is not active in the standard R/3 system.
    Activities
    To activate batch status management, proceed as follows:
          1. Choose Batch status management active.
          2. Save the new setting and choose Back.
          3. Choose Batch status management -> conversion.
          4. If necessary, carry out the conversion in test mode first.
    Further notes
    Batch status management is linked to the batch level. At material and at plant level, the status management settings are valid within the client, that is for all plants. However, if you have defined batches to be unique at plant level, you have to select the plants in which status management is to be active using function Plants with status management.
    If you activate status management, all existing batches are assigned status 'unrestricted'. If you deactivate status management, the systems transfers all restricted batches to unrestricted stock within conversion. Restricted stock only exists if status management is active.
    If you create a client by copying an existing client, status management is automatically activated if batches exist in the target client, independent of the settings in the source client. If no batches exist in the target client, it is not activated. In this case, you have to activate or deactivate status management manually, if required.
    Plants with batch status management
    Activities
    To select the plants in which status management is to be active, proceed as follows:
          1. Set characteristic Batch status management for those plants in which batch status management is to be active.
          2. Save your settings and choose function Back.
          3. Choose function Batch status management -> conversion
          4. If necessary, carry out the conversion in test mode first.
    Initial status of a new batch
    Using this function, you can specify for each material type which initial status new batches are to be assigned. However, if you use a quality management system, this specifies the status of the batches.
    Hope it will help
    Best Regards

  • Help for bdc for transfer of asset plant wise stock transfer(urgent)

    hi all,
    if anyone has done BDC for this scenario ie.,
    bdc for transfer of asset plant wise stock transfer
    then plz share its code with me.and if someone has done any modification regarding this scenario then plz let me know that what modification he/she has carried out in this & share the code for the same.
    i will be grateful to u for this and promise that i will give points to all ur effort.
    Thanks & regards
    Sanjeev

    Hi Sanjeev,
    Do a recording for the transaction using SHDB. Once you are done with the recording save the recording into a zprogram. You have the code.
    Regards
    Arun

  • Authorisation for transfer of material from group of plants to another.

    Hi experts
    We need to control mvt of goods from group of plants to another group of plants by the same user. The group of plants may be combination of multiple plants or single plant also. Transaction to be checked is MB1B with 541/412 mvt. Basically this requirement is to check transfer of exempted material to Non-exempted material from the point of VAT implication. Can any body share your thought.
    rgds
    Raghu Shetty

    Hi,
    i still have some concerns about the creating new materials solution because we have to create the following relevant things:
    SD: condition record
    MM: infor record
    PP: new BoM
    we have 25 materials which will change profit center, there're a lot extra works we need to do.
    Is there any other way we can try?
    Regards

  • Process steps for Capital goods transfer from one exciseable plant to another exciseable plant

    Please guide me about below mention process :
    Capital goods transfer from one exciseable plant to another exciseable plant with updation of RG23C register.
    Goods purchase in prev month.

    Company code to company code u have to treat the another company as Vendor/Customer in each company code books. Then the process is same.  Sale order, delivery and billing to the Customer(2nd company code i.e. stock receiving company code).  Then in receiving company code based on the delivery document of other company code GR can be made. and IV.

  • More than 1 line items in bdc using table controls for BOM

    Hi....
    how do u update more than one line item for BOM using BDC table control.......
    is there any specific command for doing that.......
    hav tried d following code bt it takes the flatfile i/p FOR 2 LINE ITEMS as 2 different BOM'S.....
    would appreciate ur help....plz provide code.............
    REPORT zbdc4_cs01
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    INCLUDE bdcrecx1.
    DATA : a TYPE i,
           b type i,
           c type i.
    DATA : BEGIN OF it_rec OCCURS 0,
           rec(200) TYPE c,
           END OF it_rec.
    DATA : BEGIN OF ctab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           END OF ctab.
    DATA : BEGIN OF xtab OCCURS 0,
           idnrk(18),
           menge(13),
           postp(1),
           END OF xtab.
    DATA : BEGIN OF itab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           idnrk(18),
           menge(13),
           postp(1),
           END OF itab.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = 'C:/TEST4.TXT'
          filetype            = 'ASC'
          has_field_separator = 'X'
        TABLES
          data_tab            = it_rec.
      LOOP AT  it_rec.
        a = strlen( it_rec-rec ).
        if a = 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        elseif a > 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        itab-idnrk = it_rec-rec+55(18).
        itab-menge = it_rec-rec+73(13).
        itab-postp = it_rec-rec+86(1).
        APPEND itab.
        endif.
      ENDLOOP.
      PERFORM open_group.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29N-STLAN'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29N-MATNR'
                                       itab-matnr.           "'3000000107'.
        PERFORM bdc_field       USING 'RC29N-WERKS'
                                       itab-werks.              "'UN02'.
        PERFORM bdc_field       USING 'RC29N-STLAN'
                                       itab-stlan.              "'1'.
        PERFORM bdc_field       USING 'RC29N-STLAL'
        PERFORM bdc_field       USING 'RC29N-DATUV'
                                      '11.08.2008'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0110'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29K-BMENG'
                                      '1'.
        PERFORM bdc_field       USING 'RC29K-STLST'
                                      '1'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-EXSTL'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0111'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-LABOR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSTP(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29P-IDNRK(01)'
                                       itab-idnrk.             "'1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE(01)'
                                       itab-menge.              "'100'.
        PERFORM bdc_field       USING 'RC29P-POSTP(01)'
                                       itab-postp.             "'L'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR'.
        PERFORM bdc_field       USING 'RC29P-POSNR'
                                      '0010'.
        PERFORM bdc_field       USING 'RC29P-IDNRK'
                                      '1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE'
                                      '100'.
        PERFORM bdc_field       USING 'RC29P-MEINS'
                                      'KG'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POTX1'.
        PERFORM bdc_field       USING 'RC29P-SANKA'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=FCBU'.
        PERFORM bdc_transaction USING 'CS01'.
      ENDLOOP.
      PERFORM close_group.

    Hi
    Check this sample code for the Table Control in BDC:
    data: fnam(20) type c.
    move 1 to id.
        loop at TI_STAGING WHERE VENDOR = IT_STAGING-VENDOR AND DOCDATE = IT_STAGING-DOCDATE.
          concatenate 'RM06E-EPSTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-itmcategory.
          concatenate 'EKPO-KNTTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-accassignment.
          concatenate 'EKPO-EMATN(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-material.
          concatenate 'EKPO-TXZ01(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-shortxt.
          quan = ti_staging-poqty.
          concatenate 'EKPO-MENGE(0' id ')' into fnam.
          perform bdc_field       using fnam quan.
          concatenate 'RM06E-EEIND(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-deliverydate.
          netpr = ti_staging-netpr.
          concatenate 'EKPO-NETPR(0' id ')' into fnam.
          perform bdc_field       using fnam netpr.
          concatenate 'EKPO-MATKL(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-mategroup.
          concatenate 'EKPO-WERKS(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-plant.
          ID = ID + 1.
        ENDLOOP.
    Regards,
    Vishwa.

Maybe you are looking for

  • 3.1EA2 Old bug with German language settings still exists

    In the past I wrote several times about a bug in SQL Developer when running in German language mode. This bug is still not fixed in 3.1 EA2: In new folders for user definded reports only the options "Kopieren" and "Speichern unter ..." ('Copy' and 'C

  • CMP Entity Beans with custom finders an primary key class

    Hi everybody. I've got a Entity with a primary key class and a custom finder. I've defined the finder into the xml file like iPlanet's documentation say, but, when I try to run the aplication I get the following error: Exception: SERVLET-run_failed:

  • Score mode

    In score mood the default score-quantize setting keeps being wrong. I can change the default but when I start logic again the setting is gone. Can anybody help my with this?

  • Can't publish (Error code = -50)

    No matter how I try to publish, to itunes or anything, I get the following message: "The project could not be prepared for publishing because an error occurred. (Error code = -50)" The only tip I have been able to find online says to go to the Disk U

  • How to buy iphone for europe online

    Hello I have already traveled to America and I bought an iphone 5, because I live in Italy I asked for  one that supported the European bands. I returned in the states in November, I can buy the iPhone 6 who supported European bands but ONLINE? thank