Single Goods Receipt in J1ID

Experts,
Can U explian the importance or difference between the following, which will be maintained in J1ID combination of material and chapter id icon.
Multiple Goods receipt, single credit
Multiple Goods Receipt, multiple credits
Single Goods Receipt

Hi,
In J1ID,
1.  Multiple Goods receipt, single credite
means that suppose u have 10 QTy in PO, and Do MIGO for 2,4 & 4 Qties separately and post excise invoice in J1IEX once for all the whole Qty.
2.multiple Goods Receipt, multiple credits
means separate post Excise Invoice for indivial good Receipt.
3.  Single Good Receipt and post single Excise Invoice in J1iex.
Regards,
Pardeep Malik

Similar Messages

  • Parial payments for single goods receipt

    Hi experts
    My client will have the following payment terms for specfic supplies.
    70% payment immediately on delivery of the equipment.
    30% after 1 month.
    How this can be addressed using a custom or standard payment term?
    My requirement is that, system should allow processing of two invoices (1: 70% and 2nd: 30%) for the same delivery.
    warm regards
    ramSiva

    Splitting option is there in Payment terms.
    Goto OBB8 transaction ,create new payment terms, under pyment terms subscreen you could see installment payment flag this option.
    Terms for installment payment are used as an entry tool when entering documents in Financial Accounting. Instead of entering several line items, you only enter the data for one item. The breakdown is carried out by the system automatically by means of the payment terms.
    and you have to maintain breakup in OBB9 .
    Alternatively you can follow this menu path IMG ->financial accountingaccount payable and acount receivalbe --business transactions --incoming invoices/credit memos

  • Accounting document during goods receipt

    Hi Experts,
                     Can you help to figure out one issue
    When we do Goods receipt, Out system is trying to create two accounting documents for single Goods receipt because there are two currencies at line item level,  It is failing later as it can't fill the line items properly in the program.
    How is line item currency determined?
    Program is failing here,
    It is failing in
    PERFORM CREATE_HEADER.
    Filling XBKPF table from P_ACC because there are two currencies at line item level.
    Thank you
    Kris
    Edited by: Kris on Jul 14, 2010 6:23 PM

    Hi There,
    Please review the SAP note 215114.
    Kind Regards,
    Elaine.

  • Error trying to use multiple lines from a PO in a Goods Receipt PO

    I get the following error when I try to add 2 lines from a PO to a single Goods Receipt PO (code below):
    -5002 One of the base documents has already been closed  [PDN1.BaseEntry][line: 1]
    I can create the Goods Receipt PO if I use 1 line or lines from multiple PO's???
                   SAPbobsCOM.Documents poReceipt2 = (SAPbobsCOM.Documents)_diApi.SboCompany.GetBusinessObject(BoObjectTypes.oPurchaseDeliveryNotes);
                   poReceipt2.CardCode = "ALL";
                   poReceipt2.DocDueDate = DateTime.Now;
                   poReceipt2.Lines.Quantity = 5;
                   poReceipt2.Lines.ItemCode = "HAMSHA";
                   poReceipt2.Lines.BaseEntry = 11;
                   poReceipt2.Lines.BaseLine = 0;
                   poReceipt2.Lines.BaseType = 22;
                   poReceipt2.Lines.Add();
                   poReceipt2.Lines.Quantity = 5;
                   poReceipt2.Lines.ItemCode = "LAMFIL";
                   poReceipt2.Lines.BaseEntry = 11;
                   poReceipt2.Lines.BaseLine = 1;
                   poReceipt2.Lines.BaseType = 22;
                   poReceipt2.Add();
    Any help is appreciated!
    Thanks,
    Daniel

    Hi Louis, thanks for the post...
    However the PO document that I am refercing definately has both lines open, if I use 1 of those lines it works fine, but the error occurs if I use 2 lines from the same PO.  I am also definately using the docentry not the docnum for the GetByKey() method.
    Can anyone run the same basic logic through the DI API?  That is create a PO with 2 lines on it, then run the code as above to make a Goods Receipt PO and reference the 2 lines from the 1 PO document?  (It works if I add multiple lines referncing lines from multiple PO docs??)
    Thanks,
    Dan
    Message was edited by: Daniel Archer

  • No goods receipt possible for purchase order 4701088161 00050

    Dear SAP Gurus,
    The Error is coming
    No goods receipt possible for purchase order 4701088161 00050 when we create goods receipt note only 39 qty.
    done..they want all 99 qty.come in single goods receipt....what exactly problem facing at the time of posting???

    Hi,
    Pl. check whether the Goods Receipt has not been done already for this PO.
    Also, check the message details by clicking on the question mark for the message, so that you will get exact reason, due to which the message is being given.
    Regards,
    Prashant Kolhatkar

  • Enter goods receipts for vendor .... only (Message no. M7107)

    Dear all,
    I know there are postings on this topic but I was unable to find the information I need.
    We have designed a process whereby we issue some goods (slices, for example) directly to the DC (3PL) which distributes them subsequently to the stores.
    We do this with the two-step stock transfer (we create an STO, do the GI with movement type 351 and the DC does the GR whereupon we receive the data file via the interface and a program converts and creates an IDoc for GR with movement type 101).
    We get the error status of the inbound IDoc after the GR takes place at the DC. However, if we are to perform a manual GR with MIGO, it works.
    What goes wrong in this process?
    Thank you in advance for your valuable input!
    Regards,
    Miro

    Hi,
    Do refer the below KBA , which explains you that transaction MIGO allows you enter multiple purchase order with single goods receipt.
    Which is a std behavior of the system.
    KBA: 1612531 - MIGO allows multiple purchase orders for a single goods receipt

  • Two Invoices with respect to One Goods Receipt

    Dear Experts ,
    We have got a query from a user like this....
    With respect to one Goods receipt can we do two invoices??
    i.e GR with a quantity 50No for Material 'A'
    Two invoices with Material A and Quantity of 50 for a single Goods Receipt..
    How it is possible????
    Please guide me...
    Regards
    MK

    Hi MK
    If u have activated duplication check for invoices then u can not pass two invoices with same Po number and similar data
    U can set duplication check in SPRO
    Path
    SPRO>Materials Management>Logistics Invoice Verification>Incoming Invoice>Set Check for Duplicate Invoices
    here u can tick Required options for UR company code
    Vishal...

  • Single Excise Invoice Posting against multiple Goods Receipt.

    Hi,
    We made a Purchase Order, say 4500000753, of 100 Qty,
    The Vendor sent us the Material in two different Challans but in same date and two created two Material Documents,say 5000000772 & 5000000773 for Goods Receipt.
    The Vendor sent us single Excise Invoice for both the Challans (goods receipt). Please advise how to post the Excise Invoice.
    We tried to capture Invoice against Purchase Order, but the system is giving the following message:
    Document 4500000753   does not contain any selectable items
    My Queries / doublts
    1. Is it possible to post excise document against multiple goods receipt documents.
    2. In what case we excise posting against Purchase Order and what is configuration required.
    3. Can we post excise invoice with two different Invoice Numbers like 123-A & 123-B
    Please guide.
    Regards,

    Hi Jeyakanthan,
    Thanks for the reply.
    I have gone thru the "Multiple Goods Receipts for a Single Excise Invoice " in Sap Help Documentation, what I have understood is that we can do multiple Goods Receipt against a Single Invoice. Here in this case we do the Goods Receipt against Purchase Order , do the Invoice Capture for first goods receipt againts Purchase Order and we enter the Invoice Number (say 745, sent by the Vendor) while capturing excise invoice. When the second shipment (against the same PO) comes, we do goods receipt and we refer the "Only Refer Excise Invoice" while doing the goods receipt. Finally after when we have entered all the shipments for the PO, we do the Excise Posting.
    Here in our case we have already posted the Goods Receipt (without entering the Invoice Number in first goods receipt) and now we want to capture & post excise invoice for a Single Excise Invoice (Invoice No. say 745,).
    Please correct me if my understanding is wrong.
    Here we have got two options:
    a. Reverse all the goods receipt & re-enter the goods receipt .
    b. post two separate excise invoice against each goods receipt mentioning dummy excise invoice number like 745-A & 745-B.
    Option a seems difficulty as we will have to reverse all the subsequent goods receipt & transfer posting documents.
    Option b seems legally wrong, as per understanding.
    Request you to please advise.
    Regards
    PK

  • Goods Receipt and Serial Numbers

    I'm getting the following error "[IGN1.WhsCode][line: 1] , 'This entry already exists in the following tables (ODBC -2035)'" when trying to add a goods receipt document containing a single item that is serial number managed via the DI API.  We are running against Business One version 2005A SP01 PL9.  The Goods Receipt PO transaction is reporting the same error.  The Goods Issue and Delivery transaction appeared to work correctly. The Goods Receipt transaction posted correctly when created in the B1 Client (GUI) application.  So it is an issue with the DI API.  We are using the SBODemo_US company database but we added a new item and configured it for serial number management.  This same code works with B1 2004A.  Our application is suppose to work with both versions of B1, so our application is built with version 2004A DI API.  Should this work, or do I need to use the 2005A version of the DI API when communicating with a 2005A system?  Would this version of the DI API work correctly with a 2004A system?
    Thanks,
    Jason Eiler

    I remembered encountering the same problem working with B1 2004A.  For the Goods Receipt and Goods Receipt PO documents, when receiving items that are serial managed I would fill in the InternalSerialNumber data member of the Document Lines Serial Numbers object.  The fix was I also had to provide some value for the SystemSerialNumber field.  I just always set it to a value of 1.  In B1 2005A, this issue must have been resolved, because when I commented out this line of code, the document was added successfully.  I don't have to provide a SystemSerialNumber, the system must generate one, as I would expect.

  • 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

  • Goods Receipt For Scheduling Agreement

    Dear Experts,
    Can anybody please explain, the step by step procedure for the Goods Receipt of Scheduling Agreement.
    I have created scheduling agreement (ME31L) and delivery schedule (ME38) with 15 schedule lines (e.g. from date 01.04.2008 to 15.04.2008).
    But in goods receipt it is showing the single line with total ordered quantity. so how to take the reference of actually scheduled quantity for posting goods receipt ?
    Thanks in advance

    Hello Kiran,
    Let us assume your total quantity is 15 that mean 1 qty each day (from 01.04.2008 to 15.04.2008).
    On 01.04.08 system will allow GR of 1 Qty only.... in this way, you will get 15 Qty after 15 days.
    But in case you donu2019t do any GR up to 14.14.08 and on 15.04.08 system will allow doing GR for all 15 Qty. And same will come in single line.
    If you do GR on daily basis, you will get the reference with schedule qty.
    Rewards are helpful.

  • Changing the G/L Account while Posting the Goods Receipts in MIGO

    Hi All,
    I have requirement in which G/L Account needs to be changed based on some validation while Posting the Goods Receipt in MIGO.
    I have created exit in OBBH by copying the standard SAP Program RGGBS800 in view V_T80D.
    I changed following entry in view V_T80D:
    GBLS     ZGGBS800     Val/sub:Exits for substitution
    Now Inside program ZGGBS800, I have written the logic to change the BSEG-HKONT value with the new G/L Account which gets called inside the standard function module G_VSR_SUBSTITUTION_CALL.
    FORM U999.
       DATA : V_HKONT TYPE BSEG-HKONT.
       clear : V_HKONT.
       SELECT SINGLE SAKNR FROM ZMASH1 INTO V_HKONT WHERE MATNR = BSEG-MATNR AND WERKS = BSEG-WERKS.
         IF SY-SUBRC EQ 0.
           BSEG-HKONT = V_HKONT.
         ENDIF.
    ENDFORM.
    After the execution of the above code the value of BSEG-HKONT changes with new value of V_HKONT but after this when I go further in Standard SAP code of function module G_VSR_SUBSTITUTION_CALL, there is one subroutine FORM EXP_TAB_009_BSEG  being called which changes the value of BSEG-HKONT to initial value of HKONT also while moving the data from BSEG to TEMP_STRUCT it doesn't passes the HKONT value, which I want it be passed as I want the changed value to be passed finally to OUT_RESULT. Please look at the code below.
    Following is the SAP standard code of subroutione FORM EXP_TAB_009_BSEG :
    FORM EXP_TAB_009_BSEG
             USING
               IN_ORIG STRUCTURE        BSEG
            CHANGING
               OUT_RESULT STRUCTURE     BSEG
               B_RESULT.
      DATA:  ORIG LIKE BSEG.
      DATA:  BEGIN OF TEMP_STRUCT,
             ABPER                          LIKE   BSEG-ABPER,
             AUGGJ                          LIKE   BSEG-AUGGJ,
             DOCLN                          LIKE   BSEG-DOCLN,
             FIPOS                          LIKE   BSEG-FIPOS,
             FISTL                          LIKE   BSEG-FISTL,
             FKBER                          LIKE   BSEG-FKBER,
             FKBER_LONG                     LIKE   BSEG-FKBER_LONG,
             GEBER                          LIKE   BSEG-GEBER,
             GMVKZ                          LIKE   BSEG-GMVKZ,
             GRANT_NBR                      LIKE   BSEG-GRANT_NBR,
             HKTID                          LIKE   BSEG-HKTID,
             HZUON                          LIKE   BSEG-HZUON,
             INTRENO                        LIKE   BSEG-INTRENO,
             MEASURE                        LIKE   BSEG-MEASURE,
             PARGB                          LIKE   BSEG-PARGB,
             PPA_EX_IND                     LIKE   BSEG-PPA_EX_IND,
             PPRCT                          LIKE   BSEG-PPRCT,
             PRCTR                          LIKE   BSEG-PRCTR,
             PRODPER                        LIKE   BSEG-PRODPER,
             PRZNR                          LIKE   BSEG-PRZNR,
             PSEGMENT                       LIKE   BSEG-PSEGMENT,
             SAMNR                          LIKE   BSEG-SAMNR,
             SCTAX                          LIKE   BSEG-SCTAX,
             SEGMENT                        LIKE   BSEG-SEGMENT,
             SGTXT                          LIKE   BSEG-SGTXT,
             SRTYPE                         LIKE   BSEG-SRTYPE,
             UZAWE                          LIKE   BSEG-UZAWE,
             XREF1                          LIKE   BSEG-XREF1,
             XREF2                          LIKE   BSEG-XREF2,
             XREF3                          LIKE   BSEG-XREF3,
             ZUONR                          LIKE   BSEG-ZUONR,
             ZZBUSPARTN                     LIKE   BSEG-ZZBUSPARTN,
             ZZCHAN                         LIKE   BSEG-ZZCHAN,
             ZZLOB                          LIKE   BSEG-ZZLOB,
             ZZLOCA                         LIKE   BSEG-ZZLOCA,
             ZZPRODUCT                      LIKE   BSEG-ZZPRODUCT,
             ZZREGION                       LIKE   BSEG-ZZREGION,
             ZZSPREG                        LIKE   BSEG-ZZSPREG,
             ZZSTATE                        LIKE   BSEG-ZZSTATE,
             ZZUSERFLD1                     LIKE   BSEG-ZZUSERFLD1,
             ZZUSERFLD2                     LIKE   BSEG-ZZUSERFLD2,
             ZZUSERFLD3                     LIKE   BSEG-ZZUSERFLD3,
             END OF TEMP_STRUCT.
      IF IN_ORIG = BSEG .
        B_RESULT = B_FALSE.
        OUT_RESULT = IN_ORIG.
        EXIT.
      ENDIF.
      MOVE-CORRESPONDING BSEG TO TEMP_STRUCT.
      OUT_RESULT = IN_ORIG.
      MOVE-CORRESPONDING TEMP_STRUCT TO OUT_RESULT.
      IF IN_ORIG = OUT_RESULT .
        B_RESULT = B_FALSE.
      ELSE.
        B_RESULT = B_TRUE.
      ENDIF.
      BSEG = OUT_RESULT.
    ENDFORM.                               " EXP_TAB_009_BSEG
    I need the value of BSEG-HKONT should be passed to OUT_RESULT-HKONT.
    I am not able to find any userexit or BADI for this.
    Please guide me on this.
    Thanks,
    Chandravadan
    Edited by: Chandravadan Jaiswal on May 8, 2009 2:18 PM
    Edited by: Chandravadan Jaiswal on May 8, 2009 3:45 PM

    Hi
    I also need to change hkont while posting MIGO and MIRO transaction..
    Any suggestion for this?
    Here's my problem.. Substitution of account(HKONT) when posting in MIGO/MIRO

  • Post Goods Receipt Accounting Not Generating

    Hello Experts,
    I brief the processs....
    Our client has trading business.  They have a material that is like a configurable material.  Based on their customer's requirement the configuration will be intimated to the vendor then vendor tells the cost so that they inform the price to the customer.  Based on the configuration the cost always varies from thousands to millions also.
    We have considered the material as standard material only (not configurable) and created a separate item category group to identify this material.  Because the configuration of the material is happening outside of SAP, so we have created a generic material code.  But to capture the MAP independently we are considering the material as batch valuated material (automatic batch).  The Individual Purchase Order (third party sales) process is configured to receive the material into our plant.
    Once the sales order is created the PR is getting generated in the back ground.  With reference to the PR we are generating the PO and receiving the stock with MIGO.  The stock is updating in the plant as sales order stock.  We are able to create the delivey and issue the goods.  The accounting document at goods issue is happening based on the valuation of the material (the cost at which we did the MIGO).  There is no problem in invoice creation.  Till this process everything is fine.
    While doing the Returns Sales process we are facing the issue.  With reference to the sales invoice we are generating the returns sales order then returns delivery and in the returns delivery the batch and valuation type are automatically coming.  But the issue is while doing the Post Goods Receipt the Accounting Document is not getting generated.  The value with which the accounting happened at Goods Issue (sales process) with the same value the accounting should happen in reverese postings at Goods Receipt.  We do not have quality check, so we are using 653 movement type in the case of returns to directly take the stock into unrestricted use.  We also checked the MAP at the time of Post Goods Receipt by giving the batch number but it is showing Zero in material master.  No single PGR of this material is generating the accounting.
    Please guide me where to correct the settings.
    Thanks,
    Sreehari.

    Hello BS Reddy,
    Thanks for your reply.
    I have maintained the Requirements Type as KEB (Req.Class also KEB) and it has the account assignment group-M and Special Stock indicator-E.
    I have run the returns cycle again but still accounting is not gettting generated at PGR.  Below is the screenshot of Req.Class-KEB
    Below is the screen shot of T.Code MBBS (Valuated Sales Order Stock).  I think the value should be upated here.
    Please let me know know where to correct the settings.
    Thanks,
    Sreehari.

  • Problem in picking base value from PO while doing goods receipt for multiple POs

    Hi,
    Our user is trying to post goods receipt for two purchase orders which have same vendor. After the materials of two POs are allocated in the item detail screen and checked the item ok, system throwing error as "Please check the base value of the item is zero" ( also excise tab does not appear for last three line items). This error does not occur when we are trying to do the goods receipt separately for each POs. Only when we do goods receipt for both the POs together, we are facing this error.
    Please let us know what could be the reason. Is there an issue with standard CIN? Any notes to be applied? Please help!

    Refer these notes for the issue.
    1528009 - MAA: incorrect distribution of goods receipt
    quantities
    and
    1677707 - Determining the valuation type for stock transport orders
    at the time of GI
    For Excise tab not appearing, you have to check J1ID for "Material-ChapterId combination" and "Cenvat Determination".
    Regards
    Binoy

  • Goods receipt for import material

    Dear all,
    The excise tab does not appear during goods receipt of imported material. But when are doing the goods receipt for domestic material the tab does appear.
    Even after posting goods receipt and while trying to capture excise details in J1IEX i.e. incase of imports CVD, CVD-Ecess, CVD-HEcess and additional duty, the system asks for the invoice number and then throws a message that PO does not contain any selectable items. We have defined as separate pricing procedure for imports.Have maintained the material and vendor details in J1ID.
    Request to kindly suggest any settings that we need to check so that the excise tab appears for imported material also.
    regards,
    mahesh.

    Hi,
    Import Process: -
    1. ME21N - Create Import PO
    2. MIRO - Customs Invoice
    3. J1IEX - Capture Bill of Entry
    4. MIGO - Goods Receipt
    5. J1IEX - Post Bill of Entry
    6. MIRO - LIV for Vendor Invoice
    7. MIRO - LIV for Clearing Agent
    Following condition types to be used in MM Pricing.
    JCDB     IN:Basic Custom Duty
    JCV1     IN : CVD
    JECV     IN : Ed Cess on CVD
    J1CV     IN : H&SECess on CVD
    JEDB     IN : Ed Cess on BCD
    JSDB     IN : H&SECess on BCD
    JADC     Addnl Duty of Custom
    Mandatorily, use a Zero % Tax Code in Import PO.
    Import Duties will not come from J1ID, in J1ID only you have to mainatin material and Vendor (Customs Office and Import both) excise details.
    Above all, check the Excise Defaults for CVD conditions in SPRO > LO > Tax on Goods Movement > India > Basic Settings > Mainatin Excise Deafults

Maybe you are looking for