Now SAP determines the new value of the stock: 7148,39 - 30654 = -23505,61Īnd continues to calculate the new moving average: -23505,61 / 884,70 kg = negative, hence you get the error Since you had already a revaluation of your stock, your current stock has only a value of 7148.39 This means 878031 * 884.7 / 25340 = 30654 that have to be reduced from current inventory and 847377 have to be posted to consumption account as this quantity portion was already consumed. You have got a difference 878031 INR for 25340 kg SAP is trying to distribute this difference to the value of the remaining stock - proportionally Now you try to receive an invoice 25340 3.85 = 97559 INR You initialy received the material 25340 kg 38.50 = 975590 INR The calculation is almost shown in your posted values from the simulation mode Like if you have Customer Invoice, then u can get the corresponding Sales Order numbers(if the Invoice is built thru Sales Order, this is incase of Third party orders) and then frm the sales order numbers we can get the corresponding purchase order numbers which were sent to Supplier.That just means you cannot add any further reply to this old discussion, but you can read it without any problem Please refer to the thread below for credit/debit memo: Let me know in which part is ur scenario or if ur scenario is different let me know that. With this reference client creates Sales Order and if he has all the materials or products then he directly ships and creates a O/B delivery and sends invoice to Customer, otherwise Client creates a Purchase Order for Thirdparty and sends it to supplier and supplier delivers the goods and sends a despatch advice and client creates a I/B delivery and then Goods receipt and O/B delivery and pick,pack and Post Goods Issue and then Invoice, if customer has any product to be repaired or returned, he sends the products to Supplier and client creates a Return Order with reference to ´CUstomer Invoice and creates subsequent credit/debit invoices to customer and vendor thru MIRO with reference to Purchase Order created by Client. *&-*įirst of all i need to tell the business process:Ĭustomer sends his purchase order(BSTKD) to Client(R/3). PERFORM alv_build_fieldcat USING 'IOUT' g_repid. PERFORM comment_build USING t_list_top_of_page. SELECT-OPTIONS: s_xblnr FOR vbrk-xblnr OBLIGATORY. SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001. TABLES: vbak, vbrk, vbfa, vbkd, kna1, vbap, konv, zppprice. REPORT zsdr_cmdetails NO STANDARD PAGE HEADING. Now the report is displaying details only for Cmemo's with Acctdocunum. The only thing I want to add to this report is, when the Cmemo does not have Acctdocunum, then I have to display remaining details. SELECT SINGLE fkdat FROM vbkd INTO lv_fkdat SELECT SINGLE werks FROM vbap INTO lv_werks SELECT SINGLE auart augru FROM vbak INTO (lv_auart, lv_augru) READ TABLE izppprice WITH KEY kunnr = ivbrkp-kunagįROM kna1 INTO lv_name1 WHERE kunnr = ivbrkp-kunag. SELECT kunnr matnr sprice eprice eohqty bstkd crmemo SELECT a vbeln aposnr a vgbel anetwr a fkimg amatnrī vkorg bvtweg b spart bkunag b xblnr bbstnk_vf Please help me if I am correct or should I use different table combination. Then get ACCTDOCUNUM from VBFA based on VBAK-VBELN and VBAP-POSNR. Getting vbeln from VBAK based on s_XBLNR. If ACCtDocuNum is not there, it has to display the remaining fields.Ĭan I use VBAK, VBAP and VBFA combination. The report is working fine if the Credit memo has account docu number, but now user wants this report to work if Cmemo does not have ACCtDocuNum also. I am developing Credit Memo Details report, here user wants all the details of Credit Memo including Acct Docu Number based on Reference number.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |