Production Confirmation Through BDC.

Dear Sap Gurus,
I my production Scenario there is huge data entry at production level and people are doing production entries through
CO11N. So i want to create BDC for production entries. But my problem is how i can handle Goods movement in BDC
in goods movement screen.In my Scenario there is one GR and 5 GIs for every production entries and all the entries are batch managed. so please guide
Regards
ravi

Hi
       My suggestion is you better go for BAPI rather than BDC..
Regards,
Velmurugan S

Similar Messages

  • MFBF -Production confirmation through post with correction

    Hi Gurus,
    I am working on the Repeditive MFg Process. Actually our process is converting 25kg bult material into 7g sachet. so we are keeping this 25kg bulk materil as a raw material in 7g FG Bom and doing MD11, MF60 , and then MFBF using Assembly Backflush -post with correction.
    ISSUE is:
                    System not considering consumed quantity entered in production confirmation. It is rounding up.
    For Exp: While doing production confirmation, even though consumed quantity entered as 73 kg, but system rounding up to 75 kg (nearest multiples of 25 kg).
    Note : (Alternate Uom conversion is 1 Bag =25Kg in material master)
    How to get the exact consumed qty (UOM Kg) conversion to BAG .Like Consumed is 73 KG and the Bag conversion should be 73/25KG =2.92 Bag instead of rounding 73/25=3 Bag what we are getting now.
    Thanks,
    Manikandan.P

    Dear Manikandan,
    If my understanding is correct, then there is no meaning in maintaining the stocks of unit of measurement like bag,barrel,drums
    in decimal places.For eg a stock can be as 3 bag or 10 drum etc.
    Allowing decimal places through CUNI for these UOM is not recommanded.
    Check and revert back.(Also I guess there are similar issues that have been posted earlier,search and find the suggestions in
    those threads).
    Regards
    Mangalraj.S

  • By product confirmation through PI sheet.

    Hi,
        SAP Gurus,
        My client senario is PP-PI. Order confirmation is against PI sheet. The main issue is that they want by-product auto confirmed ( comes in QI stock ) during PI sheet confirmation.
    What settings I have to do to fulfill this requirement. Please let me know.
    Thanks and Regards,
    Harriesh.

    Hi,
    I start with believing that you have maintain -ve Sign in BOM for that By Products.
    You can confirm GI of Components,GR of Header material and By Product (Movement type 531) thorough PI sheet.
        - Use Process Message PI_CONS for both Components and By Product.
        - Use Process message PI_PROD for Header material.
    Activate Post to QI stock in QM view of material master for that By Product.
    Regards,
    Dhaval

  • How can i get production version value(verid) for luck through bdc.

    HI..
    i have one requirement..that in c223 tcode while i luck the production version through BDC in my report program as i given bellow...i upload mat.no , plant, production version and 1(for luck)...
    req:: i want while i given production version for particlular plant and material no...that production version should be luck....
    so in standard tcode c223 how can i get value to compair it with my input production version value then i will close that...
    program:::
    report ZC2232
           no standard page heading line-size 255.
    *include bdcrecx1.
    Tables : mkal.
    data : nodata value '/' .
    data : CTUMODE type c value 'E'.
    DATA : CUPDATE TYPE C VALUE 'L'.
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
          messages of call transaction
    DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    data: begin of HEADER OCCURS 0,
    data element: MATNR
            MATNR_001(018),
    data element: WERKS_D
            WERKS_002(004),
    data element: PLNNR
           PLNNR_003(008),
    data element: CP_STTAG
            STTAG_003(010),
    data element: ENTRY_ACT
           ENTRY_ACT_005(011),
    data element: PLNAL
            PLNAL_004(001),
    data element: FLG_SEL
           FLG_SEL_01_006(001),
    data element: PLANTEXT
           STLAL_004(002),
           DATUV_005(010),
    data element: WERKS_D
           WERKS_008(004),
    data element: PLN_VERWE
           ktext_005(001),
    data element: PLNST
            DELKZ_005(001),
    data element: LOSGRVON
           LOSVN_011(017),
    data element: LOSGRBIS
           LOSBS_012(017),
    data element: PLNME
           PLNME_013(003),
    data element: PLNME
           stlal_014(002),
    end of HEADER.
    data : begin of it_header occurs 0,
           matnr like marc-matnr,
           werks like marc-matnr,
           verid like mkal-verid,
           mksp like mkal-mksp,
           end of it_header.
    data : exnum(40) type c,
           exnum1(40) type c,
           cnt type I,
           CN(2) TYPE C,
           c1 type c value '(',
           c2 type c value ')'.
    start-of-selection.
    parameters: p_file like rlgrap-filename.
    at selection-screen on value-request  for p_file.
      call function 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
      importing
         file_name           = p_file.
    start-of-selection.
    call function 'WS_UPLOAD'
    exporting
      CODEPAGE                      = ' '
       filename                      = p_file
       filetype                      = 'DAT'
      HEADLEN                       = ' '
      LINE_EXIT                     = ' '
      TRUNCLEN                      = ' '
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      DAT_D_FORMAT                  = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = it_header
    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
      NO_AUTHORITY                  = 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.
    DELETE it_header WHERE MATNR IS INITIAL.
    LOOP AT it_header.
    *start-of-selection.
    *perform open_group.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL-WERKS'.
    perform bdc_field       using 'MKAL-WERKS'
                                  it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                   it_header-matnr.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=PICK'.
    perform bdc_field       using 'MKAL-WERKS'
                                 it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                it_header-matnr.
    *>>>>>>>>>>>>>>>>>>>>here what logic can i write****
    clear cnt.
    do 15 times.
    cnt = cnt + 1 .
    CN = CNT.
    exnum = 'MKAL_EXPAND-VERID'.
    concatenate exnum c1 cn c2 into exnum1.
    *perform bdc_field       using 'BDC_CURSOR'
                                   exnum1.
    GET PARAMETER ID 'VER' FIELD EXNUM1.
    CALL TRANSACTION 'C223' AND SKIP FIRST SCREEN.
    if ( it_header-verid = EXNUM1 ).
    exit.
    endif.
    enddo.
    ****************************************************end***>>>>>>>>
    perform bdc_field       using 'BDC_CURSOR'
                                  exnum1.
    perform bdc_dynpro      using 'SAPLCMFV' '2000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL_EXPAND-PLNTY'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=PRFG'.
    perform bdc_dynpro      using 'SAPMSSY0' '0120'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=RW'.
    perform bdc_dynpro      using 'SAPLCMFV' '2000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/ECANC'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL_EXPAND-VERID'.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SAVE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL-WERKS'.
    perform bdc_field       using 'MKAL-WERKS'
                                  it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                  it_header-matnr.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_transaction using 'C223'.
    endloop.
    *perform close_group.
    *&      Form  bdc_dynpro
          text
         -->P_0161   text
         -->P_0162   text
    form bdc_dynpro  USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    endform.                    " bdc_dynpro
    *&      Form  bdc_transaction
          text
         -->P_0351   text
    form bdc_transaction USING TCODE.
    call transaction 'C223' using bdcdata
                             mode    CTUMODE
                             update  CUPDATE
                             messages into messtab.
      if sy-subrc <> 0.
      message e000(zmm01) with
      'Check your input data'.
      endif.
    endform.                    " bdc_transaction
    *&      Form  bdc_field
          text
         -->P_0346   text
         -->P_0347   text
    form bdc_field  USING FNAM FVAL.
      if fval <> nodata.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
        endif.
        endform.                    " bdc_field

    l_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');try to change as follow
    l_nl := dbms_xslprocessor.selectnodes(l_n,'/TaxInvoice/TaxInvoiceDocument','xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0"');Edited by: AlexAnd on Aug 17, 2011 12:36 AM

  • How to add the long text in Production order through FM

    Hi,
    Iam having custom program which has BAPI (BAPI_PRODORD_CREATE) inside it and this program is used to create Production orders with the details of Sales order Number,Line item,Plant,Order type,Quantity and Start date. This program is scheduled in Background.
    Now client wants to add the Long text (seperate TAB in production order and they want to update the VC details of Sales order in the Long text area).
    One option is after creation of Production order, through BDC(calling CO02 and update the long text) we  can update the long text and client doesn't want this option.
    Another option is after creation of Production order, using Function module SAVE_TEXT, Update the Long text in Production Order and this is not working in Production order (already my ABAP consultant checked it ).
    If any one of you came across this requirement, pl share with me how you addressed it.
    Regards
    A.Sureshbabu

    Hi,
    The method is quite simple, i presume you're quite well versed with doing recording, so the key thing to keep in mind is how to prepare the input file.
    At my end i had about 5 lines of data which needed to be uploaded, hence i had a tab-delimited file with the order nos. in the first column & the five lines of text in five different columns (Refer format below)
    Order No.
    Line - 1
    Line - 2
    Line - 3
    Line - 4
    Line - 5
    12345
    txt - 1
    txt - 2
    txt - 3
    txt - 4
    txt - 5
    67890
    txt - a
    txt - b
    txt - c
    txt - d
    txt - e
    Now provide this input file for your lsmw or bdc program & it will work. You can work with your abaper if you're not so comfortable with LSMW or BDC programming he / she should be able to easily make it work for you.
    Regards,
    Vivek

  • Production confirmation cancel through QM

    Dear Sir/Mam
    In our scenario when production order is confirmed we get inspection lot with inspection lot origin 04,if material is accepted i post the stock in unrestricted which acceptable by the user,but if the material has to be rejected we do not want put the stock in blocked.We required that if material is rejected its production confirmation should be reversed means its last operation should be cancalled that means mvt type 102.Please guide
    regards
    kunal

    Dear Sir
    Function module done and assigned to Follow up action of Manual and even assigned to catalog 3 in inspection lot orgin 04 in that rejected(R) selected and that follow up is assigned.
    In qa32 when i m going to usage decision selecting 04, R-Rejected I can see follow up action but Function module is not triggered and where the stock to posted should it to be remained in quality.Can this function module can used for the lot whose stock is posted to unrestricted.Awaiting for your valuable answer.
    Please go through  below code
    Let me know the changes if any.
    FUNCTION ZQM_BAPI_PROD_ORDER.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_QALS) LIKE  QALS STRUCTURE  QALS OPTIONAL
    *"     VALUE(I_QAVE) LIKE  QAVE STRUCTURE  QAVE OPTIONAL
    *"     VALUE(I_QAPO) TYPE  QAPO OPTIONAL
    *"  EXPORTING
    *"     VALUE(E_SUBRC) LIKE  SY-SUBRC
    *"  TABLES
    *"      E_PROTOCOL STRUCTURE  RQEVP OPTIONAL
    *"  EXCEPTIONS
    *"      NOT_FOUND
    *"      INVALID
    **"     REFERENCE(PRUEFLOS) TYPE  QPLOS
    *"     REFERENCE(I_QALS) LIKE  QALS STRUCTURE  QALS OPTIONAL
    *"     REFERENCE(I_QAVE) LIKE  QAVE STRUCTURE  QAVE OPTIONAL
    *"     REFERENCE(I_QAPO) TYPE  QAPO OPTIONAL
    *"  EXPORTING
    *"     VALUE(E_SUBRC) LIKE  SY-SUBRC
    *"  TABLES
    *"      E_PROTOCOL STRUCTURE  RQEVP OPTIONAL
    *"  EXCEPTIONS
    *"      NOT_FOUND
    *"      INVALID
      DATA : CONFIR LIKE  BAPI_PP_CONF_KEY-CONF_NO,
             CONFCOU LIKE  BAPI_PP_CONF_KEY-CONF_CNT,
             RETURN LIKE  BAPIRET1 ,
             LOCKED LIKE  BAPI_CORU_PARAM-LOCKED,
             CREATED_CONF_NO LIKE  BAPI_PP_CONF_KEY-CONF_NO,
             CREATED_CONF_COUNT LIKE  BAPI_PP_CONF_KEY-CONF_CNT.
      DATA:   P_RUECK TYPE AFRC-RUECK,
              P_RMZHL TYPE AFRC-RMZHL.
      DATA: BEGIN OF IT_QALS OCCURS 0.
              INCLUDE STRUCTURE QALS.
      DATA END OF IT_QALS.
      DATA: BEGIN OF IT_AFRC OCCURS 0,
              AUFNR TYPE AFRC-AUFNR,
              RUECK TYPE AFRC-RUECK,
              RMZHL TYPE AFRC-RMZHL,
            END OF IT_AFRC.
    break abap-core.
    *START-OF-SELECTION.
      SELECT single  *
        FROM QALS
        INTO IT_QALS
       WHERE PRUEFLOS = I_QALS-PRUEFLOS.
      IF IT_QALS[] IS NOT INITIAL.
        SELECT AUFNR
               RUECK
               RMZHL
          FROM AFRC
          INTO TABLE IT_AFRC
          FOR ALL ENTRIES IN IT_QALS
          WHERE AUFNR = IT_QALS-AUFNR.
      ENDIF.
      READ TABLE IT_AFRC INDEX 1.
      MOVE : IT_AFRC-RUECK TO P_RUECK,
             IT_AFRC-RMZHL TO P_RMZHL.
      IF SY-SUBRC NE 0.
        MESSAGE 'Value Not Found' TYPE 'I'.
      ENDIF.
      CALL FUNCTION 'BAPI_PRODORDCONF_CANCEL'
        EXPORTING
          CONFIRMATION              = P_RUECK "CONFIR
          CONFIRMATIONCOUNTER       = P_RMZHL "CONFCOU
      POSTG_DATE                =
      CONF_TEXT                 =
       IMPORTING
         RETURN                    =  RETURN
         LOCKED                    =  LOCKED
         CREATED_CONF_NO           =  CREATED_CONF_NO
         CREATED_CONF_COUNT        =  CREATED_CONF_COUNT .
      COMMIT WORK.
      IF SY-SUBRC EQ 0.
        WRITE 'PO Canceled'.
      ENDIF.
    ENDFUNCTION.
    regards,
    Kunal.

  • Reversal of Production Order Confirmation through IDOCS

    Hello all,
                  The time for each operation in a  production order is logged in KabaBEnzing tool called Autotime. This is sent to SAP through IDOCS and the order confirmation is created. There is a scenario where the supervisor could have entered the wrong time against an operation. Is it possible to reverse the confirmation through IDOCs. If yes, please let me know what should be the approach? Also, I heard that SAP does not accept negative time to do the reversal. How true is this?
    All helpful answers will be rewarded.
    Thanks,
    Kalyan

    Hello,
    I saw your message and we are doing the same thing.  Did you find any answers to your questions.   We are using Kaba for our shop system and now we would like to sent negative numbers back to sap because of supervisor adjustments.  I have not found any way to set Sap to allow it.  What conclusions have you came up with the situation.
    Thanks again,
    Jeff

  • Report for open orders and amount of product confirmed

    Hi All,
    Can some one give me an idea on a report which shows open orders and also shows amount of product confirmed against these open orders?
    Thanks,
    Neelima.

    Hi Veni,
    Incomplete order are the order's in which some data is missing so that particular order can't be further processed, that is what you could check through "Incompletion Log". Whereas Open orders are the orders which are open for further processing viz. deliver billing(but open order is a complete order i.e. no data missing).
    Check this program:
    *& Report ZGM_OPENPO *
    REPORT ZGM_OPENPO NO STANDARD PAGE HEADING LINE-SIZE 132 LINE-COUNT 36(2).
    TABLES: t001w, "Plants/Branches
    ekko, "Purchasing Document Header
    ekpo, "Purchasing Document Item
    marc, "Plant Data for Material
    mara. "General Material Data
    DATA:
    BEGIN OF itab OCCURS 0,
    matnr LIKE marc-matnr,
    werks LIKE marc-werks,
    beskz LIKE marc-beskz,
    mmsta LIKE marc-mmsta,
    END OF itab.
    DATA: BEGIN OF iekpo OCCURS 0,
    ebeln LIKE ekpo-ebeln,
    menge LIKE ekpo-menge,
    aedat LIKE ekpo-aedat,
    wemng LIKE eket-wemng,
    END OF iekpo.
    DATA: BEGIN OF iekko OCCURS 0,
    ebeln LIKE ekko-ebeln,
    lifnr LIKE ekko-lifnr,
    bedat LIKE ekko-bedat,
    ekgrp LIKE ekko-ekgrp,
    END OF iekko.
    selection-screen:begin of block b1 with frame title text001.
    SELECT-OPTIONS werks FOR ekpo-werks OBLIGATORY.
    SELECT-OPTIONS matnr FOR ekpo-matnr.
    SELECT-OPTIONS beskz FOR marc-beskz.
    SELECT-OPTIONS bsart FOR ekko-bsart.
    selection-screen:end of block b1.
    INITIALIZATION.
    AT SELECTION-SCREEN ON werks. "Validate for werks
    SELECT SINGLE * FROM t001w WHERE werks IN werks.
    IF sy-subrc 0. MESSAGE e429(mo). ENDIF.
    AT SELECTION-SCREEN ON matnr.
    SELECT SINGLE * FROM mara WHERE matnr IN matnr.
    IF sy-subrc 0. MESSAGE e429(mo).ENDIF.
    START-OF-SELECTION.
    SELECT * FROM marc INTO CORRESPONDING FIELDS OF TABLE itab WHERE werks IN werks AND beskz IN beskz AND
    matnr IN matnr.
    SELECT ebeln FROM ekpo INTO CORRESPONDING FIELDS OF TABLE iekpo
    FOR ALL ENTRIES IN itab WHERE matnr = itab-matnr AND loekz EQ space.
    SELECT ebeln lifnr bedat ekgrp FROM ekko INTO CORRESPONDING FIELDS OF
    TABLE iekko
    FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln AND bsart IN bsart.
    SELECT ebeln menge aedat FROM ekpo INTO CORRESPONDING FIELDS OF iekpo
    FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln. MODIFY iekpo INDEX sy-dbcnt.
    ENDSELECT.
    SORT iekpo BY aedat.
    DELETE ADJACENT DUPLICATES FROM iekpo COMPARING ebeln.
    SELECT wemng FROM eket INTO CORRESPONDING FIELDS OF iekpo FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln.
    MODIFY iekpo INDEX sy-dbcnt.
    ENDSELECT.
    END-OF-SELECTION.
    DATA : file_name TYPE string.
    file_name = 'c:\pay_det\open_po1.xls'.
    DATA : BEGIN OF it_join_fields OCCURS 0,
    field_name(20),
    END OF it_join_fields.
    CLEAR it_join_fields.
    it_join_fields-field_name = 'ebeln'.
    APPEND it_join_fields.
    CLEAR it_join_fields.
    it_join_fields-field_name = 'menge'.
    APPEND it_join_fields.
    CLEAR it_join_fields.
    it_join_fields-field_name = 'aedat'.
    APPEND it_join_fields.
    CLEAR it_join_fields.
    it_join_fields-field_name = 'wemng'.
    APPEND it_join_fields.
    CLEAR it_join_fields.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    filename = file_name
    filetype = 'ASC'
    APPEND = 'X'
    write_field_separator = 'X'
    TABLES
    data_tab = iekpo
    FIELDNAMES = it_join_fields
    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 iekpo.
    IF iekpo-menge NE iekpo-wemng.
    WRITE:/4 iekpo-ebeln,21 iekpo-menge ,46 iekpo-aedat, 56 iekpo-wemng.
    ENDIF.
    ENDLOOP.
    if sy-subrc 0. write / 'no data exist for this plant'. endif.
    TOP-OF-PAGE.
    uline 1(80).
    WRITE :/ sy-vline, 20 ' OPEN purchase ORDERs report' color 5,
    80 sy-vline.
    uline 1(80).
    WRITE:/ sy-vline , 4 'PURSCHASE ORDER' COLOR COL_HEADING,
    20 sy-vline, 21 'ORDER QUANTITY' COLOR COL_HEADING,
    45 sy-vline, 46 'item change' color col_heading, 55 sy-vline,
    56 'RECIEVED QUANTITY' COLOR COL_HEADING, 80 sy-vline.
    uline 1(80).
    END-OF-PAGE.
    WRITE :/ 'PAGE NUMBER' ,SY-PAGNO.
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • Restrict Authorization at Material level during production confirmation

    Hi SAP Gurus,
    I would like to ask if its possible to restrict authorization at Material Level during production confirmation.
    Our scenario is we have SFG and FG which are handled by different group of people but it has the same Order Type. Now we want to restrict authorization such as one department can only confirm SFG and the other department can confirm FG only.
    Is it possible to set authorization at material type or production scheduler level. IF not possible, is there other way except creation of new Order Type?
    Thanks,
    Raymond

    Hi Raymond,
    DO you mean I should create a customized table for this?
    Yes
    Are there no standard way?
    As per my knowledge, you can control through production order type, so you need to create seprate order type for this
    Thanks,
    Sankaran

  • Production Confirmation - Report

    Dear Sirs,
    I am doing production confirmation with a particular Scrap / Reject Qty. through CO11n / CO15.
    Client requires the following:
    1. Wants to Track the Scrap Qty. which is being posted.
    2. Wants to note down the Reasons of rejections and wants a report of the same.
    Do we have a Standard functionality for the above 2 points.
    Kindly help me in this regards,
    Thanks in advance,
    Harris Panchal

    Hi,
    Thanks.
    But if i do the same through QM, means that i have utilised All the resource in Production for All Qty. which is not the case.
    If i scrap the Qty. at the first opn. means the 2nd Opn is producing Qty. - (less) Scrap Qty.
    If i do through QM it would consider that all components manfactured are OK at prodn. which is not the case.
    Please revert back if i am wrong.
    Regards,
    Harris

  • Can we do production confirmation withought routing

    Dear Sirs,
                   There are Sub asseblies(Phantom assembly) which get rejected in line ,we created routing for  each sub-aasly ,then manual confirmation (MFBF)& then reject those assembleis.
                   But in routing 11 it is calulated twice ...So how to handle this scnario

    Dear Sir,
    I am  new in SAP world  ...I am trying to explain once again ...Please dont hesitate to ask if you required more explanation
    We are Automobile manufacturing co. & having stages for each line.
    Production confirmation (131) is done once  at the end of line  so basically one routing is set  at  assly level .
                     But suppose in between line some assly is rejected or  suppose in assly there are 2 different parts 1 part is ok but because there is some problem in 2nd part  complete assembly is rejected & then we have to debit cost of complete assely to vendor who supplied 2nd part.
                    So  to handle such senarios for phantom sub-assly(E-50) we create  routing to get cost  ,then we confirm such sub-assly manually through MFBF ,create their stock in system & then reject.
                   We have routing 1,6 11 & Routing 11 is for cost roll up
    Now basically problem is that cost of subassembleis get calculated twice .As we have
    one work center -one routing - one production confirmation at he end of assly   so system calucalate  cost according to time mentioned in routing in which  we mentioned timing  of those  subassemblies(E50) also. but  as we create routing agasinst these sub asselibles(E50)  system  having double impact of routing .So how to handle this ...
    Regards,
    Satyajit

  • Collective confirmation through COGI-reg

    Hi
    When I do collective confirmation through COHV for production orders, Final issue indicator is set automatically and system does not allow any good issue posting for that orders. can you tell me whether any setting to be done in customising.
    Regards
    Karthikeyan

    Check in OPK1 and OPK0 in the defaults is there a check box ticked for - clear oper reservations?
    If so then the reservation against the ordfer wikll be closed as it will be defaulted during confirmation

  • Reverse Production Confirmation After Usage Decision (UD)

    Hi All ,
                 We are using Quality Inspection Type 04 ("Good Recipt production Inspection ") . We have Done some wrong Entry in Production Confirmation after that quality person also did Usage Decision for the inspection Lot. now we want to cancel this confirmation . will some one help me how we can reverse UD (Usasge Decision) and Cancel the production confirmation .
    Thanks In Advance .
    Regards

    Dear Jaideep,
    Check out this,
    Do you mean to say you want to cancel the document for which 321 movement has been made where the stock has been
    cleared from quality to un-restricted?
    This is not possible,unless if you have used SAP notes,
    Note 1108313 - Cancelling usage decision and lot
    Note 175842 - Inspection lot: Reversal of goods movements from UD.
    Otherwise cancel the confirmation and the error movement 102 will be going to COGI.
    Do 102 through MB31 against that order and delete the 102 error from COGI.
    Check and revert back.
    Regards
    Mangalraj.S

  • FB 75 credit memo through BDC......

    Hi Gurus,
    My client want BDC for credit memo(FB75),.
    Requirement is---
    He is giving credit memo to n number of customers monthly, the entry is
    CR customer(GL 100)
    DR rebates(GL 200)
    GL 200 is assigned in OKB9, TO CO-PA,cost element category is 12.
    while posting this entry need to enter customer and product, becuse he want report at product and customer level in CO-PA.
    Adition that the want to load these amount based on region,sector and AM level also.
    It is possible to post this transaction through BDC and
    if enter custmor manually it is possible to derive fields AM, REGION AND SECTOR from customer master AUTOMATIALLY THrough any developemnt....
    Please suggest it is possible ornot, because while posting this entry we are getting adittinal screen(profitability screen)....pls suggest...
    Thanks,
    Chandu

    Hi
    You can use any of the 2 BAPIs BAPI_ACC_GL_POSTING_POST / BAPI_ACC_DOCUMENT_POST
    Here, you can use FM 'COPA_PROFITABILITY_SEGMENT' to populate the Prof segment
    You can also create a Char group in KEPA and assign it to Busn Transaction in KE4G or to a specific GL account using exit COPA0003
    br, Ajay M

  • Upload data in excel sheet through BDC

    Dear all,
    How do we upload data in excel sheet through BDC?
    Thanks in advance.
    Regards,
    Sandra.

    Hi,
         The sample code is as given below:
    REPORT  upload_supply_area.
    *include for dispaying icons in error log
    INCLUDE <icon>.
    *Declaration of structure.
    TYPES:BEGIN OF x_struct,
          werks TYPE v_pvbe-werks,          "Plant
          prvbe TYPE v_pvbe-prvbe,          "Supply Area
          pvbtx TYPE v_pvbe-pvbtx,          "Production supply area description
          lgort TYPE v_pvbe-lgort,          "Storage Location
          rgver TYPE v_pvbe-rgver,          "Person responsible for one or more supply areas
          END OF x_struct.
    TYPES:BEGIN OF x_messages,
           msgtyp(1) type c,
           werks TYPE v_pvbe-werks,          "Plant
           prvbe TYPE v_pvbe-prvbe,          "Supply Area
           message(120) type c,
           END OF x_messages.
    DATA: it_messages  TYPE STANDARD TABLE OF x_messages .
    DATA: wa_messages TYPE x_messages.
    DATA:it_msgtab TYPE STANDARD TABLE OF bdcmsgcoll,
         wa_msgtab TYPE bdcmsgcoll.
    *internal table for BDC
    DATA: it_bdcdata TYPE STANDARD TABLE OF bdcdata.
    DATA: wa_bdcdata TYPE bdcdata.
    DATA:it_file TYPE STANDARD TABLE OF x_struct.        "internal table which has same structure as file
    DATA:wa_file TYPE x_struct.                          "work area which has same structure as file
    DATA: it_excel TYPE STANDARD TABLE OF alsmex_tabline,
          wa_excel TYPE alsmex_tabline.
    DATA: x_ctuprms TYPE ctu_params.
    DATA:nodata TYPE c VALUE '/'.
    data:con(50) type c.
    data:con1(50) type c.
    *selection screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    *Enter file name on presentation server
    PARAMETERS:  p_file TYPE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    *Function which enables the user to browse the files on hard disk
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          program_name  = syst-repid
          static        = 'X'
        CHANGING
          file_name     = p_file
        EXCEPTIONS
          mask_too_long = 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.
    START-OF-SELECTION.
    *Subroutine to upload excel file and read it
      PERFORM upload.
    *Subroutine to upload supply area data
      PERFORM fill.
    *&      Form  bdc_dynpro
          Fill the BDC table
    FORM bdc_dynpro USING program dynpro.                       "#EC *
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = program.
      wa_bdcdata-dynpro   = dynpro.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO it_bdcdata.
    ENDFORM.                    "BDC_DYNPRO
    *&      Form  bdc_field
           Fill the BDC table
    FORM bdc_field USING fnam fval.                             "#EC *
      IF fval <> nodata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam = fnam.
        wa_bdcdata-fval = fval.
        APPEND wa_bdcdata TO it_bdcdata.                        "#EC
      ENDIF.
    ENDFORM.                    "BDC_FIELD
    *&      Form  collect_messages
          Collect the messages from transaction
    FORM collect_messages .                                     "#EC *
      DATA: w_msg(100).
      LOOP AT it_msgtab INTO wa_msgtab.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = wa_msgtab-msgid
            lang      = wa_msgtab-msgspra
            no        = wa_msgtab-msgnr
            v1        = wa_msgtab-msgv1
            v2        = wa_msgtab-msgv2
          IMPORTING
            msg       = w_msg
          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.
        CONDENSE w_msg.
        CLEAR wa_messages.
        wa_messages-msgtyp = wa_msgtab-msgtyp.
        wa_messages-message = w_msg.
        wa_messages-werks = wa_file-werks.
        wa_messages-prvbe = wa_file-prvbe.
    if wa_messages-message eq 'Formatting error in the field V_PVBE-RGVER; see next message'.
    wa_messages-message = 'Invalid name of the person responsible'.
    endif.
    if wa_messages-message eq 'Formatting error in the field V_PVBE-LGORT; see next message'.
    wa_messages-message = 'Enter the storage location'.
    endif.
        APPEND wa_messages TO it_messages .
      ENDLOOP.
      REFRESH it_msgtab.
    ENDFORM.                    "collect_messages
    *&      Form  write_messages
          Display the messages
    FORM write_messages .
      DELETE ADJACENT DUPLICATES FROM it_messages COMPARING werks prvbe.
      LOOP AT it_messages INTO wa_messages .
        WRITE:/1 sy-vline.
        IF wa_messages-msgtyp = 'S'.
          WRITE: 10 icon_green_light.
        ELSEIF wa_messages-msgtyp = 'E'.
          WRITE: 10 icon_red_light.
        ELSEIF wa_messages-msgtyp = 'W'.
          WRITE: 10 icon_yellow_light.
        ENDIF.
        WRITE: 20 sy-vline.
        WRITE : 30 'Plant-', wa_messages-werks .                "#EC NOTEXT
        WRITE: 48 sy-vline.
        WRITE : 49 'Supply Area-', wa_messages-prvbe .          "#EC NOTEXT
        WRITE: 79 sy-vline.
        WRITE : 80 wa_messages-message .
        WRITE: 180 sy-vline.
        WRITE:/1 sy-vline.
        ULINE 1(180).
      ENDLOOP.
    ENDFORM.                    " write_m
    *&      Form  fill_params
          Processing mode for the transaction
    FORM fill_params .
      x_ctuprms-dismode = 'N'.
      x_ctuprms-updmode = 'A'.
      x_ctuprms-defsize = 'X'.
    ENDFORM.                    "fill_params
    *&      Form  upload
          Upload the excel file and read the data
    FORM upload .
    *Function to upload excel file
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_file
          i_begin_col             = 1
          i_begin_row             = 2
          i_end_col               = 5
          i_end_row               = 9999
        TABLES
          intern                  = it_excel
        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.
      CLEAR wa_file.
    *Read the file row-wise
      LOOP AT it_excel INTO wa_excel.
        CASE wa_excel-col .
    *Read plant
          WHEN '1'.
            wa_file-werks = wa_excel-value.
    *Read supply area
          WHEN '2'.
            wa_file-prvbe = wa_excel-value.
    *Read decription
          WHEN '3'.
            wa_file-pvbtx = wa_excel-value.
    *Read storage location
          WHEN '4'.
            wa_file-lgort = wa_excel-value.
    *Read Person responsible
          WHEN '5'.
            IF STRLEN( wa_excel-value ) = 1.
              CONCATENATE '00' wa_excel-value INTO con.
              wa_file-rgver = con.
            ELSEIF STRLEN( wa_excel-value ) = 2.
              CONCATENATE '0' wa_excel-value INTO con1.
              wa_file-rgver = con1.
            ELSE.
              wa_file-rgver = wa_excel-value.
            ENDIF.
        ENDCASE.
        AT END OF row.
          CONDENSE:wa_file-werks,wa_file-prvbe,wa_file-pvbtx,wa_file-lgort,wa_file-rgver.
          APPEND wa_file TO it_file.
          CLEAR wa_file.
        ENDAT .
      ENDLOOP.
    ENDFORM.                    " upload
    *&      Form  fill
          Call the transaction 'PK05'
    FORM fill .
    *Upload the data through transaction 'PK05'
      PERFORM fill_params.
      LOOP AT it_file INTO wa_file.
        PERFORM bdc_dynpro      USING 'SAPLSVIX' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'D0100_FIELD_TAB-LOWER_LIMIT(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=OKAY'.
        PERFORM bdc_dynpro      USING 'SAPL0PK1' '0020'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'V_PVBE-PVBTX(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=NEWL'.
        PERFORM bdc_dynpro      USING 'SAPL0PK1' '0021'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'V_PVBE-RGVER'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'V_PVBE-WERKS'
                                      wa_file-werks.
        PERFORM bdc_field       USING 'V_PVBE-PRVBE'
                                      wa_file-prvbe.
        PERFORM bdc_field       USING 'V_PVBE-PVBTX'
                                      wa_file-pvbtx.
        PERFORM bdc_field       USING 'V_PVBE-LGORT'
                                      wa_file-lgort.
        PERFORM bdc_field       USING 'V_PVBE-RGVER'
                                      wa_file-rgver.
        PERFORM bdc_dynpro      USING 'SAPL0PK1' '0021'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'V_PVBE-WERKS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SAVE'.
        PERFORM bdc_field       USING 'V_PVBE-WERKS'
                                      wa_file-werks.
        PERFORM bdc_field       USING 'V_PVBE-PRVBE'
                                      wa_file-prvbe.
        PERFORM bdc_field       USING 'V_PVBE-PVBTX'
                                      wa_file-pvbtx.
        PERFORM bdc_field       USING 'V_PVBE-LGORT'
                                      wa_file-lgort.
        PERFORM bdc_field       USING 'V_PVBE-RGVER'
                                      wa_file-rgver.
        CALL TRANSACTION 'PK05'
                           USING it_bdcdata
                           OPTIONS FROM x_ctuprms
                           MESSAGES INTO it_msgtab.
        REFRESH it_bdcdata.
        PERFORM collect_messages.
        CLEAR wa_file.
      ENDLOOP.
      PERFORM write_messages.
    ENDFORM.                    " fill

Maybe you are looking for

  • Installed new RAM and now got System Failure: cpu=0 error

    This is so frustrating! I installed a 1 GB RAM chip (4200) in addition to the original 512 RAM. I turned on the computer, everything started and was working. I went in to the System Profiler and it was showing RAM as ok, but it had this: (Reversed) <

  • Adobe photoshop Elements 12 Editor - launch problem

    Hi, Can anyone help! I downloaded adobe photoshop elements 12 editor.  When I open the application the page goes straight to 'create' (ready for editing) I looked up some tutorials and noticed that the first page should launch with an option to 'Orag

  • How to insert textedit ui element in ALV

    hi experts, i need to insert textedit ui element in one of the column of ALV. thanks

  • Finding  bom component item stufe = 1 without subitems

    Hi friends, We have developed a bom explosion report, Here we got the output as folows. level component number component desc uom materials A is have the following sfg. 1 stufe = 1 ..2 1 ..2 ...3 here we are getting the subitem levels correctly. 1. b

  • 1.3 JNI libraries compatible with 1.4?

    I'm having some problems migrating my software from J2SE 1.3 to 1.4 (on Linux). I've not recompiled anything, hoping for Sun's binary code compatibility... Strangely enough, the first time I executed my program with the 1.4 VM, everything worked just