Change Net price in the PO after releasing blocked invoice
Hi,
We had a PO which had wrong price for an item. Invoice amount was hight for this line item and so the invoice was blocked. Accounting manually unblocked the invoice so purchasing could correct the price on the PO but now the net price column is greyed out in the PO just for that line itme.
Please can anyone let me know how to change the price on the PO so that invoice could be processed.
Thanks
Mira
Hi,
Once PGR Processed you can't change the Price of the PO.
First you have to reverse the INvoice in MR8M..
Then you have to cancel the MIGO through 102 movement type.
then you do changes in PO item value.
afterthat do MIGO & MIRO.
it will work.
SAM
Similar Messages
-
*Is it possible to change NET PRICE of Service PO after Invoice.*
if it is possible can you please mention what are ways to change NET price after INVOICE
I would suggest Forum "ERP - Logistics Materials Management (MM)":
SAP ERP - Logistics Materials Management (SAP MM)
But I believe you should try Forum Search beforehand:
http://forums.sdn.sap.com/search!default.jspa -
How to copy net price of the Contract to Valuation price.
Dear All,
I have a requirement to change the valuation price when raising purchase requisitions (ME51n). when selecting source of supply (Contracts), i want to copy the Net price of the selected contract to the Valuation price of the Purchase Requisition. i tried to find a Badi or User Exit to do this, but i couldn't find any.
Can you please help me on this.
Thanks,
Chaminda.
Hi all,
I found a way to do this.
ME_PROCESS_REQ_CUST
Edited by: chaminda CK on May 7, 2010 7:21 AMfound the answer
ME_PROCESS_REQ_CUST
PROCESS_ITEM method can be used.
Edited by: chaminda CK on May 7, 2010 7:23 AM -
How to change net Price by using BAPI_PO_change
Hi experts..
How i can change net price by using bapi_po_change.
What parameters i have to pass in this fm.
if possible please tell me , which table this FM will update.
Thanks.
I will award points for all help.See the below code and have tested and it works great..
REPORT ZTEST_PG_07 NO STANDARD PAGE HEADING
MESSAGE-ID z9_msg_prash.
Tables Declaration ****
TABLES: ekpo.
Variables Declaration ****
DATA: v_purchaseorder TYPE bapimepoheader-po_number.
DATA: v_ebelp TYPE ekpo-ebelp.
Constants Declaration ****
CONSTANTS: x VALUE 'X'.
Internal Tables Declaration ****
DATA: it_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
DATA: it_poitem TYPE STANDARD TABLE OF bapimepoitem WITH HEADER LINE.
DATA: it_poitemx TYPE STANDARD TABLE OF bapimepoitemx WITH HEADER LINE.
DATA: wa_return TYPE bapiret2.
Selection Screen ****
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: p_ebeln LIKE ekpo-ebeln OBLIGATORY.
PARAMETERS: p_ebelp LIKE ekpo-ebelp.
PARAMETERS: p_menge LIKE ekpo-menge.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN
AT SELECTION-SCREEN ON p_ebeln.
IF p_ebeln IS NOT INITIAL.
SELECT SINGLE ebeln INTO v_purchaseorder FROM ekpo
WHERE ebeln = p_ebeln.
IF sy-subrc <> 0.
MESSAGE e002.
ENDIF.
ELSE.
MESSAGE e005.
ENDIF.
AT SELECTION-SCREEN ON p_ebelp.
if p_ebeln is not initial.
IF p_ebelp IS NOT INITIAL.
SELECT SINGLE ebelp INTO v_ebelp FROM ekpo
WHERE ebeln = p_ebeln AND ebelp = p_ebelp.
IF sy-subrc <> 0.
MESSAGE e003.
ENDIF.
ELSE.
MESSAGE e006.
ENDIF.
endif.
START-OF-SELECTION
START-OF-SELECTION.
v_purchaseorder = p_ebeln.
it_poitem-po_item = p_ebelp.
it_poitem-quantity = p_menge.
it_poitem-net_price = '20.00'.
APPEND it_poitem.
it_poitemx-po_item = p_ebelp.
it_poitemx-po_itemx = x.
it_poitemx-quantity = x.
APPEND it_poitemx.
*&----Calling BAPI function module
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = v_purchaseorder
testrun = x
TABLES
return = it_return
poitem = it_poitem
poitemx = it_poitemx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = space
IMPORTING
RETURN =
END-OF-SELECTION
END-OF-SELECTION.
LOOP AT it_return INTO wa_return.
WRITE:/ wa_return-message.
ENDLOOP.
Thanks
Seshu -
Recreating duty calculations for PO for changed Net price of an item.
Dear Friends,
i am trying to simulate the duty values for a PO by calling the FM's in the below said order.
it is working fine, when i am simply passing the actual value of the item via structure (gfl_komp) shown below.
My requirement is like, i want to change the net price in the item structure (gfl_komp) and recalculate based on the changed Net Price. But when i change the Net value, it is not getting reflected in the simulated value of FM 'Pricing_screen'.
Is there anything i should pass to the header structure (gfl_komk). Please help me out.
CALL FUNCTION 'ME_FILL_KOMK_PO'
EXPORTING
i_ekko = gfl_ekko
i_ekpo = gfl_ekpo_pass
i_lfa1 = gfl_lfa1
i_t001 = gfl_t001
i_kalsm = gfl_ekko-kalsm
i_kappl = 'M'
I_EGIMP = I_EGIMP
I_LFM1 = I_LFM1
I_T001W = I_T001W
I_TRTYP = I_TRTYP
I_WEDATEN = I_WEDATEN
I_KVORG = I_KVORG
IMPORTING
e_komk = gfl_komk
CALL FUNCTION 'ME_FILL_KOMP_PO'
EXPORTING
i_ekpo = gfl_ekpo_pass
i_t001w = gfl_t001w
i_ekko = gfl_ekko
i_komk = gfl_komk
I_MT06E = I_MT06E
I_EINE = I_EINE
I_EINA = I_EINA
I_PREISFINDUNGSMENGE = I_PREISFINDUNGSMENGE
I_UEBPO = I_UEBPO
IMPORTING
e_komp = gfl_komp
Here i am trying to change the values of the actual PO values in gfl_komk and gfl_komp.
CALL FUNCTION 'PRICING_SCREEN'
EXPORTING
comm_head_i = gfl_komk
comm_item_i = gfl_komp
COMM_TEXT = ''
DISPLAY_ONLY = ''
MATERIAL_TEXT = ''
TRTYP_I = 'A'
FPTYP_I = ''
CTRL_NO_DISPLAY = CTRL_NO_DISPLAY
REQUEST_POS1 = '-'
REQUEST_POSM = '-'
REQUEST_POSP = '-'
REQUEST_POSL = '-'
IMPORTING
COMM_HEAD_E = COMM_HEAD_E
COMM_ITEM_E = COMM_ITEM_E
CALCULATION_TYPE = CALCULATION_TYPE
FCODE_E = FCODE_E
TABLES
tkomv = git_tkomv
SVBAP = SVBAP
CHANGING
C_VFKOMV = C_VFKOMV
ENDCASE.
ENDIF.
Regards,
Sandeep Sivan
Edited by: sandeep sivan on Apr 13, 2010 11:32 AM
Edited by: sandeep sivan on Apr 13, 2010 11:32 AM
Edited by: sandeep sivan on Apr 13, 2010 11:37 AM
Edited by: sandeep sivan on Apr 13, 2010 11:47 AMhi sirnivas..
Thanq you for the points..these are the first i ever recieved..
if you are working on peice of code which can get the price history do me a favour if you have finished the code just explain it to me who did u do that...
i have been working on an object from last two weeks to get the latest price...
the thing is even though the price for condition items has been changed it wont get updated in the Sales orders unless new pricing fot the document is done...
so i have to get all the sales orders who condition items price has been changed and display them in an ALV...so if you can get the exact old values...for the conditions i guess the opposite also can be done.....
Here i have suggestion for you...in condition items there is a process called SCHEMA ( pricing Schema) which you can see using Condition Analysis button at the bottom of the condition item window...
you can see all the price changes to the condition when you parse the tree structure of the procedure..EXAMPLE :- R0000 etc...
so some Sales orders if the Schema has been changed all the existing condition are replaced by New ones from the changed Schema...so i guess that would play an important role in deciding the Price of Sales order...
I know this is bit long but .....if you did finsish your program do let me know how you did it...
Thankyou very much and good luck. -
Net Price from the Service Order
Hi Experts,
I want to read the net price from the service order, in the order_read_ow FM I am getting the pricing conditions tab and getting the prices related to the conditions.
Is there any way to get the net price directly.
Thanks in Advance,
PraveenPls use the FM CRM_PRIDOC_READ_OW. You can pass the header GUID.
-
Change Net Price of Scheduling agreement (ME32L/MEK2)
Hi,
I need to modify via ABAP program the net price of scheduling agreements.
My current program edits price conditions through batch-inputs on MEK1 / MEK2 but they don't automatically update the net price.
The ME32L allows editing of price conditions and automatically updates the net price, but is not suitable for a batch input.
Any ideas?
Thanks and regards
FrancescoDear Frans,
As per i know You can use ME32L for batch input,. you can try to record the script using SHDB. -
Release blocked Invoice by checking the GR
hi all
i need to release the blocked invoice in tcode MRPR by checking GR already posted or not...
if not then it should allow the invoice to release...
is there any SAP standard functionality or we have to customize this one?
please help.
thanksYou can Use Trxn code MRBR for Releasing Blocked Invoices. Go to MRBR and Select Company Code, Fiscal Year and Document No and Execute and in Next Screen You can see all the details like Ref GR doc No Qty, Differences if you Wish You can release by Selecting Line ITem and Clicking on Flag Icon / F9
Regards,
Ashok -
How to continue the workflow after a block?
Hello,
I'm trying to make continue the workflow after a block. The CompleteActivity procedure doesn't give an error, but the workflow doesn't continue.
Anybody a good idea?
RobbyCompleteActivity is the correct API, see the Workflow Guide for details,
procedure CompleteActivity
(itemtype in varchar2,
itemkey in varchar2,
activity in varchar2,
result_code in varchar2);
where:
itemtype A valid item type.
itemkey A string generated from the application object's primary key. The string uniquely identifies the item within an item type. The item type and key together identify the process.
activity The name of the activity node that is completed. Provide the activity node's label name. If the activity node label name does not uniquely identify the subprocess you can precede the label name with the internal name of its parent process. For example, <parent_process_internal_name>:<label_name>. This activity node must be marked as a 'Start' activity.
result_code An optional activity completion result. Possible values are determined by the process activity's Result Type, or one of the engine standard results. See: AbortProcess.
Hello,
I'm trying to make continue the workflow after a block. The CompleteActivity procedure doesn't give an error, but the workflow doesn't continue.
Anybody a good idea?
Robby -
MRBR as an Enterprise Service (Release Blocked Invoice)
Hi,
Can anyone help me find the Enterprise Service I need to Release Blocked Invoices (transaction MRBR)? I've looked for it in the ES Workplace alas no luck ...
Thanks in advance,
Frederik-Jan Roose
Edited by: Frederik-Jan Roose on May 14, 2008 9:53 AMI had a same situation. user posted invoice on 10/10/2011 and he changed price determnition date in po from 10/10/2011to 9/09/2011 on 15/10/2011. he changed this after invoice posted. Now we are unable to release the invoice. Previously 10/10/2011 invoice blocked due to quantity variance. Invice not appearing mrbr list. Now we are unable to release the invoice. we had tried t reverse the invioce but we are unable t do that. can you plz suggest how t proceed further.
-
Use of MRBR - Release block invoices
Hi,
I want to know use of TCode of MRBR - Release block invoices.
I did MIRO. There it was payment block. Then i went to MRBR expecting that i can release the invoice from there. But payment block was not removed. So let me know what is the use of MRBR.The link given has following lines:
1. Since the total invoice amount is to be paid and not individual invoice items, the blocking indicator is set in the vendor line of the accounting document. As a result, all the items in an invoice can only be released at the same time.
2. MR02: invoice release transaction for blocked invoices that were posted in CIV (MR01)
3. MRBR: invoice release transaction for blocked invoices that were posted in LIV
I have following doubts:
I did MIRO & payment block automatically is picked up. I thought by using MRBR, that payment blocked will be removed. But this was not the case. But according to 1st sentences mentioned above, it should be done.
What is meant by CIV & LIV in 2 & 3 sentence. -
Is there any transaction that will change net price in a purchase order
Hi All,
Is there any program / transaction where i can change the net price for few materials in the purchase orders (say 100 purchase orders) which has been created few days back. Please let me know at the earliest.
Regards,
PSSHi,
By changing the price in the Info Record price condition it is possible to made to reflect the same in PO Net Price through Automatic document Adjustment.
MEI1 & MEI2 are used for Invidual & Mass processing.
Its applicable to Vendor / Material combination i.e. Info Record.
Regards,
Ramesh -
Changing Net Price using bapi 'BAPI_PO_CREATE1'
Hi All,
I have a requirement to create the PO using BAPI .In this , the Net Price value is automatically updated from Info record.
Can any one pls suggest the procedure how to update this Net Price through a flat file , and not through the info record.
Thanks in advance...
Regards,
Sivani.HI,
Try to set the IMPORT paramter NO_PRICE_FROM_PO = 'X'.
also if u want the data from the flat file collect the data from flat file to internal table.
loop through that internal table
call BAPI.
endloop.
Hope this solves ur problem
Thanks ,
Ruchi -
Change sales office and sales group after delivery and invoice is created
Dear All,
after we create invoices for 60 sales order we found that the sales office and sales groups are wrong, we need to change these orders,
is there any way rather than cancel the invoices ?Are they greyed out?? check with T.code MASS , obejct type BUS2032 and select sales header and input your sales order > execute
-
MRBR - Release Blocked Invoices
I am experiencing that MRBR release invoices that have just been blocked due to variance. This without any change having taken place in the PO or anywhere else.
E.g.
1) PO. 1 item of 680 USD.
2) GR. 1 item of 680 USD.
3) IR. 1 item of 360 USD. Blocked due to price variance (this set to 200 USD / 10 % in customizing)
4) MRBR release manually. Shows that the invoice is blocked due to price variance of -320 USD.
5) MRBR release automatically. Releases the Invoice.
The issue is:
As I understand MRBR automatic release, it should only release the invoice if the blocking reason no longer applies, but nothing changes between 4) and 5) above. I.e. the blocking reason should still apply and MRBR should therefore not release the invoice.
Any comments would be very appreciated.
SAP HELP TEXT:
Indicator: release invoices automatically
Controls the automatic deletion of the blocking reasons Quantity, Price, Date and Quality from the selected invoices, if they no longer apply. The system automatically releases invoices in which all blocking reasons are deleted.
Use
If you select this field and choose Execute, the system deletes all blocking reasons that satisfy the criteria entered in the group box Selection of blocked invoices and that are no longer relevant.
Price variance
Purchase order: 100 pieces @ $10; Delivery: 100 pieces; Invoice: 100 pieces @ $11 = $1100
The system blocks the invoice for payment (Blocking reason P).
Change to the purchase order: Order price = $11/pc. or
Subsequent credit memo for $100
The blocking reason no longer applies and is deleted when the system automatically releases invoices.
Edited by: Thomas on Aug 12, 2010 3:40 PM
Edited by: Thomas on Aug 12, 2010 3:42 PMI had a same situation. user posted invoice on 10/10/2011 and he changed price determnition date in po from 10/10/2011to 9/09/2011 on 15/10/2011. he changed this after invoice posted. Now we are unable to release the invoice. Previously 10/10/2011 invoice blocked due to quantity variance. Invice not appearing mrbr list. Now we are unable to release the invoice. we had tried t reverse the invioce but we are unable t do that. can you plz suggest how t proceed further.
Maybe you are looking for
-
BAPI_DOCUMENT_CHANGE2 problem
HI, Im trying to delete attached file in CV02N THROUGH BAPI_DOCUMENT_CHANGE2 by passing DELETEVALUE = 'X' its not updating cv02n .kindly help me out regarding the parameters to be passed . is there any other BAPI or solution to delete the attached fi
-
Link to old document - Recommended Reading on Oracle ADF
In the list of Recommended Reading on Oracle ADF (http://www.oracle.com/technology/products/jdev/tips/muench/requiredreading/index.html ), the link for Oracle ADF Development Guidelines displays the document for JDeveloper 9.0.5.2. from 2004. There i
-
Looking for specific software...
Ok....I have looked at a couple of softwares like nike workout & iworkout but neither seem to do what I want. I'd like to have software on my nano that I can set like a boxing timer. (see link) http://store.titleboxing.com/intervaltimer.html Like thi
-
Jspc -nowrite -keepgenerated does not work correctly
When you execute jspc -nowrite -keepgenerated file.jsp it is not supposed to generated a file.class file but it still is trying to at least some of the time. $ java weblogic.jspc -nowrite -keepgenerat
-
Customizing Communications Express
I found this link http://docs.sun.com/app/docs/doc/819-2662/6n4ufs4db?a=view on changing the Tab order in communications express. But has anyone added a tab? We use Sophos Pure Message for spam filtering and I would like to add a Tab next to "Options