Placing Limitation in Goods Receipt PO

Good Morning Experts,
when i taking excess quantity in GRPO it's successfully adding the document. Previously when i am doing the same thing it's showing error  that  base document is Closed due to excess quantity. I want validation that the GRPO won't accept excess quantity of Purchase Order. I unable to get which setting as to be placed for this i am not getting Please help me in this issue.
Example : If i placed Purchase Order for one item - 10 Qty, and i did Goods Receipt PO for 20 Qty it as to show the error message.
Thanks,
Umamahesh.

Insert this in your  SBO_SP_TransactionNotification stored procedure after the line
--     ADD     YOUR     CODE     HERE
IF @Object_type = N'20' and @transaction_type = N'A'
BEGIN
declare  @line int
SELECT @line = (LineNum + 1)
From PDN1
Where PDN1.DocEntry = @list_of_cols_val_tab_del
   and (Quantity > BaseOpnQty)
Order by LineNum
If (not ISNULL(@line, 0) = 0)
begin
  Set @error = 10
  Set @error_message = N'Line quantity' + CONVERT(nvarchar(4), @line) + N' is more then open quantity !'
end
END

Similar Messages

  • Tolerance limits at Goods Receipt??

    Can someone explain me how the Tolerance Keys B1 (or B2) works for Goods Receipt in MIGO.
    I have already refered the below links, But failed to understand the basic purpose of T Keys in OMCO.
    Goods Receipt tolerance limit (OMC0)
    http://www.sapfans.com/forums/viewtopic.php?f=6&t=310774
    I will thankful if explaned with simple example !! Please...

    Hi Priyanka,
    Thank you for the contribution.
    However, after further analysis I found that  Tolerance Key B1/ B2 does not put limits on GR quantity.
    We have Overdelivery Tolerance and Underdelivery Tolerance in PO to take care of GR Quantity variance.
    Tolerance Key B1/ B2 comes into picture when the Order Unit and Order Price Unit are different in PO.
    Ex. PO Quantity 1 KG,   Net Price 10 Rs per 100 G
    If Tolerance Keys B1/B2 are set to +20% and -20%
    GR- 1 KG
    you can see a 'Qty in PO price unit' Field in Qty Tab in Migo.
    according to B1/B2 this field value shall not fall below 800 G and above 1200 G. 
    thank you all for the contribution

  • PO Goods Receipt

    Hi All
    Please give me the solution for the following scenario
    I want to place the order for ToolBox, it contains 5 different size of spanners
    Tool Box has the created as semi finished item
    spanners are created as Raw materials
    I placed the order for ToolBox -   100 Nos
    When i do the good receipt against  the Purchase order, system should update the spanners  stock along with tool box stock.
    How to handle this in SAP
    can any one suggest?
    Thanks in Advance
    SUNIL

    Hi,
    Charlii is correct.
    Yes it updates twice the stock value.If do GR for both Semi finished material( tool box) and intern if you update raw material( Spanner) as per your scenario.
    This will lead to Finance discrepancy. Hence it is not available in standard as well as it is not advisable to go for Z development also.
    But there is way out,
    If you want to track the stock quantity of spanners based on order quantity of Tool Box.
    You can use Order qty and Order Qty SKU ( Stock Keeping unit field in Item overview - quantity and weight tab). There you can maintain the value for
    Order quantity 1(tool box) = SKU order unit 5 (Spanners).
    When you do GR for Order quantity 1. It updates 5 number for spanners.
    Keep in mind it updates only SKU.
    It won't update the Order quantity in the stock.(to Avoid double entry form FI point of view).
    But you can get the quantity of GR done for tool box (order unit via standard reports).
    Hope it will helps.
    Thanks
    Giri

  • Free goods receipt without PO

    1. Is it possible to make of Free Goods Receipt of material without PO generate? If yes how?
    2. Also such free goods reciept if i made with Standard Price maintain in Material master so which account posting is made after GRN?

    Hi,
    Entering a Delivery Free of Charge Without Reference to a Purchase Order
    You receive a delivery from a vendor free of charge for which no purchase order was placed, you post the receipt of the goods as a miscellaneous (other) goods receipt.
    Choose Goods movement ® Goods receipt ® Other. Enter the data as required and choose movement type 511. When you process the items, the system prompts you, for every item, to maintain a text for the delivery free of charge on the detail screen. This entry is mandatory, since without a purchase order there is no other way of entering information about the delivery
    If you maintain standard price
    Standard Price
    When a delivery free of charge is posted, the stock of the material increases by the quantity of goods received.
    For a material valuated at a standard price, the total value of the material must increase in relation. Therefore, the stock account is credited with the value of the delivered quantity x standard price. The offsetting entry is made to the "Income from price differences" account
    Reward if useful
    Regards

  • Grn report(goods receipt notice)

    hi to all sdn people can u pls give coding for this if u give the answer i will be greatful to u and i will reward point to all of u
    my report is as follows
    a report for grn details which shows the all details of goods receipt movements based on the purcahse order.
    and pls tell what is the pupose of this report and tables used

    Hi
    Use the Tables
    EKKO,EKPO --PO tables and
    MKPF and MSEG Tables GRN related.
    This report is useful to track the qty of ggods/materials received with respect to the PO's placed.
    see the sample code and change the output as per your requirement.
    *& Report  ZMM_PO_REPORT
    REPORT  ZMM_PO_REPORT message-Id yb
           NO STANDARD PAGE HEADING
           LINE-COUNT 60(1)
           LINE-SIZE 230.
           D A T A B A S E  T A B L E S   D E C L A R A T I O N
    TABLES: lfa1,           " Vendor Master
            t161,           " PO Doc Types
            t024,           " Purchase Groups
            ekko.           " PO Header
                   T Y P E S  D E C L A R A T I O N S
    Purchase Orders Main Structure
    TYPES: BEGIN OF s_po,
            ebeln TYPE ebeln,           " PO No.
            ebelp TYPE ebelp,           " PO Item
            bstyp TYPE bstyp,           " PO Category
            bukrs TYPE bukrs,           " Company Code
            bsart TYPE bbsrt,           " PO Type
            lifnr TYPE lifnr,           " Vendor No
            ekgrp TYPE bkgrp,           " Purchase Group
            waers TYPE waers,           " Currency
            bedat TYPE etbdt,           " PO Date
            txz01 TYPE txz01,           " Material Text
            werks TYPE ewerk,           " Plant
            lgort TYPE lgort_d,         " Storage Location
            matkl TYPE matkl,           " Material Group
            menge TYPE bamng,           " PR Quantity
            meins TYPE bamei,           " UOM
            bprme TYPE bbprm,           " Price Unit
            netpr TYPE netpr,           " Net price
            peinh TYPE peinh,           " Price Unit UOM
            pstyp TYPE pstyp,           " Item Category
            knttp TYPE knttp,           " Account Assignment Category
           END OF s_po.
    Purchase Orders History Structure
    TYPES: BEGIN OF s_account,
            ebeln TYPE ebeln,           " PO No.
            ebelp TYPE ebelp,           " PO Item
            gjahr TYPE mjahr,           " Fiscal Year
            belnr TYPE mblnr,           " PO Invoice No
            menge TYPE menge_d,         " PR Quantity
            wrbtr TYPE wrbtr,           " Price in Local Currency
            dmbtr TYPE dmbtr,           " Price in Foreign Currency
            waers TYPE waers,           " Currency
            shkzg TYPE shkzg,           " Dr/Cr Indicator
           END OF s_account.
    Purchase Orders History Structure(Item Sum)
    TYPES: BEGIN OF s_inv_sum,
            ebeln TYPE ebeln,           " PO No.
            ebelp TYPE ebelp,           " PO Item
            menge TYPE menge_d,         " PR Quantity
            wrbtr TYPE wrbtr,           " Price in Foreign Currency
            waers TYPE waers,           " Currency
           END OF s_inv_sum.
    Purchase Orders Main Structure
    TYPES: BEGIN OF s_rep,
            lifnr TYPE lifnr,           " Vendor No
            ebeln TYPE ebeln,           " PO No.
            ebelp TYPE ebelp,           " PO Item
            bstyp TYPE bstyp,           " PO Category
            bsart TYPE bbsrt,           " PO Type
            ekgrp TYPE bkgrp,           " Purchase Group
            waers TYPE waers,           " Currency
            bedat TYPE etbdt,           " PO Date
            txz01 TYPE txz01,           " Material Text
            werks TYPE ewerk,           " Plant
            lgort TYPE lgort_d,         " Storage Location
            matkl TYPE matkl,           " Material Group
            menge TYPE bamng,           " PR Quantity
            meins TYPE bamei,           " UOM
            bprme TYPE bbprm,           " Price Unit
            netpr TYPE netpr,           " Net price
            peinh TYPE peinh,           " Price Unit UOM
            pstyp TYPE pstyp,           " Item Category
            knttp TYPE knttp,           " Account Assignment Category
            name1 TYPE name1,           " Plant
            orewr TYPE netpr,           " To be Invoiced Price
            curr  TYPE waers,           " Inv Doc Currency
           END OF s_rep.
               D A T A  D E C L A R A T I O N S
    DATA: gv_title1 TYPE sylisel,            " Report title
          gv_dial.                           " Color flag
                C O N S T A N T S  D E C L A R A T I O N S
    CONSTANTS: c_x                VALUE 'X',   " Flag X
               c_h                VALUE 'H',   " Debit
               c_vgabe TYPE vgabe VALUE '2'.   " Transaction Type
         I N T E R N A L  T A B L E S  D E C L A R A T I O N S
    DATA: i_po    TYPE STANDARD TABLE OF s_po WITH HEADER LINE,
                                 " Purchase Order
          i_inv   TYPE STANDARD TABLE OF s_inv_sum WITH HEADER LINE,
                                         " PO Invoice Values
          i_rep   TYPE STANDARD TABLE OF s_rep WITH HEADER LINE,
                                     " PO Invoice Values
          i_ekbe  TYPE STANDARD TABLE OF s_account WITH HEADER LINE.
                               " PO Invoice Values
                     S E L E C T I O N  S C R E E N                      *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr MATCHCODE OBJECT kred,
                    s_ebeln FOR ekko-ebeln MATCHCODE OBJECT mekk,
                    s_bsart FOR t161-bsart,
                    s_ekgrp FOR t024-ekgrp,
                    s_bedat FOR ekko-bedat.
    SELECTION-SCREEN END OF BLOCK b1.
                      I N I T I A L I Z A T I O N                        *
    INITIALIZATION.
                  A T  S E L E C T I O N - S C R E E N                   *
    AT SELECTION-SCREEN.
    Validate the screen fields
      PERFORM validate_screen.
                   S T A R T - O F - S E L E C T I O N                   *
    START-OF-SELECTION.
    Fetch main data
      PERFORM fetch_data.
                   T O P - O F - P A G E                                 *
    TOP-OF-PAGE.
    Header of the List
      PERFORM header.
                   E N D - O F - P A G E                                 *
    Footer
    END-OF-PAGE.
      ULINE.
                   E N D - O F - S E L E C T I O N                       *
    END-OF-SELECTION.
    Display the Report Output data
      PERFORM display_data.
    At Line-Selection
    AT LINE-SELECTION.
    When double clicked on EBELN display the details of Purchase Doc
      PERFORM line_sel.
    *&      Form  validate_screen
    Validation of Selection Screen fields
    FORM validate_screen .
    Validation of Vendor Number
      CLEAR lfa1-lifnr.
      IF NOT s_lifnr[] IS INITIAL.
        SELECT lifnr UP TO 1 ROWS
            INTO lfa1-lifnr
            FROM lfa1
            WHERE lifnr IN s_lifnr.
        ENDSELECT.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Invalid Vendor'(002).
        ENDIF.
      ENDIF.
    Validation of PO Number
      CLEAR ekko-ebeln.
      IF NOT s_ebeln[] IS INITIAL.
        SELECT ebeln UP TO 1 ROWS
            INTO ekko-ebeln
            FROM ekko
            WHERE ebeln IN s_ebeln.
        ENDSELECT.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Invalid Document Number'(003).
        ENDIF.
      ENDIF.
    Validation of PO Document Type
      CLEAR t161-bsart.
      IF NOT s_bsart[] IS INITIAL.
        SELECT bsart UP TO 1 ROWS
            INTO t161-bsart
            FROM t161
            WHERE bsart IN s_bsart.
        ENDSELECT.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Invalid Purchase Document Type'(004).
        ENDIF.
      ENDIF.
    Validation of Purchasing Group
      CLEAR t024-ekgrp.
      IF NOT s_ekgrp[] IS INITIAL.
        SELECT ekgrp UP TO 1 ROWS
            INTO t024-ekgrp
            FROM t024
            WHERE ekgrp IN s_ekgrp.
        ENDSELECT.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Invalid Purchasing Group'(005).
        ENDIF.
      ENDIF.
    ENDFORM.                    " validate_screen
    *&      Form  fetch_data
    Fetching the PO related data from Database Tables
    FORM fetch_data .
      CLEAR i_po.
      REFRESH i_po.
      SELECT a~ebeln            " PO No.
             b~ebelp            " PO Item
             a~bstyp            " PO Category
             a~bukrs            " Company Code
             a~bsart            " PO Type
             a~lifnr            " Vendor No
             a~ekgrp            " Purchase Group
             a~waers            " Currency
             a~bedat            " PO Date
             b~txz01            " Material Text
             b~werks            " Plant
             b~lgort            " Storage Location
             b~matkl            " Material Group
             b~menge            " PR Quantity
             b~meins            " UOM
             b~bprme            " Price Unit
             b~netpr            " Net price
             b~peinh            " Price Unit UOM
             b~pstyp            " Item Category
             b~knttp            " Account Assignment Category
        INTO TABLE i_po
        FROM ekko AS a JOIN ekpo AS b
        ON a~ebeln = b~ebeln
        WHERE a~ebeln IN s_ebeln AND
              a~lifnr IN s_lifnr AND
              a~ekgrp IN s_ekgrp AND
              a~bsart IN s_bsart AND
              a~bedat IN s_bedat.
      SORT i_po BY ebeln ebelp.
      break-point.
      IF NOT i_po[] IS INITIAL.
    Fetch the PO History/Invoice Details from EKBE Table
        CLEAR i_ekbe.
        REFRESH i_ekbe.
        SELECT ebeln           " PO No.
               ebelp           " PO Item
               gjahr           " Fiscal Year
               belnr           " PO Invoice No
               menge           " PR Quantity
               wrbtr           " Price in Local Currency
               dmbtr           " Price in Foreign Currency
               waers           " Currency
               shkzg           " Dr/Cr Indicator
         INTO TABLE i_ekbe
         FROM ekbe
         FOR ALL ENTRIES IN i_po
         WHERE ebeln = i_po-ebeln AND
               ebelp = i_po-ebelp AND
               vgabe = c_vgabe.
      break-point.
        IF sy-subrc = 0.
          SORT i_ekbe BY ebeln ebelp.
          LOOP AT i_ekbe.
            IF i_ekbe-shkzg = c_h.
              i_ekbe-wrbtr = i_ekbe-wrbtr * -1.
            ENDIF.
            MODIFY i_ekbe.
          ENDLOOP.
      break-point.
    Sum up the Item wise Invoice totals
          LOOP AT i_ekbe.
            AT END OF ebelp.
              READ TABLE i_ekbe INDEX sy-tabix.
              SUM.
              MOVE-CORRESPONDING i_ekbe TO i_inv.
              APPEND i_inv.
            ENDAT.
            CLEAR i_inv.
          ENDLOOP.
          SORT i_inv BY ebeln ebelp.
            break-point.
        ENDIF.
      ENDIF.
    Move the Vendor Name and Invoice Values to I_rep Internal Table
      LOOP AT i_po.
        MOVE-CORRESPONDING i_po TO i_rep.
        CLEAR i_inv.
        READ TABLE i_inv WITH KEY ebeln = i_po-ebeln
                                  ebelp = i_po-ebelp.
        IF sy-subrc = 0.
          i_rep-orewr = ( i_po-menge - i_inv-menge ) * i_po-netpr.
          i_rep-curr  = i_inv-waers.
        ELSE.
          i_rep-orewr = i_po-menge * i_po-netpr.
          i_rep-curr  = i_po-waers.
        ENDIF.
      break-point.
    Get the Vendor Name
        CLEAR lfa1-name1.
        SELECT SINGLE name1 FROM lfa1 INTO lfa1-name1
          WHERE lifnr = i_po-lifnr.
        IF sy-subrc = 0.
          i_rep-name1  = lfa1-name1.
        ENDIF.
        APPEND i_rep.
        CLEAR  i_rep.
          break-point.
      ENDLOOP.
      SORT i_rep BY lifnr ebeln ebelp.
      DELETE i_rep WHERE orewr LE 0.
      break-point.
    ENDFORM.                    " fetch_data
    *&      Form  display_data
    Display the Report Output data
    FORM display_data .
      DATA: lv_flag,               " New Flag
            lv_rec TYPE i.         " No of Records
      CLEAR lv_rec.
      IF i_rep[] IS INITIAL.
        MESSAGE e000 WITH 'No Data found'(022).
      ELSE.
        LOOP AT i_rep.
    Toggle Color
          PERFORM toggle_color.
          IF lv_flag <> space.
            NEW-LINE.
          ENDIF.
    At New Purchase Document
          AT NEW ebeln.
            WRITE:/1 sy-vline, 2(10) i_rep-ebeln INTENSIFIED OFF.
            lv_flag = c_x.
            lv_rec = lv_rec + 1.
          ENDAT.
          WRITE: 1 sy-vline,
                12 sy-vline,13(4)   i_rep-bsart,
                17 sy-vline,18(10)  i_rep-lifnr,
                28 sy-vline,29(35)  i_rep-name1,
                64 sy-vline,65(4)   i_rep-ekgrp,
                69 sy-vline,70(10)  i_rep-bedat,
                80 sy-vline,81(5)   i_rep-ebelp,
                86 sy-vline,87(40)  i_rep-txz01,
               127 sy-vline,128(9)  i_rep-matkl,
               137 sy-vline,138(1)  i_rep-pstyp,
               139 sy-vline,140(1)  i_rep-knttp,
               141 sy-vline,142(4)  i_rep-werks,
               146 sy-vline,147(4)  i_rep-lgort,
               151 sy-vline,152(13) i_rep-menge UNIT i_rep-meins,
               165 sy-vline,166(3)  i_rep-meins,
               169 sy-vline,170(15) i_rep-netpr CURRENCY i_rep-waers,
               185 sy-vline,186(4)  i_rep-waers,
               190 sy-vline,191(5)  i_rep-peinh,
               196 sy-vline,197(4)  i_rep-bprme,
               201 sy-vline,202(15) i_rep-orewr CURRENCY i_rep-curr,
               217 sy-vline,218(4)  i_rep-curr,
               222 sy-vline,223(7)  i_rep-bstyp centered,
               230 sy-vline.
          NEW-LINE.
          hide: i_rep-ebeln.
        ENDLOOP.
        ULINE.
        FORMAT COLOR OFF.
        WRITE : /2 'Total Number of Purchasing Documents:'(025) COLOR 3,
                    lv_rec COLOR 3.
      ENDIF.
    ENDFORM.                    " display_data
    *&      Form  header
    Write the Report Header
    FORM header .
      FORMAT RESET.
    header
      WRITE:/1(230) 'LIST OF PURCHASE DOCUMENTS PER VENDOR'(006) CENTERED.
      SKIP.
      FORMAT COLOR COL_HEADING.
      ULINE.
      WRITE:/1 sy-vline,2(10)   'Pur.Doc.No'(006) CENTERED,
            12 sy-vline,13(4)   'Type'(007),
            17 sy-vline,18(10)  'Vendor'(008) CENTERED,
            28 sy-vline,29(35)  'Name'(009) CENTERED,
            64 sy-vline,65(4)   'PGrp'(010) CENTERED,
            69 sy-vline,70(10)  'Doc.Date'(012) CENTERED,
            80 sy-vline,81(5)   'Item'(011),
            86 sy-vline,87(40)  'Material Short Text'(024) CENTERED,
           127 sy-vline,128(9)  'Mat.Group'(013),
           137 sy-vline,138(1)  'I',
           139 sy-vline,140(1)  'A',
           141 sy-vline,142(4)  'Plnt'(014),
           146 sy-vline,147(4)  'SLoc'(015),
           151 sy-vline,152(13) 'Quantity'(016) CENTERED,
           165 sy-vline,166(3)  'UoM'(017),
           169 sy-vline,170(15) 'Net Value'(018) CENTERED,
           185 sy-vline,186(4)  'Curr'(019),
           190 sy-vline,191(5)  'Per'(020),
           196 sy-vline,197(4)  'Unit'(021),
           201 sy-vline,202(15) 'To be Invoiced'(023) CENTERED,
           217 sy-vline,218(4)  'Curr'(019),
           222 sy-vline,223(7)  'Doc.Cat'(026),
           230 sy-vline.
      ULINE.
    ENDFORM.                    " header
    *&      Form  toggle_color
    This routine alters the color of the records in the list
    FORM toggle_color.
      IF gv_dial = space.
        FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
        gv_dial = c_x.
      ELSE.
        FORMAT COLOR 1 INTENSIFIED OFF.
        CLEAR gv_dial.
      ENDIF.
    ENDFORM.                    " toggle_color
    *&      Form  LINE_SEL
    *When double clicked on EBELN field display the details of Purchase Doc
    FORM line_sel.
      CASE sy-lsind.
        WHEN '1'.
          DATA: lv_field(20),
                lv_value(10),
                lv_bstyp like i_rep-bstyp.
          clear: lv_bstyp,lv_value, lv_field.
          GET CURSOR FIELD lv_field VALUE lv_value.
          IF lv_field = 'I_REP-EBELN'.
            IF NOT lv_value IS INITIAL.
              READ LINE sy-index FIELD VALUE i_rep-bstyp
                                       INTO  lv_bstyp.
             READ CURRENT LINE FIELD VALUE i_rep-bstyp INTO lv_bstyp.
              if lv_bstyp = 'F'.
                SET PARAMETER ID 'BES' FIELD lv_value.
                CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
              elseif ( lv_bstyp = 'K' or lv_bstyp = 'L' ).
                SET PARAMETER ID 'VRT' FIELD lv_value.
                CALL TRANSACTION 'ME33' AND SKIP FIRST SCREEN.
              elseif lv_bstyp = 'A'.
                SET PARAMETER ID 'ANF' FIELD lv_value.
                CALL TRANSACTION 'ME43' AND SKIP FIRST SCREEN.
              endif.
            ENDIF.
          ENDIF.
      ENDCASE.
    ENDFORM.                    " line_sel
    Reward points if useful
    Regards
    Anji

  • O4G1 goods receipt creates FM document with OFUP set to MM Invoice recipt

    Hi,
    We have IS-OIl-TD (Transport and Distribution) implemented. The flow of the process is the standard TD process, first we create a PO, then we create an inbound delivery (VL31N), after that we create a bulk schedule (O4F1) for the product being imported, then we make a load confirmation (O4G1) and finally a delivery confirmation (O4H1).
    When we make the load confirmation (O4G1) the system, as indicated by our IS-OIL/MM specialist, makes a goods movement, placing the product in the intransit storage location. This movement makes a credit to the GR/IR account and a debit to the corresponding stock account (inventory account). However this posting is creating a FM document through the credit to the GR/IR account with the account assignment of the stock item assigned in the PO.
    We have in the OFUP customizing that the GR/IR update should be performed during the invoice reception, but somehow this goods movement is not being interpreted as a goods receipt, in fact the business transaction is RMWA instead of RMWE.
    Because of the situation described above, if I have a PO for 1000$, therefore have a commitment of that amount in account assignment XX, then when we make the load confirmation (O4G1) it creates a credit to the GR/IR with the same account assignment as the PO creating a reduction of the expense for the same account assignment XX by 1000$. So at that moment I still have the PO with a 1000$ commitment and a reduction of the expense in the annual budget created by the GR/IR of 1000$. When I post the invoice the system reduces the PO commitment (as excepted) and creates a value type 54 for the $1000 of the corresponding invoice. This makes the expense on FM at a net value "zero", because at the end I have an expense reduction of $1000 (caused by the O4G1) and an expense of $1000  (caused by the invoice), which is totally unacceptable.
    My question is if anyone has had this problem and if you see a possible solution to this.
    I would probably want the O4G1 posting to have no effect on FM, but the use of the derivation strategy seems useless because I can't control the GR/IR account assignment derivation.
    I appreciate any leads on how to find a suitable solution to this issue.
    Regards,

    Hi,
    how you have set up the invoice generating?
    If you have activated ERS, then you have to cancel the goods receipt not the invoice document. ERS will then create the relavent cancellation invoice for the cancelled goods movement.
    If you have not activatd ERS then you can reverse through FB08.
    Thanks
    Kalyan

  • PO item on hold and can't create Goods Receipt PO

    We have a situation where a PO was created in our system which is 2007A SP00 PL 15.  The item on the PO has since been placed on hold.  Now when I pull up the po I change the item number to a valid item and click Update.  So far so Good.  No when I gry to copy the PO to a GR PO I get an error that the item is on hold and the document can only be saved as a draft.  It is trying to create the Goods receipt PO with the original item instead of the new item.
    How can I handle these?  It is not possible to edit the original item on the po.
    Thanks,
    don

    Thanks for the quick reply gordon.  I figured it out.  I have a FMS on the Goods Receipt PO screen that was inadvertanlty changing the item number after the GRPO opened.  The item number it changed it to was on hold.  My Bad.
    Thanks,,
    don

  • Creating a Good Receipt PO via DI API No matching records found (ODBC -2028)

    Hi,
    I trying to create a Good Receipt PO via DI API.  It is working when the user I used to log in to SAP via the DI API is a Professional User but when I changed it to a Limited Logistics User, I'm receiving the No matching records found (ODBC -2028). I have already added the SDK Tools license to that user but still I'm receiving that error.
    So is it that the DI API will only work with a Professional User license or I can still use a Limited Logistics User?

    HI J S L,
    I get same error when I use different user that I just now add the SDK Tools without restarting the database server.  But previous user that I added SDK Tools before restart, no error.
    Today
    User 1 - add SDK Tools, no restart, error
    Last Wednesday
    User 2 - add SDK Tools, no restart, error
    Today - database server restarted this morning
    User 2 - no more error
    Both User 1 and 2 are Limited Logistics User.
    Best regards,
    Dennis

  • Goods Receipt Slip Requirement

    Dear Experts,
    I am developing a FORM which is the "Goods Receipt slip" with "WE03" output type.
    My Boss want to add 3 informations into the FORM header:
    1.Inbound Number : (Available in VL33N) LIKP-VBELN
    2.Transportation Number : (Available in VT03N) VTTK-TKNUM
    3.Shipment Number : (Available in VI03) VFKK-FKNUM
    Now i try to finish this requirement.....
    The first information i can use MKPF-XBLNR directly output to the form. It is easy ...
    And the second information i can write ABAP code, select the VTTP table and get the TKNUM field throught link the delivery note number ....
    (Question : Is this logic correct ? My sense tell me that probably it is incorrect because of i am selecting the items data... usually, the delivery note number are placed in the header table.... Does it has another beatiful solutions ?)
    Third, the shipment number. I found it in VFKK table as well, but it is the same situration. It placed the Transportation Number into the item Table VFKP as a reference field.... i need the Transportation number to make a WHERE statement ...
    Has someone can give me advise ?
    Thanks in advanced,
    Carlos Zhang

    Copy ur SAP Standard Script to Zscript and this zlayout should assign One output type,probably this would be new output type.
    Output type configured by Functional Consultant and give ur Layout name so that he will configure.
    Depends on Ur requirement we need to use print Program.
    If there are so many changes and need to modify lot of things then i would prefer Copy ur print program to zprint program and do the changes.
    if not do not modify (I mean only layout like windows modification).
    if you do not modify print program and eventhough you need to get data from some other tables ,.. use
    /: PERFORM NAME IN PROGRAM NAME
    /: USING  VAR1
    /: USING VAR2
    /;CHANGING OUTPUT.
    /:ENDPERFORM
    Call your form routine in se38 by creation of program and this form routine will use ITCSY Structure..
    Reward Points if it is useful
    Thanks
    Seshu

  • How to find if a PO has a goods receipt

    Dear Gurus,
    I am a developer with limited knowledge of the Fucntional MM module. I am working on MM purchasing.
    Now when you do a max (ebeln) on EKPO it gives the latest purchase order.
    Is there some means by which I can find out if a purchase order has a goods receipt associated with it.
    Now every time a purchase order is created the field 'wepos' is automatically set to 'X'.
    So, i dont think 'wepos' is the best way to find if the PO has a receipt.
    Now the lady I am working with has said that If you chose the PO in 'ME23N" the PO that has a receipt will have a 'purchase order history' tab.  The one that has no goods receipt will have no "purchase order history".
    Again, I have limited functional knowledge. If anybody could help me understand what fields / tables are involved in identifying the PO's; I could use that information in writing code.
    ~thanks, appreciate any advice.

    Thanks Charlie,
      I see that PO - *******147 has an entry in table EKBE, and BEWTP is 'E'
                for PO   *******157 - there is no entry in table EKBE
    PO - *******147 has a goods receipt
    PO - *******157 has no goods receipt
    Should  *******157 have an entry in EKBE and should the value of BEWTP (not equal) 'E' for this PO.
    I will be confirming this with the business before I make any changes; any other suggestions are welcomed and appreciated.

  • Goods Receipt in Production Plant

    Hi,
    I have a scenario, where the sales order is placed in the sales plant and production happens in production plant. The sales order creates a purchase requisition in the production plant and MRP creates planned orders against the purchase req and the production is carried out by doing a goods receipt in the production plant itself.
    I have not used the special procurement key of "Production in alternate plant" for this scenario as I want to do the goods receipt against the production order in production plant itself.
    But for the same material if I manually create the production order in production plant and try to do the goods receipt in production plant the system is not allowing me to do this.
    The system tries to post the goods receipt directly into the sales plant even though I have not used the "production in alternate plant" sp procurement key.
    Can someone tell me how to fix this. I want to receive the goods in production plant itself and then move it to sales plant.
    Thanks!

    Dear abppp1,
    When you are working with this concept Production in alternative plant using special procurement key 80,once after creating
    the Goods receipt for the production order the stock in the planning plant will get increased,(and not first in the production plant)
    Check this link to understand the concept in detail,
    [Production in Alternative plant|http://help.sap.com/saphelp_erp60_sp/helpdata/en/f4/7d2d7444af11d182b40000e829fbfe/content.htm]
    Production In Alternative Plant
    Re: prod alt plant
    Regards
    S Mangalraj

  • Quantity Tolerance limit for goods receipt

    Hello Friends,
    We are working on the stock transport order scenario, and the steps are as below
    1. Stock Transport Order
    2. Outbound Delivery
    3. Post Goods Issue
    4. Inbound Delivery
    5. Goods Receipt
    In our scenario, we were not maintaining any price in stock transport order and the invoice receipt at item level of STO is unflag.  When we set the tolerance limit at stock transport order level and during goods receipt, if we post the excess stock then system is not allowing to post the stock and showing the below Error -
    Message no. M7022:PU Withdrawn qty exceeded by...
    Please suggest.  Thanks in advance for your support.
    Best Regards,
    Goutham

    Dear Friends,
    Thanks a lot for your time.  The problem was resolved, we maintained the tolerance limits at purchase order level and the same will be reflected at goods receipt from inound delivery.  We cannot use either purchase value key function or GR/IR Tolerance since our stock transport orders doesnt have any price and not relevant for invoice receipt.  Hence, the tolerance limit in sto is feasilble option for us.
    Best Regards,
    Goutham

  • Transfer Requirement for Goods Receipt Item

    Hi All,
    We are trying to create Transfer Order for Goods Receipt items using an ITS mobile application.We are using the function module L_TO_CREATE_TR to create Transfer Order by passing the Transfer Requirement from the Goods Receipt as an input to the function module. Our requirement is to create one Transfer Orde per Goods Receipt item. We need to create Transfer Order for the items simulatneously from different terminals.Since we have only one Transfer Requirement for the entire Goods Receipt document, we are not able to create Transfer Orders simultaneously because of the system lock (Transfer Requirement is locked).
    Is it possible to create separate Transfer Rquirement for the individual items in the Goods Receipt via customizing/User exit.
    Your guidance in this regard will be great help for us.
    Regards,
    Shaju

    Hi Dirk,
    Thank you for your reply.
    Our enduser will be using handheld device for Transfer Order creation. The user will pick the GR item material from one storage type (902) and the Transfer Requirement will be locked at this moment.Later while placing the SU in destination bin the user will scan the destination bin and the Transfer Order will be created at the time of scanning. Till the completion of the entire process the Transfer Requirement will be locked and no one else can pick the materials of the same GR from 902 storage type.
    We are trying to create Transfer Requirements for each Goods Receipt Item and we are not able to find any user exit in Goods Receipt Creation or any customizing option.
    Can you please check and help us to resolve the same.
    Regards,
    Shaju
    Edited by: shaju tv on Apr 5, 2010 11:40 AM

  • Network budget exceeded error while creating Goods receipt/Invoice

    Hi,
    I created project , wbs element, and network and released the project...i created a Po using this network...after that i went to CJ30 and allocated budget for WBS element..I activated availablity control check and define the tolerance limits for all transaction groups (++) with usage as 3(Error message) but i am not getting any error message while creating GRN/Invoice...what setting i have to made to check the budget availablity at the time of goods receipt creation and invoice creation....
    Thanks
    regards
    Dinesh.a

    Hi Dinesh,
    First of all you check whether you have assigned the budget profile in Network Profile or not. 
    Question for you: I want to hide out Account Assignment Element for first 2 levels of WBS Element and i want to consider from 3rd level onwards for specific project profile.  Any Idea.
    regards.

  • Import of bulk serial numbers with Goods Receipt

    Hello
    I need to create an Add-On that automates the creation of Goods Receipt PO documents with linked serial numbers. Using the DI API I manage to create the Goods Receipt and link about 1000 serial numbers to one document without any problems. When the item qty (and linked serial number qty) goes beyond 10,000 it crashes (probably runs out of memory).
    I know an alternative would be possibly using the DI Server. Has anyone ever done this with such big volumes? Not sure if the DI Server would be able to handle say 100,000 serial numbers, at a time.
    Any advice is appreciated.
    Thanks,
    Jéan

    Thanks Gordon.
    This is not good news. I am just concerned as the SDK help on DI Server specifically states:
    "Business partners can use the DI Server for the following main scenarios:
    ==>> Heavy duty operations, such as batch"
    I assume this is the same type of "heavy duty operation" as a data take-on would be? Or does it mean that B1's serial number management is limited to small quantities at a time.
    Jéan

Maybe you are looking for

  • Why does Mail crash when I try to expand a group of addresses?

    I like the native Apple applications. I use Mail and Address Book and do not utilize any other programs for these functions. Lately when I address an email to a group and then highlight the group name in order to expand it and thus show the individua

  • Ways to handle large volume data (file size = 60MB) in PI 7.0 file to file

    Hi, In a file to file scenario (flat file to xml file), the flat file is getting picked up by FCC and then send to XI. In xi its performing message mapping and then XSL transformation in a sequence. The scenario is working fine for small files (size

  • Help REQ receiver FILE CC CONFIG ...POINTS WILL BE GIVEN!!!!

    Hi I am having problem configuring File receiver CC. This is a IDOC to File scenario... My payload is <?xml version="1.0" encoding="UTF-8"?> <ns0:Test_MT xmlns:ns0="urn:test.com"> <Record> <Target> <ProdNum>111</ProdNum> <Weight>10</Weight> </Target>

  • My ipad mini is saying ipad is disabled

    my ipad mini is dislplaying the message ipad is disabled

  • 10g에서의 에러....

    DB Server os          : redhat ent as 4.0 oracle : 10.2.0.1.0 WEB Server os          : redhat ent as 4.0 apache : apache 2.0.59 script : php 4.4.6 접속이 잘되다 가끔 접속 자체가 안되는오류(페이지를 찾을수 없습니다.) 가 발생하더군요. 오라클 연결 부분에서 아예 페이지 차제를 찾을수 없는 경우가 종종 발생합니다. 여기 저기 찾아보