While creating Purchase Requisition we need to send a mail for approvers
Hi All,
While creating Purchase requisition we need to send a mail to approvers.
Dowe need to create Function module ?
if You know the steps can you please give me the steps.
Thanks In advance
Sriman.
Hi Sriman
Here we can try for 2 approach
one is workflow and other his sending emails via user exit.
I am not much aware about workflow, but you can explore for user exit.
Try for enhancement component 'MEREQ001'.
let me know, if you need further help
Regards
MD
Similar Messages
-
WHILE CREATING PURCHASE REQUISITION,THE AVAILABILITY CHECK FOR THE MATERIAL
dear Friends,
our users want to WHILE CREATING PURCHASE REQUISITION,THE AVAILABILITY CHECK FOR THE MATERIAL SHOULD BE ENABLE,
at present we maintaing KP in Material Master. if we activated what will happen?
please advice.
with regards,
Rajesh GHi,
The availability check is generally used for goods movements(GR,GI,reservation) & not for PRs.
Regards,
Vijay -
Error while creating purchase requisition
Hello
I am getting following error when I try to create Purchase Requisition
u201CField selection PT4B not definedu201D
Cant progress any further due to the error
Regards,
sudhirHi
First Do you Have created any new field selection for PR document types?
IF not check your PR document type is attached with which field selection in Puchasing -> purchase requisition -> define document types -> check your document type and field selection. Is it PT4B?
PT4B is not available then assign correct one in customization.
If it is then check the settings for fields selection in purchasing -> PR - screen layout at document level -> field selection PT4B.
Regards -
Rounding Values while creating purchase requisitions using ME51N
Hi MM Experts,
I have created some materials with a Rounding Value maintained in MRP1 View of the material master.
Whenever I raise a purchase order, the order quantity rounds off to the value maintained in the material master which is the correct functionality.
But when i try to create a purchase requisition using ME51N, the rounding functionality doesn't work.
Example: Rounding value (in MRP1 view) of a material is 25.
The order quantity entered is 4. But before saving the PURCHASE ORDER the order quantity will be changed to 25(which is the rounding value). This is the correct functionality but doesn't happen with the PURCHASE REQUISITION (ME51N)
Can someone guide me on how to make the rounding value work for purchase requisitions when using ME51N?
Thanks in advance.
cheers,
RandiHi!
i had the same problem with a company.
i did not find any customizing possibilities.
I solved it with BAdI ME_PROCESS_REQ_CUST
Method PROCESS_ITEM.
I hope this helps
Flo -
Funds Management related error while creating Purchase Requisition
Hi,
Am working in ECC6.0 system with Funds Management integration. While creating PR am getting below mentioned error
"At least one GL account was not derived by the budgetary ledger
Message no. FI_E034"
Diagnosis
You are using the Funds Management system integrated with the budgetary ledger (BL) active for FM area .
Postings into the budgetary ledger require a GL account for each of the budgetary ledger line items. However,
in this case, at least one of the line items in the BL interface table does not contain a GL account.
Use the link below to analyze the table contents before and after the account derivation process.
Budgetary ledger account derivation trace
System Response
The budgetary ledger cannot post this document. The BL document"
Can some body guide me how to fix this error.
Thanks in advancehi
which component you are using?
FORMER BUDGETING OR BUDGET CONTROLSYSTEM( BCS)
CHECK YOUR DERIVATION STRATEGY BY USING FMDERIVE.
CHECK DERIVATION RULE FOR BUDGETERY LEDGER AND G/L ACCOUNT.
THANKS & REGARDS
MALA K VUNDELA -
Deleated Valuation Type --Need Error Message while creating Purchase Order
Hi,
In our scenario , i need a message should flash , if enduser by mistake select the deleated valuation type while creating Purchase Order.
In current configuration , it's not there.
Await your expert opinion.
Regards
Shyam KogtaI investigated this recently in our company and gave this answer:
A deletion flag does not restrict anything. It is just an indicator to tell SAP that you want this record to be deleted with the next archiving run.
The archiving run then checks if a deletion is possible or not.
So you can set such deletion flags long time in advance, even at a moment where you still have inventory.
To block materials from beeing used in business transactions, usually the material and sales status are used. But these statuses can only be set at overall, plant and sales organisation level.
In some transactions SAP issues warning messages if a material has a deletion flag. This messages could be customized to be an error and prevent any business. However, this type of restriction is not designed for our machine, as we use the material and sales status.
Anyhow, there is no message for valuation types that have a deletion flag in procurement area.
There is one for goods receipts (but only for a certain industry solution that is not used by us)
There is one for deliveries ( VL 211 ).
The valuation types are defaulted from customizing to the transaction e.g. purchase order. Or from info record to the PO. So a standard purchase order gets valuation type ABC , while an internal order (production) gets the DEF. Usually there should not be a need to change this valuation type manually.
So the only solution is to archive the material master at valuation type level.
But I guess, you already have POs with that wrong valuation type, which means you have to archive the POs first. It you have already batches with wrong valuation type, then thy have to be archived as well before a material can be archived.
And finally if you had stock in current year, then you can archive your material in year after next year, as SAP archives only materials that have no stock in current and previous year. -
Error in vendor selection while creating Purchase requistions
Hi,
I was using bapi_requestion_create to create purchase requistion with different quotas for different vendors.
Ex: vendor A with 60%
vendor B with 40%
If the required quantity is 100 items then it has to split 60 items to vendor A and create seperate Puechase Requistion.
and for 40items with another Purchase requsition.
Currently iam able to split the noof purshcase requisiton but it was picking only with one vendor.
MY Code :
*******Split PRs with respect to Quota ************************
data : lv_lines type i,
lv_qty type p DECIMALS 4.
lv_qty = it_oo-qty.
DESCRIBE TABLE t_equp LINES lv_lines.
IF lv_lines GT 1.
clear : w_equp.
loop at t_equp into w_equp
where qunum = w_equk-qunum.
refresh : t_req_item.
clear : w_eord,
t_req_item[],
t_req_item.
READ TABLE t_eord INTO w_eord
WITH KEY matnr = it_oo_sum_purch-matnr_sap
werks = it_oo_sum_purch-plant
lifnr = w_equp-lifnr.
if sy-subrc is initial.
it_oo_purch-AGREE = w_eord-EBELN. "To Fill ALV
it_oo_purch-ITEM = w_eord-EBELP. "To Fill ALV
it_oo_purch-FORNEC = w_equp-LIFNR. "To Fill ALV
t_req_item-doc_type = c_zbmr.
t_req_item-pur_group = it_oo-ekgrp.
t_req_item-material = it_oo_sum_purch-matnr_sap.
t_req_item-plant = it_oo_sum_purch-plant.
t_req_item-AGREEMENT = w_eord-EBELN.
t_req_item-AGMT_ITEM = w_eord-EBELP.
t_req_item-FIXED_VEND = w_equp-LIFNR.
t_req_item-QUOTA_ARR = w_equk-qunum.
t_req_item-QUOTARRITM = w_equp-qupos.
t_req_item-gr_ind = c_x.
t_req_item-ir_ind = c_x.
t_req_item-MRP_CONTR = 'NOV'.
CONCATENATE it_oo_sum_purch-due_dte+4(4)
it_oo_sum_purch-due_dte+2(2)
it_oo_sum_purch-due_dte(2)
INTO t_req_item-deliv_date.
t_req_item-QUANTITY = ( w_equp-QUOTE / 100 ) * lv_QTY.
endif.
********Rounding off values*******************
data : lv_int(20) type c,
lv_dec(20) type c,
lv_tot(20) type c.
clear : lv_int ,
lv_dec,
lv_tot.
lv_tot = t_req_item-QUANTITY.
split lv_tot at '.' into lv_int lv_dec.
if lv_dec(1) ge '5'.
lv_int = lv_int + 1.
endif.
t_req_item-QUANTITY = lv_int.
APPEND t_req_item.
clear : v_number.
Create purchase requisition by group
CALL FUNCTION 'BAPI_REQUISITION_CREATE'
IMPORTING
number = v_number
TABLES
requisition_items = t_req_item
return = t_return.
ERRO
IF t_return-type CO 'AE'.
CLEAR: v_msg, v_x.
CALL FUNCTION 'WRITE_MESSAGE'
EXPORTING
msgid = sy-msgid
msgno = sy-msgno
msgty = sy-msgty
msgv1 = sy-msgv1
msgv2 = sy-msgv2
msgv3 = sy-msgv3
msgv4 = sy-msgv4
IMPORTING
messg = v_msg.
PERFORM zf_grava_log_erro_oo
USING it_oo_purch it_oo_sum_purch v_msg v_x.
SUCESSO - Atualiza Tabela zsytmm_pr_po
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = c_X.
CLEAR: v_msg, v_x.
CONCATENATE text-026 v_number INTO v_msg
SEPARATED BY space.
it_oo_sum_purch-QTY = t_req_item-QUANTITY.
PERFORM zf_grava_log_sucesso_oo
USING it_oo_purch it_oo_sum_purch v_msg v_x.
CLEAR: zsytmm_pr_po.
vl_item = c_00001.
zsytmm_pr_po-banfn = v_number.
zsytmm_pr_po-bnfpo = vl_item.
zsytmm_pr_po-ebeln = c_false.
zsytmm_pr_po-ebelp = c_false.
zsytmm_pr_po-zshmode = it_oo_purch-shipm.
MODIFY zsytmm_pr_po.
ENDIF.
endloop.Hi,
You have to fill DES_VENDOR & FIXED_VEND of structure REQUISITION_ITEMS while calling BAPI. But while going through your code,
* t_req_item-FIXED_VEND = w_equp-LIFNR
is commented, uncomment the same and add line for DES_VENDOR also.
Regards
Vinod -
Creating purchase requisitions instead of planned orders after MRP run in MDBT
When running regenerative planning in MDBT for plant with following details ,The system has to provides planned orders for the materials .
Processing key:NEUPL
Create Purchase requisition :3
Schedule lines:3
Create MRP list:1
Planning Mode:1
Scheduling :1
But sometimes it provides purchase requisitions for certain materials.The problem happens for different materials at different times.
I checked the material master and found that procurement type is external procurement.Business need to create planned order for the materials and then want to convert it to purchase requisition.
MRP group is assigned to the materials but no creation indicator maintained for the MRP group.
Please tell me why this run creates purchase requisitions suddenly and in the next run it disappears?Hello
Maybe someonelse is running MRP in another transaction, such as MD02, with a different parameter. Check on transaction MD05 when was the last MRP execution and the user that ran it.
Also check if there is any active implementation of BAdI MD_MRP_PARAMETERS.
If you don't have a cretion indicator, maybe it would be useful to set it for your MRP group, with the parameter 3, in order to make sure that planned orders will be created.
BR
Caetano -
Need to send a mail while safty stock goes down
Dear experts,
I Need to send a mail to concern persion while stock goes down from safty stock. We plan to put a check at the point of MARD table updation, Because we not able to put a check at the all transaction codes, So please LET ME KNOW HOW TO PUT A CHECK AT STANDARD TABLE UPDATION?
Thanks in adv,
jayakumar.MHi Jai,
According to my understanding,
As soon as the stock goes down from the safety stock a mail should be triggered.
Probable solution (in my opinion)
create a flag in the table set it whenever the stock value goes down.
make calculations like (safety stock as today - safety stock previous date) = 0 if not set the flag and construct a workflow withe receiver settings based on the flag field and trigger a mail to the concerned person.
This is just my idea.
Try it and revert
Thanks and Regards
Srikanth.P -
Make item to create Purchase Requisition and Work Order
I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? Thanks
Ajith_Kz; Consultant wrote:
I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? ThanksI guess it can't be done..when u say u created a purchase req?i was just wondering how did the system let u to create a POR when you say it is a make item?
HTH
Mahendra -
Error occured while creating purchase info record in mm
sir,
while creating purchase info record an error occured while inserting net price. it said
NOT POSSIBLE TO DETERMINE A CONDITION TYPE FOR A PRICE
when it attempted to generate the time dependent condition for the price you entered the systeem was unable to determine a condition type, price determination is therefore not possible.
please inform me how to solve this problem.
thankyouI think you are not using the stdard pricing becuse of that it is thrwing error
Ok First check your pricing procedure which your using for PO
than in that pricing procedure if you are using PB00 fro Gross price than you will have antoher pricing procedure attached to this condition.
check in M/06 for your gross price conditon
now did you assign the pricing procedure to vendor?
bottom line is somthing missing in your config.
Check all the config as below
Pricing Procedure:
In MM module, pricing procedure is used during RFQ and PO creation. Total value of material based on all addition and subtraction like discount, surcharge, tax, freight, etc. In this we are defining pricing procedure and linking to vendor and purchase department through the virtual schemas.
Following steps for pricing procedure as,
1. Define conditions.
2. Define pricing procedure.
3. Define virtual purchase organization and vendor.
4. Info Record.
Customization for Pricing Procedure :
1. Definition of Conditions :
/NMEK0-condition typeu2026condition types- definition (define for basic price, net price, discount, surcharge, tax etc.)
2. Defining pricing procedure :
/NMEK0- calculation schema-calculation schemasu2014New entries (Define procedure and put the conditions like formula so that final price will be net price / total value as per company requirement)
3. Linking pricing procedure to independent condition types.
/NMEK0-condition typeu2026condition types- definition for position for defined conditions (Enter the defined pricing procedure in the each independent conditions u201CPricing Procedureu201D box)
4. Defining Schema group for Vendor :
/NMEK0- calculation schema-schema groupsu2014vendoru2014New Entries.
5. Defining Schema group for Purchase Organization--- New entries.
/NMEK0- calculation schema- schema groups---- purchasing organization--- new entries.
6. Linking Virtual Purchase Organization to actual Purchase Organization.
/NMEK0- calculation schema- schema groups----- Assign P.Org. (in actual P.Org, enter virtual P.Org)
7. Linking Pricing procedure to virtual P.Org and virtual vendor :
/NMEK0- calculation schema- Determine Schema--- -Standard --- New entries (Enter virtual schema and P.Org. along with pricing procedure)
8. Linking virtual vendor to actual vendor-- /NXK02 then enter schema group vendor in Purchasing Data )
9. Info Records (/NME11)---- click on u201CPurch. Org. data1u201D and enter condition types and pricing procedure
What are the steps in pricing determination in MM? Condition, Access sequence and schema.
In the SAP MM Pricing is more important. Just yesterday I have completed the Pricing as I am doing the SAPMM now. I can give some light on this Topic, not 100%. After 2 days definitely some more I can share.
The Basic thing is Condition Technique. In which there are
1. Access Sequence 2. Condition Record 3. Condition Type 4. Condition Table.
A Access Sequence access a Condition Record of a Condition Type in a Condition Table is a Condition Technique.This is a simple logic
Here the Condition Type is very important like PB00, PBXX,RA01 etc.
In the background every Condition Type has its own defition means the purpose of the Condition Type like, is it for Pricing or Percentage, Quntity base, Accrual Feilds etc is to be defined to work this functions.
Normally we use the existing ones without any risk. But some cases, we have to Create a New Condition Types as per the organisation requirement.
The Pricing Schema is useful to minimise condition types while mention prices for Vendor on the basis of Pricing Schema which we defined according to organisation requirement.
The Pricing Schema means the calculations procedure of Condition Type.
Ex. RA01 - Discoount % is caclulated on PB00 - Gross Price means
RA01 is based on PB00 like that we have to define in the Pricing Schema
which makes easy to use in realtime.
Here PB00 has the Access Sequence - 0002.
But RA01 does not have the Access Sequence.Why because it is a dependent on PB00. But both are Condition Types.
In the system, by default some standard Scheme will be there at Vendor Schema Group in the Vendor Master Screen means the standard one is assigned which is very lengthy which may fullfil our requirement. But some cases which may not fullfil our requirement, in such we have to define.
For the configuration, I may not able to explain properly through here but will give some Idea.
Configuration: SPRO-IMG-Material Management- Purchasing- Conditions-Define Price Deternmination Process
1. Define Access Sequence
2. Define Condition Type
3. Defince Calculation Schema:- Here you have to define the Schema
Define Schema group
1. Define Schema Group vendor
2. Define Pricing Schema group
3. Schema group for Purchase Organisation
4. Assign Schema group to Purchase Organisation
Define Schema determination
1.define calculation schema for Standard purchase organisation
After completion of the Schema Group, we have to assign it to Vendors.
Then whenever we use any transaction with this Vendor, the concerned Schema will work as configured by us.
I think this will help you. Actually the Pricing is a vast. Becuase each Condition have its own importance and each Access Sequence have its own importance. So you need not bother about this. First you learn how to define the Calculation Schema through the above.
Here we can create many Calculation Schemas which can assign one schema to Local vendors
another schema to out side vendor one more schema to foreign vendors like that we can classify. -
Creating Purchase Requisitions from within PS (ie from network)
When creating purchase requisitions from within Projects Systems (ie activating them from a network) is there a "standard" way to put a cost center on the Purchase Requisition? Currently no cost center is put on the account assignment. We are looking at doing a custom field on the network header to hold the cost center and then a user exit to take this cost center and put it on the purchase requisition (and reservations) but before we go to all this trouble thought maybe I should check to see if I am missing something obvious? Is there a more straight-forward way to accomplish this? We know that we cannot edit the account assignment in ME52N becuase the PR originates from the network and therefore can only be changed from the network.
Any input welcome. Thanks.Dear Laura,
When you will create Purchase Requistion through Network, system automatically takes account assignment category as "N" i.e Network. This you can not change in ME52N transaction.
So this is a standard practise for generating Purchase Requistion through Network in PS Module.
As you said putting Cost Center in Network Header as a Account Assignment Category which will go up to PO creation by using some User Exit which will not be possible in PS Module as per my knowledge is concern.
But you want to keep Cost Center as as a Account Assignement Category you need to create manual Purchase Requisition through ME51N transaction.
Hoping this will be useful to you.
Regards,
Sandeep -
What program in SAP SD automatically creates Purchase requisition
What program in SAP SD automatically creates Purchase requisition, and also please tell me the user exit that we can use to change the delivery address automatically from plant address to ship-to address during purchase requisition creation time...
Your help will be appreciated.
Thanks,Hi,
The control to Create the PURCHASE REQUISITION is in the SCHEDULE LINE CATEGORY VOV6
The Purchase requisition will be created automatically for the THIRD PARTY and INDIVIDUAL PURCHASE ORDERS
The field in VOV6
ORDER TYPE
ITEM CATEGORY
ACCOUNT ASSIGNMENT
Will determine the Document type for creating the Purchase requisition
IFor both THIRD PARTY & INDIVIDUAL PURCHASE ORDER the standard Purchase requsition document type is NB and
ITEM CATEGORY 5 will determine whether it is third party or Individual PO.
Hope it is clear,
Please revert back if you need more details
regards,
santosh -
BAPI to create Purchase Requisition for selective BOM Material
Dear Experts,
I need ur help, Actually I am developing a module Pool prg to create Purchase Requisition for selective Bom Material .
Actually, standard T.Code (ME21N) create PR for a multiple BOM Materia lwhich are used to create a prepared material. But my requirement is PR should be generate for selective BOM material .
Multiple BOM Material is used to prepared a complete Material .
I have checked a particular BOM Material, for this matrial Purchase Requisition should be genrate.
Please suggest me the related code and Bapi which helps me .
Thanks & Regards,
SwapnikaHi
you can Use BAPI BAPI_REQUISITION_CREATE
Hope Its help You.
Regards
Ajit -
Batch job not creating purchase requisitions
I have a batch job that runs every day at 5 pm. The point of this job is to run the MRP and create purchase requisitions for materials that have more demand than current supply.
Programs ran within the jobu2026
RWPOB001
RVV50R10C
RMMRP000
My problem...
Purchase Requisitions are not being created for random materials after the batch job has been ran. When the MRP is run by itself (MD01), ALL materials will have purchase requisitions created for them without fail. There is no order to it, and no one has kept track of any material numbers that have not had purchase requisitions created, so I cannot check the configuration.
How I would like to investigateu2026
1 u2013 Obtain a list of ALL purchase requisitions created in the timeframe AFTER the batch job has been ran
2 u2013 Export this list into Excel
3 u2013 Run the MRP manually to create purchase requisitions for ALL materials
4 u2013 Obtain new list of ALL purchase requisitions created in the timeframe AFTER the MRP was manually ran
5 u2013 Export this list into Excel
6 u2013 Compare both lists; remove duplicates, display materials and requisitions that were created AFTER the batch job missed them.
How would I go about getting a full list of purchase requisitions that have been created within the time frame the batch job has been ran, then export them into excel? I understand that ME5A is the standard transaction for displaying lists of purchase requisitions, but how would I go about pulling all purchase reqs CREATED within a certain time period?
Please, include specific SAP transactions and details in your answers.
Also, if anyone has any good advice regarding how to get to the bottom of this specific issue, Iu2019m open to suggestions. All good suggestions will be rewarded promptly.Cameron Lawrence Dunbar wrote:
>
> You mention that RMMRP000 should be ran before requirements planning. Is it possible that our positioning of the program at the end of the job is causing these issues? Or is it most likely the varient/parameters of one of these programs?
>
> Also, how can I display a list of purchase requisitions CREATED over a certain period of time?
No, I did not say that RMMRP000 should be ran before requirements planning. I said it is the requirments planning. So you just run it twice if you execute it with MD01 again after this job.
Running it twice should not end in different results if it is run with the same paramters (selection variants)
As you are saying you get different results, I think you are running it actually with different entries in the selection screen.
So you need to compare both selection screens. MD01 is obvious as you see it directly.
Compare it with the selection variant of the batch job, that you can display via the menu after you displayed the job in SM35
ME5A transaction can give you a list of requisitions. alternative you can just use SE16 at table EBAN.
Edited by: Jürgen L. on Apr 25, 2011 9:08 PM
Maybe you are looking for
-
I need to MERGE a same named user account from one mac to another.
I am a neophyte in the Mac World, seeking to move al of my son's material from hid old MacBook to a MacBook Pro that has a fresh install of Snow Leopard. I set up his user account on the MacBook Pro during the installation process. The user account
-
Hi All, I am doing a webdynpro application. while deploying, it gives me an error "Unbound class Variable:'KMC_LIBS/bc.srf.framework_api.jar'. What is this error? Regards, Divya
-
Broadband went down, now it's like using dial-up
Hi everyone, I'm new here because my connection is so slow I can't even get through all the online help without problems. Yesterday 8-09-10 my broadband went down in the afternoon for a couple of hours. When it came back on it was really slow. I was
-
.rmt file missing from firmware download
The readme file included with the firmware download zip file states to look for a .rmt file. There are only .txt files and a .bin file in the zip file. Are the instruction wrong/obsolete or should there be a .rmt file in the .zip file or is the .bin
-
I have followed the instructions for sharing but I am unable to publish 3 minute video (and it is not in HD). What am I missing? I also cannot seem to compress it enough to send as an attachment in an email. Any suggestions?