Item Purchase Requisition Block
For cash-relevant sales order line items that are assigned a u201Cdirect from vendoru201D item category and the deposit paid < 100% of the total line item value, then automatically set the purchase requisition block should be applied.
For the above case I am blocking item by setting user status as 'UPRq'(For blocking PR) in the item status tab, For that I am using FM status_update. This code is handled in one User exit.
after the above user exit, the standard prog will again assigning the 'URel'(User release). the result in the item status is UPRq and URel.Means both values are active. I want one user status active and other will be inactive.
<<Text removed by moderator>>
Edited by: Matt on Nov 18, 2008 1:59 PM
solved by job
Similar Messages
-
Mass Maintenance- Purchase Requisition block
Dear All,
Our client want to block hundreds of PR thru Mass maintenance tcode.
Manually we block in status tab in PR. As lot of PR's are there, how to block with Mass maintenance tcode.
Kindly advice how to do.
RegardsHi,
Use tcode mass to close all PRs in system . you can find object-(BUS2105-MASS_CHANGE_PURCHASE_REQ)
To close PR,select all Mutilple PRs and Set deletion indicator="L"
But if the deletion indicator field (EBAN-LOEKZ) is not available in system.
Then Use Tcode -MASSOBJ ,add this field .It will then appears in Mass Object-BUS2105
This will resove your query.
Thanks & Regards,
Sandesh Sawant -
Purchase Requisition Is Being Getting Created In APO But not being publishe
On doing, SNP Location Heuristics on one of our item, purchase requisition is being getting created in APO (We are able to see the same in RRP3) but the same is not being getting published in ECC. On doing CCR of the said location - product combination, it is showing Error u201C182u201D. We have checked the following parameters :-
Item is an APO Item i.e. X0.
It is having a proper Purchasing Group.
As This be a purchase item. So, it is having a valid single Purchase Info Record.
Item Has Not Been Blocked At Any Level.
Vendor From Whom This Item is being getting procured is also open (Not Blocked).
Please suggest what else to be checked and what else can be the reason for non-flowing of purchase requisition from APO to ECC.
Thanks & Best Regards,
Sanjeev ChughHi Sanjeev,
Please check change pointers if any and send them to ECC. Check the order in the planning book whether it has picked the same source for which there is a Purchase info record. If these all are fine then You send them to ECC from the CCR then check the log in ECC through CFG1 tcode.
Regards,
Kishore k Reddy -
BAPI_PO_CHANGE me22n add profit center for purchase requisition number
Hello all,
I have to add an item line for a specific sales order( p_vbeln ).
for that i use BAPI_SALESORDER_CHANGE and it works and the item is inserted.
( p_posnr = sales order item and ln_etnr = schedule_line = 1 )
Now I have to maintain the specific po item line and to insert the Profit Center related to the Purchase Requisition Number that was assigned to the above sales order item like using transaction ME22N.
when i use the transaction all i have to do is to ADD the Purchase requisition number to the PO Order Number and to add the PROFIT CENTER.
for this i use BAPI_PO_CHANGE.
i colect the folowing data:
from table VBFA( vbelv = sales order number vbeln = l_ebeln)
PO Number = p_ebeln.
from table VBEP ( vbeln = sales order number, posnr = the previously inserted sales order item )
Purchase Requisition Number = l_banfn
Purchase Requisition Item = l_bnfpo
from table VBAP (vbeln = sales order number, posnr = the previously inserted sales order item )
Profit Center = l_prctr
from table EKKN
select max( ebelp )
from ekkn
into l_ebelp
where ebeln = l_ebeln.
add 10 to l_ebelp
Purchase Order Item = l_ebelp .
and i move the data:
i_t_poitem-po_item = l_ebelp.
i_t_poitem-preq_no = l_banfn.
i_t_poitem-preq_item = l_bnfpo.
i_t_poitem-acctasscat = cc_x.
APPEND i_t_poitem.
i_t_poitemx-po_item = l_ebelp.
i_t_poitemx-po_itemx = cc_x.
i_t_poitemx-preq_no = cc_x.
i_t_poitemx-preq_item = cc_x.
i_t_poitemx-acctasscat = cc_x.
APPEND i_t_poitemx.
i_t_poaccount-po_item = l_ebelp.
i_t_poaccount-itm_number = p_posnr.
i_t_poaccount-SCHED_LINE = ln_etnr.
i_t_poaccount-profit_ctr = l_prctr.
APPEND i_t_poaccount.
i_t_poaccountx-po_item = l_ebelp.
i_t_poaccountx-profit_ctr = cc_x.
APPEND i_t_poaccountx.
then i use the function BAPI_PO_CHANGE:
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = p_ebeln
testrun = l_test
TABLES
return = i_t_return_po
poitem = i_t_poitem
poitemx = i_t_poitemx
poaccount = i_t_poaccount
poaccountx = i_t_poaccountx.
BUT i get the folowing result ( messages in return table)
Insert item for PO-order
Message: Changing of PO using Enjoy BAPI unsuccessful ;
Message: Purchase order item 00120 still contains faulty account assignments ;
Message: Enter Profit Center ;
what should i do?
best regards,
emiliahello,
i debugged the function.
first the data from poaccount is copied in lt_account.
then this happens:
PERFORM get_current_data
TABLES poitem poschedule poaccount
pocondheader pocond
extensionout
poexpimpitem allversions popartner
potextheader potextitem return
USING
l_po lf_header_currency
CHANGING
expheader exppoexpimpheader.
exppoexpimpheader = poexpimpheader. "foreign trade export workaround
after this form is executed poaccount-profit_ctr is empty.
lt_account-profit_ctr in not empty but then it is not anymore.
in the form this happens:
item data
CALL METHOD im_po->get_items
IMPORTING
ex_items = lt_items.
LOOP AT lt_items INTO an_item.
l_item ?= an_item-model.
CALL METHOD l_item->get_data
IMPORTING
ex_data = ls_mepoitem.
ls_mepoitem-ebeln = ls_header-ebeln.
APPEND ls_mepoitem TO lt_item.
schedules
accountings*
CALL METHOD l_item->get_po_accountings
IMPORTING
ex_accountings = lt_accountings.
LOOP AT lt_accountings INTO an_item.
l_accounting ?= an_item-model.
CALL METHOD l_accounting->get_data
IMPORTING
ex_data = ls_mepoaccounting.
ls_mepoaccounting-ebeln = ls_header-ebeln.
APPEND ls_mepoaccounting TO lt_account.
ENDLOOP.
item conditions
foreign trade (item data; EIPO)
ENDLOOP.
so it acctualy copies every item from purchase number ebeln in lt_item.
for each one of them it copies the account data into lt_account.
so the last loop is for the item that i want to enhance.
here it copies all the necessary data in lt_account except of course the profit center because that's the one that i need to insert.
after this loop there is a form:
PERFORM move_account_out TABLES lt_account
ext_poaccount
USING header_currency.
where the ext_poaccount is the poaccount parameter.
this form:
clears ext_poaccount.
copies the data from lt_account into ext_poaccount.
and returns the ext_poaccount with the empty Profit center field
and so after performing get_current_data my parameter is deleted.
then it's almost the end of the function and nothing else related to the poaccount parameter.
so it's no use for me to insert the field Profit_Center?
is there another FM that i should use to be able to insert the profit center?
what should i do?
Best regards,
Emilia -
Block item in the purchase requisition
Hi expert,
do you know some bapi to modify a purchase requisition item ?
p.s. The modify consist to block only some item.
tks a lot,
bye.Hi Frank,
tks for your reply, anyway I asked about some bapi ... not batch input and not transaction me52 .
bye. -
No selectable items exist for purchase requisition l_banfn
Hi,
While creating PO with ref to PR getting the below error :
no selectable items exist for purchase requisition l'banf .
Checked if the PO is created, its not created,.
checked if the item is blocked/cancelled/deleted. Nothing is set.
PR looks fine. Dont know if any authorization data is missing?Check the status tab in ME53N whether all the qty in PR are already used up
Or
Check the line item in PR whether it is deleted
Edited by: Karthik on Jul 20, 2011 12:37 PM -
"No selectable item exist for purchase requisition I_Banfn"
Dear all
While creating Po system show a massage"no selectable item exist for purchase requisition I_Banfn"
Please help.Hi,
PR status in status TAB in item details You have following:
Processing status :Specifies the current processing status of the purchase requisition: IS PO Created or RFQ created etc...
Block ID:The requester (PR creator)can block a requisition item to prevent it from being converted to a purchase order
Processing State: Released or not Released
You need check above & then act to unblock if blocked , release it if it is not released or check if this PR already converted to PO.
Follow the steps to create PO from PR:
Enter ME21N T.Code
Click u201CDocument Overview onu201D
Click u201CSelection Variantu201D and Select Purchase requisition and double click & Execute
Now you will PR Numbers,Select your PR Number , you will have line items(10,20,30 etc..) , you will have all the details of PR (like item category,material , quanitites for each line items) and Now click u201CAdoptu201D and u will see all PR related copy to PO.
Regards,
Biju K -
Purchase Requisition number not changing when sales order item is rejected
Hi all,
I have a requirement to change the sales order status to 'TECO' when ever some reason for rejection is selected in the status tab at the item level.The status should change from 'TECO' when i remove the reason for rejection.
The status change is happening correctly.I have achieved it using user exit.
CASE 1 : Initially, when a new item is added in the Sales order the purchase requisition number appears in the schedule lines tab of the item level. This is as expected.
CASE 2 :When the same item is blocked (by entering a reason for rejection in status tab of VA02 ) then the purchase requisition number is not present in the schedule lines tab.This is as expected.
But i face the following issue.
CASE3 : Again if the blocked item is unblocked (By removing the reason for rejection in status tab of VA02 ) then the purchase requisition number does not appear again in the schedule lines tab.The purchase requisition number is expected to appear again.
This happens in case of DROP SHIPMENT scenario. I understand that in case of dropshipment scenario the purchase requisition number is triggered by item category and schedule lines only.
I tried to make the changes(to change the status ) in user exits 'MV45AFZZ' and also 'MV45AFZB'.But i face the issue in both the exits.Please let me know if there are any means to solve this issue(as mentioned in case 3).
Regards,
S.SubaMany thanks for your answer. It help me to solve the issue.
So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
da_sy-msgid = 'Z1'. (message class)
da_sy-msgno = '001'. (message number)
error_exception = true.
and then the PR is not created.
Regards. -
Payment history in Item head ( status tab) of Purchase requisition
Dear group members,
In purchase requisition, in item head, in status tab we can find the history of
1. Purchase Order
2 service entry sheet
3. Goods receipt entry sheet
4. Invoice entry
5. Down payment
6. Credit memo
Here i need the information of payment made vendor
My user makes payment from F-53
How can i get the history of payment made to vendor in purchase requisition (in status tab?)
Regard
shamulheqHi !Paul Shrewsbury
When vendor payment is made through F-53 is their any option to make payment to vendor by selecting purchase order number? Her we make full payment for the invoice, no open item balance in vendor a/c
In my company if we make downpaymenf-48 to vendor by selecting the purchase order it reflects in purchase order history/Purchase requisition status tab
If u can put some more light on this it will be great help for me
Regards
shamulheq -
How to copy sales order item text in to purchase requisition
Hi Experts,
We enter text for the sales order items in the sales order item details.
we have done settings for the purchase requision to copy text from sales order into purchase requisition and this works for purchase requisitions automatically created from sales order.
we need to get text from sales order to be copied in purchase requisitions which are created by converting the planned order.
we have tried SPRO settings SPRO->Materials Management>purchasing--->text for purchase requisition.
but this settings does not works for Pur Req. created by converting the planned order.
is this because planned order does not have segment for text like sales order and purchase requisition?
Please let me know if it is possible through standard SAP or with the lease development, any help will be appreciated.
Thanks
AnandHi Rajesha,
Thanks for your reply, some of the items in sales order are procured externally by us and our customer maintains text related to price and specification in the item details of the sales order, MRP creates planned order for these materials and these planned orders are always converted in pur requisition, we want that text from the sales order item details should be copied in to the purchase requisitions converted from planned orders.
is there any user exit which can be called at the time of saving a purchase req or user exit for converting planned order in to pur req.?
if there is any such exit available, then I think I can read the pegged requirement of the planned order where sales order item will be found then read the text in the item then copy this text in pur req then save pur req may work.
but this will be a bulky development, please let me know if we can shorten the development.
Thanks again
Anand -
Sales order item text to purchase requisition
Hello Team,
we have scenario in which we create the sales order and while creating the sales order we put the production memo text at the item level under text tab in it.
We have define copying rules for the production memo text under PR customizing text types to get it copied from the sales order. But when we are creating the PR for the sales order then the production memo text is not flowing into the purchase requisition.
I checked some OSS notes and found recently released note 448814 which says that text does not gets copied to PR when PR is created manually from the sales order ( question no 24 and 25 in the note ) due to technical reasons and it gets copied only when the PR gets created directly from the sales order.
Could you please help me to know if this is standard problem or some other settings exists and if anyone have other solution to it. ?
Thanks and Regards,
Deepak GuptaHi Jurgen,
Thanks for the reply. I was expecting to know if others have came across similar kind of issue and after following up with SAP, if they have provided some other solution.
Thanks
Deepak -
How to add a new line item to a Purchase Requisition number
Hello All,
Can anyone please provide me with some FM or BAPI to add a new line item to an existing Purchase Requisition number.
Can it be done using BAPI_REQUISITION_CHANGE; if yes, then how do I pass the parameters into the BAPI tables..?
Useful pointers would be appreciated...!!
Thanks & Regards,
Tarun Gambhir@Gautham,
Thanks for the quick reply.
I want to update the table EBAN, so should I use the parameter table XEBAN to put in the new line item and then execute..
Also to fill up this table I need to pass certain value, so can I use BAPI_REQUISITON_GETDETAIL and pass the same details as found from the same BAPI and create a new line item...
Regards,
Tarun Gambhir -
Variable Size Item Data in Purchase Requisition
Hi
When ever the Purchase Requisition of the Variable size material is
raised, how do i view,for reference,the Variable Size Item data from
Bill of materials .
Steps for the Reconstruction
1.Create a Variable size Item Bill of material.
2.Run MRP agianst the Variable size material's dependent demand.
3.View the Purchase requisition of the Variable size Item, to take a
note of the Item Data.Thread closed
-
How to find out userid of purchase requisition at each item level
for a particular requisition at each item is released by a some user, how to find out these user name.
ex.
pur.requi pur req item ueser_id
10092188 00001 ?
10092188 00002 ?
10092188 00003 ?
10092188 00004 ?
in the above data purchase requisition is same but purchase
requisition items are different. in this i want to find out user
id of releaser for each item of particul purchase requisition.dear friend
in table
there is group
tabkle : eben
field: FRGGR
you get it easily.
rewards are expecting:
vivek -
One line item in po from multiple line items of Purchase Requisition
Can we merge multiple line items for same item from different different purchase requisition into a single line item in Purchase Order ?
For example, say department A and B made two different purchase requisition for 1 number of computer system. Now the purchaser viewed these requisitions and he want to make a purchase order to party X for 2 no of computer system. Now how he can do this in Oracle Purchasing.
Regards
Edited by: Saroj.Dash on May 31, 2010 6:02 AMHi !
thanx to all for your responses.
But, let me explain better.
Say Dept A raises an Requisition (Req No: 1 ) for 5 Chairs. In the same time Dept. B raises requisition (req no: 2 ) for 10 chairs.
Now Purchase Dept. wants to make an PO to procure chair with respective to these 2 requisitions i.e. req no 1 from dept A and req no 2 from Dept B.
Now my query is that, can the purchase dept. prepare a PO with 1 line item only i.e. for chair (5+10) of 15 numbers from these requisitions of dept A and B ?
If yes then how ?
Regards
Maybe you are looking for
-
Animated gif is only output as a grey box
Hi, I'm using CS4 and am trying to make an animated GIF. I've got it all set up and when I play it in Photoshop everything is fine. I then go to File > Save for web and then choose GIF in the dialog box and leave all other boxes alone. In the Optimiz
-
Message no. KD503 - Complete allocation structure K1 for Internal Order
Hi, During Internal order settlement through KO88 I am getting this error as : Message no. KD503 - Complete allocation structure K1 Diagnosis : During settlement, the system puts the sender debits into groups (assignments), which are settled using t
-
How do i pull a print from an ipod ideas sketch?
how do i pull a print of an ipod ideas sketch? I can't find a print button nowhere!
-
The disk may be damaged or full, or you may not have sufficient access pri
WHat does this mean? I just published and all was ok and now when I try to do it again with some photos I get this message. i have done no upgrades but I don't know which disk it is talking about Please help Nicky
-
How to get activity (outcome) which navigated to current view
Hi! Is there a way to get activity (outcome string) that was cause of navigation to current view? For example, I have a view named SearchPage and I can navigate to this page from two outcomes (success and failed) from some taskflow (for example, the