Delivery document archived and material document has zero quantity

Hello Gurus,
This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008.  Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
Is there any sap notes or any other way to fix this?
Please guide.
Regards
Nilesh

Niles Raut wrote:
Hello Gurus,
>
> This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008.  Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
>
> When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
>
> Is there any sap notes or any other way to fix this?
>
> Please guide.
>
> Regards
> Nilesh
Where is actually the problem, if one only reversed 0 quantity?
Why do you think you need to reverse this reversal again?
why with year 2010?
Dont you do anual inventories?  Such stock counts have corrected your stock anyway. if you start cancelling older movements then you create stock inconsistencies again.

Similar Messages

  • Get Material Document Number and Material Document Year

    Hi everyone,
    Right now, i'm developed idoc program. I need material document number (MBLNR) and material document year (MJAHR).  I have information only BAPI2017_GM_HEAD_01 and BAPI2017_GM_ITEM_CREATE. Is there any FM to get this value ? Thank you
    Regards,
    Satria

    Ok, i will explain with more detail about my problem
    Here my pseudocode :
    -  Get data with type BAPI2017_GM_HEAD_01 from Idoc (let we say this X)
    -  Get data with type BAPI2017_GM_CODE from Idoc (let we say this Y)
    -  Get data with type BAPI2017_GM_ITEM_CREATE from IDoc (let we say this Z)
    -  IF Y-GM_CODE <> "06" THEN
           CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
               EXPORTING
                   GOODSMVT_HEADER = X
                   GOODSMVT_CODE     = Y
               TABLES
                    GOODSMVT_ITEM      = Z
       ELSE IF Y-GM_CODE = "06" THEN
           CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'
                EXPORTING
                     MATERIALDOCUMENT = ???
                     MATDOCUMENTYEAR = ???
                    GOODSMVT_PSTNG_DATE = ???
    I know that material doc and mat doc year is in table MKPF. But the problem is they are  the primary key, so how i use X,Y,Z in select operation to MKPF? or is there another way using FM ? Thank you
    Regards,
    Satria

  • Display of FI document numbe and material document number

    Hi,
    I want to display both the material document number ( RBKP ) and the acccounting document number ( BSET ) together while posting the Invoice using MIRO transaction.
    Pl provide with your valuable suggestions.
    Regards,
    R. Dillibabu.

    Hi Arif,
    We wanted to generate a number during invoice verification based upon the order type of the PO, As you know it is not possible to generate a order specific material document number but it is possible to generate a order specific accounting document number provided we can select RE or ZE while processing invoice verification.
    This accounting document number will be considered as a claim number for one of the customized business process ( Warranty Claim process ).
    The user has to record the claim number on a daily basis. Currently it is being done by passig the RBKP-BELNR to the BKPF to get the accounting document number ( BELNR ) which is quite tedious.
    Hope the business functionality is quite clear now.
    Regards,
    R. Dillibabu.

  • Need help abt Purchase order and material document number

    1)Is there any releation ship between Purchse order number and material document number?
    2) I found aBAPI to get the goods receipt details. That is BAPI_GOODSMVT_GETDETAIL. But it is excepting Material document number and material document year as input parameters.Is there any BAPI to get goods receipt details by using purchase order number?

    hi kiran
    check this thraed. this gives you relatinship between Purchse order number and material document number
    Retrieving Accounting Document number based on PO numbers
    BAPI to get goods receipt details by using purchase order number is
    BAPI_GOODSMVT_CREATE
    thanks
    Sachin

  • Please provide logic for schedule lines and material document Quantity.

    Hi ABAPers,
    Please help in the following context.
    Is there any connecting or refrence field for which a particular schedule line item are considerd for the goods reciept of a particular material document.
    Also provide the logic.
    19                    34
    15
    14                   35
    11
    10
    If 19 15 14 11 10 are schedule lines, and 34 35 are two recived quantities,
    Then how can be the possible permutations and combinations logic to find out that, 34 = 19 + 15 and
           35 = 141110.
    Thanks in advance...

    Niles Raut wrote:
    Hello Gurus,
    >
    > This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008.  Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
    >
    > When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
    >
    > Is there any sap notes or any other way to fix this?
    >
    > Please guide.
    >
    > Regards
    > Nilesh
    Where is actually the problem, if one only reversed 0 quantity?
    Why do you think you need to reverse this reversal again?
    why with year 2010?
    Dont you do anual inventories?  Such stock counts have corrected your stock anyway. if you start cancelling older movements then you create stock inconsistencies again.

  • PO print OUT And material Document Print Out is coming In English

    HI all.
    I have Created Vendor In ZH(chinese Language,)and in material master I have maintained description in Chinese language.
    I'M taking PO and material Documents print outs  in Chinese Server log-in.
    even Though Im taking Print outs in Chinese Log-In server, IM getting Print outs in English Language only not In chines language..
    At the Time Of PO creation the Communication Language is ZH(Chines)..
    I have read some related post even 89899..
    But I have not find solution
    plz help me.
    thanks and regards
    ramesh reddy.'

    Check SAP Note 894444 - Tool for server-based printing on Windows (SAPSprint) for your requirement,
      Installation
    Before you install SAPSprint, delete SAPLPD manually. To do this, you normally need to completely delete the installation directory only. If you installed SAPLPD as a service using the srvany tool, you can remove the service by calling 'Instsrv SAPLPD remove'.
    You can download SAPSprint as a self-extracting executable file from SAP Service Marketplace:
    1. Entry by Application Group (on the left)
    2. SAP Frontend Components (on the right)
    3. SAPSPRINT (on the right)
    4. SAPSPRINT <Release> (on the right)
    5. SAPSPRINT <Release> (on the right)
    6. Win32 (on the right)
    Start the program. After you enter the installation path, the system prompts you to enter the TCP/IP port.
    Normally, the default setting of 515 is suitable for the port. You should only change this setting if the Windows TCP/IP print service is also running on the computer. The SAPSprint Windows service starts as soon as the installation is over.
    We recommend that you set up the following options for the service in the Windows Service Control Manager:
    The service should run under a domain user that has the relevant authorizations for the required printers. After the installation, the service runs under "Local system account". This can access locally-defined printers only. You can set the user in the Windows Service Control Manager, in the options of the SAPSprint service.
    If you want to delete SAPSprint, you can do so using the normal Windows uninstall tool.
    We recommend that you install the SAPSprint service on a separate computer and not together with a SAP system, especially if you use a large number of printers. All printers that SAPSprint uses must be installed on the SAPSprint computer. This applies particularly to released printers from other computers. These should be installed as a queue on the SAPSprint server.
    Also note further settings in accordance with Note 1069483.
    Settings
    You can display the call parameters available for SAPSprint by calling 'sapsprint -?' on the command line. The most important parameters are those that set options, especially log options for troubleshooting.
    You can set the log level to 5 by specifying 'sapsprint -oi LogLevel 5'. Immediately after installation, no log level is set up, which means that no log file is created. By setting the log level to 1, 5, or 9, you can ensure that more information is available in the directory that you specified during the installation. A file called sapsprint.dbg and a print job specific file with a variable name are generated. The second file is deleted after successful printing. It is only retained if the printout is recognized as incorrect. If you set the option 'sapsprint -oi KeepFile 1', then both this file and the print file are retained. This is primarily intended for troubleshooting by SAP Support.
    All options are case-sensitive. You can display the most important SAPSprint options by calling 'sapsprint -?'. All possible options are described in Note 85469. Normally, the options described there are not necessary - you should use them only in exceptional circumstances.

  • Billing Document and Material Document number and Date (Goods Issue)

    Dear Experts,
    Is there a way I can find the relationship between a billing document and a material document number and Goods issue date?
    Thanks

    Hi Abid
    Is there a way I can find the relationship between a billing document and a material document number and Goods issue date?
    You have to follow the flow from the billing document to the material document. This will only work if the billing document comes from a delivery note.
    Billing document => Delivery
    LIPS-VBELN = VBRP-VGBEL
    and LIPS-POSNR-VBRP-VGPOS
    So you have LIPS + LIKP with the LIKP-WADAT_IST as the goods issue date.
    Delivery => Material Document Number
    You can use the table VBFA with the delivery item as the preceding document number (VBFA-VBELV) and item (VBFA-POSNV) ; you will also have to define the preceding document type as J (delivery) and the document category of subsequent document as R (material document).
    Because in SAP nothing is simple, there might more than one material document, because the goods issue (601) movement might have been canceled and issue again. So you will have to decide what to do in that case.
    Best Regards,
    Franck

  • Billing Document and Material Document Relation

    Dear all,
    i need to know about the relation between Billing document and Material document.
    Please let me know if there is any Function Module or Some View available to get these details.
    my only requirement is to get only Material document From Billing Document.
    Thanks In Advance.
    Pradeep.

    Hi
    So the material document should be linked to the delivery
    The document flow:
    Delivery->Outgoing moviment->Delivery->Bill->FI invoinces
    If you start from FI:
    - Get the bill number from header data: BKPF-AWKEY
    - get the delivery number from bill item VBRP-VGBEL
    - get the document flow for the delivery: VBFA: here you can find out the material document
    Max

  • Creating freigth cost document and material document

    Dear all,
    when creating a freigth cost document the system automatically generates a service entry sheet, and a material document with its accounting document. This is standard behaviour.
    When creating freigth cost document we've activated user exit V54C0001 so that field 'Description for reference' (VFKP-POSTX) is populated with outbound delivery number (instead of transport number). We need to know how could we automatically fill field 'delivery note' (LFSNR) in material document with that number.
    Best regards
    Joana Trigo

    Hi
    So the material document should be linked to the delivery
    The document flow:
    Delivery->Outgoing moviment->Delivery->Bill->FI invoinces
    If you start from FI:
    - Get the bill number from header data: BKPF-AWKEY
    - get the delivery number from bill item VBRP-VGBEL
    - get the document flow for the delivery: VBFA: here you can find out the material document
    Max

  • Difference between Return Delivery to Vendor - Against Material Document &

    Hi,
    Can any body explain in detail what is the difference between the below 2 scenarios-
    Difference between Return Delivery to Vendor - Against Material Document & Return Delivery to Vendor - Against Returns PO
    Thanks in adv
    Reg
    SSK

    Hi,
    Return delivery to Vendor against material document is done when you want to send the entire qty back to vendor and when your vendor invoice is not paid.
    You create Returns order, when you want to return some qty for which you can not trace any material document.
    For eg: During some festival season, you have purchased more stock. After that some stock is left with you which you would like to return to the vendor.
    Or you have found them damaged at a later point of time.

  • Delivery number for a material document posted

    Hi experts,
    I need to delivery number for the material document number posted,
    I tried to use the field XBLNR from the table MKPF
    but i see that the feild is empty in the case of inbound delivery
    why is it so.
    How ever i can get the data from VBFA ,but can any one tell me the reason why XBLNR is empty in case of inbound delivery.
    Thanks a lot in Advance.

    Hi,
    If you do GR w.r.t. Inbound Delivery No in MIGO then it will not update "Reference" field i.e. XBLNR.
    To update same with Inbound Delivery No, you have to do "Post Goods Receipt" from Inbound Delivery Document itself in VL31N or VL32N.

  • Table name and field name for accounting and material document in MM

    Hi
    Table name and field name for accounting and material document in MM
    how can we diffreentiate the accounting document in MIGO and MIRO ?

    Hi,
    For Goods reciept documents you can search from the tables  MKPF-Header: Material Document and MSEG-Document Segment: Material,
    and for Invoice documents you can search in  tables   BKPF-Accounting Document Header and BSEG-Accounting Document Segment.
    For differentiating the Accounting documents in MIRO and MIGO based on posting key and document types for GRN -document key is -WE and for MIRO document is -RE.......
    Hope this may help you.....................

  • ML81N Service entry sheet and material document

    Hello,
    Why SAP creates a material document "WE" and another document "Lerf" when you create a service entry sheet using the ML81N transaction?
    I have seen too that if you don't set up the "No limit" flag in the purchase order then you can make a lot of entry sheet but SAP doesn't create the same number of material documents.
    Therefore, it can be a scenario where you can have a document entry sheet but you don't have the corresponding material document.

    Hi,
    The GR document is an official document. The system creates the material document automatically when you accept and save the entry sheet (ESSR-KZABN = X).
    "Lerf" in the PO history is a service entry sheet, the material document is the same material document which MIGO would create.
    Please check the EKBE and MSEG for the entries.
    You can save for the same PO several entry sheets and the system automatically creates material documents for these entry sheets when you save and accept the entry sheets. It is not possible to save more than 1 material document for the same entry sheet.
    But it is possible to release entry sheets collectively in ML85:
    For example you created a PO with service quantity 20 and you can create as many entry sheets as the quantity from the PO service item (20) and the overdelivery tolerance this allows. All of these entry sheets will refer to the same PO item. In ML85 you can release all of these entry sheets in the same step in ML85 and the system will create a material document (just 1 material document) with as many items (BUZEI) as many different entry sheets you saved for your PO item...
    Regards,
    Edit

  • Relation between goods receipt and material document number

    guyz!
    i got stuck up at one functional doubt. can any one say link between goods receipt and material document number. in other way, i wanted to know difference between these two i.e. goods receipt and material document number. or both are same.
    awaiting for reply
    manas

    Hi,
    Just have a look if this thread can solve ur problem.
    Re: display goods receipt
    Rgds,
    Prakash

  • Relation between Material Number and Material document Number.

    hi xperts,
         I want to Know Is there any Relation ship between the <b>Material Number</b> and <b>Material Document Number</b>.
      If So can i get any Tcodes to check them?
    Thanks in advance.
    Message was edited by:
            STALIN JOSEPH

    Hi,
      Thanks for your reply.
    I want to Load the Inventory Management Data into Business warehouse ,there the Only way i correlate the Data between is by taking some material Number.
    and Material Document.
    In step 1 i load Material Number data and step 2 i load material document data,so i want to make cure those two loads i load the same material numbers.
    Please help me to collerate between them.

Maybe you are looking for

  • Mac Pro no longer sending signal to Monitor

    The Mac Pro 2 x 2.8 Quad Core I purchased a few months back has developed a rather serious fault over night. The mac powers up as normal but doesn't send a signal to the monitor. I've tested the monitor on my PC and it's fine (I've also plugged the P

  • Add Column Delete  in report, How to delete row using this delete Option

    Hi Friends, i have a report ,iwant to add an option DELETE in last column.When i click on DElete then respective id sholund be deleted. My Table Is CREATE TABLE  "DUMY_FILE"    (     "ID" NUMBER,      "NAME" VARCHAR2(500),      "FILE_OBJ_ID" NUMBER,

  • Maximum file-size for HR EIC emails

    Hi folks We currently use EIC in ERP, and have an issue with sending large emails/attachments as the maximum file-size appears to be only 2MB. This is set in the IMG activity Employee Interaction Center (EIC) -> Interaction Center Web-Client -> Commu

  • Request is successfully but datarecords are not loaded into the InfoCube

    Hai Im loading the data into the 0PUR_C01 from the two datasources 2LIS_02_ITM and 2LIS_02_SCL. First im trying to  load the data from the 2LIS_02_ITM int the InfoCube 0PUR_C01. Then request is loaded successfully and im getting the reporting symbol

  • Removing leading zeros for the quantity field

    Hi all, In my script form there is a quantity field, of 13 and 3 decimals , on the out put its taking that much space un neccesarily,and messing up. how to make this adjustable in the provided space. It always 3 digits and 2 decimal points in our cas