Exit for PO creation with reference to PR
Hi all,
Is there any exit/BADI which can throw an error message if a PO is being created against a PR which had no release strategy associated with it? Basically I have to prevent creation of PO if a PR has been created such that no release strategy is applicable on it.
Thanks
Hi Javed,
Try User Exit MM06E005,
Implement EXIT_SAPMM06E_012,
PR number is passed in field TEKPO-BANFN.
Also you go through this thread,
Re: PO with reference to PR
Here you will find the solution for generating an error message
while creating PO against PR.
Reward points if useful.
Cheers,
Swamy Kunche
Similar Messages
-
Error message display for PO creation with reference to internal orders
Sir,
While creating PO with Tcode ME21N (item category I) with reference to ' Internal Order with Funds provided (Tcode KO12), system displaying error message when Budget is exceeded.
But when Funds provision is not mentioned (Funds value is initial in KO12) , error message is not being given by the system during Po creation with ME21N.
Where should I configure in img(Tcode SPRO) , so that system will throw error mesage while creating PO without Budget Provision (Funds not mentioned ) in Internal Orders.
Regards,
Srinivasa MurthyHi Anupam,
The error message display as follows. (when the PO Price exceeds the Planned Funds kept for internal order)
This error comes during PO creation Process and PO can not be saved. This error message display is correct.
Item 001 Order 600643 budget exceeded
Message no. BP604
Diagnosis
In document item 001 Order 600643, budget for fiscal year 2009 was exceeded by 99,960,000.00 INR.
But my question is 'when funds have not at all been mentioned for the internal order' then system has to throw the same error as mentioned above. But it is not happening. System is allowing the PO to save which is not correct.
Regards,
Srinivasa Murthy -
Bapi for PO creation with reference to Purchase Requisition - PReq
Can any one let me know if there is any BAPI to Create PO with reference to PReq. I know we can easily write a BDC for ME21 but... is there a similar functionality via BAPI's ?
Try
BAPI_PO_CREATE1
check its documentation in SE37 for detail documentation..
Enjoy SAP.
Pankaj Singh -
BAPI for invoice creation with reference SalesOrder
hi Mr Anjireddy,
i am able to create invoice with the bapi BAPI_BILLING_CREATEMULTIPLE, here i'm giving the RefDocNo of the SalesOrder, the invoice is generated but i'm not gettting the NetValue, TaxValue.
plz give the information for that prob,
eswarHi Vinod,
This is just idea.
Get Purchase Requisition details using
<b>BAPI_REQUISITION_GETDETAIL</b> and then use <b>BAPI_PO_CREATE1</b>. I think there is no Direct BAPI.
*******Poorna********* -
BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N
Hi Everybody,
We are in ECC 5.0 version.
I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
Is any BAPI available for this ?
Any input on this will be very much helpfull.
Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
Thanks in advance.
regards,
Nagarajan.JHi Nagarajan,
The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
The below is the sample code...
data:lt_request like bapideliciousrequest
occurs 0 with header line,
lt_createditems like bapideliciouscreateditems
occurs 0 with header line,
lt_return like bapiret2
occurs 0 with header line.
lt_request-document_type = 'A'.
lt_request-document_numb = vbeln.
lt_request-document_item = posnr.
lt_request-material = matnr.
lt_request-plant = werks.
lt_request-stge_loc = lgort.
lt_request-quantity_base__uom = base_uom_qty.
lt_request-delivery_date = sy-datum.
append lt_request.
call function 'BAPI_DELIVERYPROCESSING_EXEC'
EXPORTING
DELIVERY_EXTEND =
TECHN_CONTROL =
tables
request = lt_request
createditems = lt_createditems
return = lt_return.
loop at lt_return where type = 'A'
or type = 'E'.
exit.
endloop.
if sy-subrc <> 0.
Use the BAPI for Commit
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'H'.
endif.
Thanks
Ramakrishna -
BAPI for Outbound Delivery Creation with reference to Sales Order
Dear all,
I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
Thanks.
Steven
Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
Edited by: Steven Khoo on Mar 25, 2010 7:14 AMNot required anymore
-
Po Creation With Reference to contract
Dear Experts
We are creating the purchase order with reference to contract the contract quantity not copied to po. it is asking to enter the qty. but it should copy the contract quantity. the same contract price also not copied to po. it is copying from the info record price.
my scenario is at the time of po creation with reference to contract it should copy the contract qty and price any copy control assignment is there or any other settings required.
Please help
Regards
AnandHi,
If a contract with one of your principal vendors exists for a material, you can create purchase orders referencing this contract. Purchase orders created in this way are called contract release orders.
The price, vendor data, terms of payment, delivery costs, and any instructions to the vendor are adopted from the contract automatically.
If you have created the contract & info records is also exists then system will give priority to contract to determine the conditions.
Please check the source list ,whether contract is maintained over there or not.
Thanks,
AMIT -
Purchase order creation with reference to Contract
Dear All
Purchase order creation with reference to quantity contract the contract quantity is not copied in to po. any configuration copying rules required. please guide
Regards
Anand.Hi Buddy
The correct business process is RV Preq created by a user from any department then buyer converts this Preq to a MK contract with some quantity keeping the duration as some months/year. Then as and when material mentioned in the contract is required during the validity period of the contract MRP creates Preq or buyer manually creates NB preqs , same are then converted to PO but these PO are released against MK contract. So qty in PO are different then mentioned in contract because contract is for a large qty keeping in mind the duration (for example one year).
Regrds
Yogesh -
User Exit for Delivery Creation
Hi,
I am looking for an User Exit for Delivery Creation, which should provide a Sales Order Number. This is required before Batch determination. Can any one help.Hi,
I think you can try with MV50AFZ1 user exit.
In move fields to LIKP and LIPS routine you can get the sales order.
LIPS-VGBEL gives the sales order.
Thanks,
Rohan -
BAdI: or User Exit for Campaign Creation IN CRM 5.0
Hi all,
we are working in CRM 5.0,
we have a Requirement like :
when we create the campaign it should check higher level project ID (marketing Plan ID)
if it is there it should permit for create campaign else it ll show error...
Any BAdI: or User Exit for Campaign Creation?
I ll geive reward points....
Rhanks & Regards,
GaneshIN WHICH TRANSACTION U R CREATING CAMPAIGN ??
-
BAdI: or User Exit for Campaign Creation
Hi all,
we are working in CRM 5.0,
we have a Requirement like :
when we create the campaign it should check higher level project ID (marketing Plan ID)
if it is there it should permit for create campaign else it ll show error...
Any BAdI: or User Exit for Campaign Creation?
I ll geive reward points....
Rhanks & Regards,
GaneshDear Ganesh,
As campaign can be created and executed individually also, it will never check for higher level project ID.
Let me check the system if we can block creation of campaign individually, without having a higher level marketing plan. -
Hi,
The requirement is as below
We have added some zfields in shopping cart at item level.
These fields are transferred to R/3 and hence the z field data comes in the customer data tab of the PR.
Now, there needs to be one special condition checked. If one of the field is X -> mark the item as deleted
ie
if zfield1 = 'X' -> loekz = 'X'
I have used MEREQ001 for getting the zfields data in PR. I am getting all this data in PR.
But when I used the check if zfield1 = 'X' -> loekz = 'X' in this exit, deletion indicator is not set.
Can anyone please provide some exit for PR creation which can help to update the standard field based on the value of zfield at item level.
Thanks
RichaAMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a G
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing document
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order -
Pricing procedure determination for complaint document with reference to billing
Hello Guys,
I am configuring complaint process for project purpose and I got stuck. I need to change the pricing procedure which is determined for complaint
document . Right now the pricing procedure is copied from Billing Document for which complaint refers to.
I am searching a place in configuration where I could change the pricing procedure determination for complaint document with reference to billing doc.
Could you please advise where I can find it ?
Thank you in advance!
Br,
FredericHello Frederic,
I would check the following in SPRO:
- CRM
- Basic Functions
- Pricing
- Pricing in the Business Transaction
- Determine Pricing Procedures
Here the pricing procedure depends on sales organization, division, distribution channel, document pricing procedure and and customer pricing procdure.
Best regards,
Thomas Wagner -
User exit for checking creation of prod. order reference to sales order?
Hi all,
What are user exit suitable for checking creation of prod. order reference to sales order to have the same plant. If plant not the same, an error message should appear.
thanks.Hi,
user exits:
PPCO0003 Check exit for order changes from sales order
PPCO0007 Exit when saving production order
Regards,
Vivek -
Is there any BAPI available for sales order creation with reference?
Hi Experts,
My requirement is to create sales order with reference for order type.
Now my billing document number already contains the two items
one is correct and another is zero quantity.
I want to create order with reference of billing document but not with zero quantity item.
Which BAPI I should use and what to pass to ignore zero quantity item?
Regards,
RHHi Ronny,
Try using BAPI_SALESORDER_CREATEFROMDAT2
Regards,
Shraddha
Maybe you are looking for
-
Issue with length of delivery field displayed in LM06 on RF device
Hello everyone, I have a challenging issue which I have posted on another forum as well, and was hoping that somebody on SDN may be familiar with this. This issue is being reported by one of our warehouses. SAP RF transaction LM06 is used extensive
-
Unable to exit a PL/SQL Begin and End Statement
All, OS: Solaris Unix DB: Oracle 9.2.0.4 I'm calling and SQL files from the SQL PLUS prompt using @mysqlfile.sql which contains the following: declare current_month varchar2(20) := trim(to_char(sysdate,'Month')); current_year varchar2(20) := trim(to_
-
Why I can't open google maps on Safari? Everything have been working normally with my computer. But this problem with google maps I can't fix
-
Multi ALV lists/grid report in one output/screen
Hi, I need to develop a ALV report, where in the output/ALV/List/Grid should look like below (all lists/grids should be fit in only one screen, if there are too many entires in the sub reports user will scroll down each), here am giving the details (
-
Uploading RAW files to iphoto 08
Hello, I have a Panasonic DMC-FZ18. I am trying to upload RAW files but they are just blank in iphoto, they will not upload, I get a message telling me they are not recognised. I have the latest version of iphoto, I do not understand, I didn't get an