Mass Create Purchasing Conditions
Hi guys
I'm working on a development designed to copy the purchase price of a given material to a group of related materials (these will be held in a custom table). There are no suitable BAdIs in ME11 or MEK4 so I'm having to select new price records from KONH. This is part is straightforward. However, passing the pricing data to the correct condition table in a BDC is not so simple. In SD there's a transaction VK15 which allows you to pass the condition table number with the condition type. However I'm not aware of anything similar in MM. Can anyone advise me on how best to approach this.
Regards
Brett
Hi,
As per your query you can create new release Strategies as per your requirmement with the help of FI Consultant.
Anil
Similar Messages
-
FM or BAPI for creating purchase info records and purchase conditions
Hi all,
i need create purchase info records and purchase conditions from txt-file,
What FM or BAPI i can used for this?
Thanks and Regards,
AndreiYou can use trasaction SXDA_TOOLS.....
object type BUS3003
program type BINP
program/method RM06IBI0
but the fields must be sequentially written in the txt, with every space inclusive.... -
Mass maintainance of condition records?
Hi
I want to know the concept of mass maintainance of condition records in SAP-SD-Pricing.
ThanksHi Subhash,
For Mass Maitenance or Loading of Pricing Condition records, you can use LSMW. Here you can choose either a Standard Batch Input or Recording, or BAPI
The easiest what I felt is Recording. here if you opted to change condition records (you can choose VK12 as the T code) else if you wished to mass load the condition records you can choose VK11 or VK15.
once the recording is complete, you need to give a name to your recording, and then assign a Data structure name to it. after which you can assign the source fields. for this first you will create a list of source fields which you can get by checking what you have recorded, and pick the fields. (as there is an option to see the object list of your recording thus you can identify the recorded fields).
once the source fields are created, you need to map the source field with the source Structure. you can select each field and click the assign button which will pop up a list of the recorded fileds, you can then assign each of them to the respective source fileds. (this is what we call source field mapping)
The Next task is to specify and assign an input file, for LSMW script to read and convert. This input file should have all the records that you wish to add or change as per the source field record structure. You can create the input file as an XL file with all the data, and then save it as a .CSV file. and then specify during the assign file as it is a comma seperated delimiter.
then Choose the convert option to do a data conversion, and then finally process the Batch session, to check your results.
LSMW will successfully change or create Mass data (whether master records for pricing codition or whether mass sales /purchase Transaction data )
Hope this may be what you are expecting.
cheers
Prasad
Singapore. -
Update was terminated while creating purchase order from ME21N
Hi Experts,
We are getting this dump when try to create purchase order from ME21N;
Our system ECC 6.0 and IS-AFS (Apparel & Footwear Solution) V600 component has installed,
How can we prevent this error,
Regards
Here is the dump and sm21 log,
Runtime Errors LOAD_PROGRAM_NOT_FOUND
Exception CX_SY_PROGRAM_NOT_FOUND
Date and Time 10.10.2008 10:22:03
Short text
Program "RMCMS431 " not found.
What happened?
There are several possibilities:
Error in the ABAP Application Program
The current ABAP program "SAPLMCS4" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
or
Error in the SAP kernel.
The current ABAP "SAPLMCS4" program had to be terminated because the
ABAP processor detected an internal system error.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_PROGRAM_NOT_FOUND', was not
caught in
procedure "TMC2F_FROUT_CALL" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
On account of a branch in the program
(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
or a transaction call, another ABAP/4 program
is to be loaded, namely "RMCMS431 ".
However, program "RMCMS431 " does not exist in the library.
Possible reasons:
a) Wrong program name specified in an external PERFORM or
SUBMIT or, when defining a new transaction, a new
dialog module or a new function module.
b) Transport error
How to correct the error
Check the last transports to the R/3 System.
Are changes currently being made to the program "SAPLMCS4"?
Has the correct program been entered in table TSTC for Transaction "ME21N "?
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"LOAD_PROGRAM_NOT_FOUND" "CX_SY_PROGRAM_NOT_FOUND"
"SAPLMCS4" or "LMCS4F10"
"TMC2F_FROUT_CALL"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"TMC2F_FROUT_CALL" "(FORM)", or its possible occurrence must be declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
sm21 log ;
Transaction Canceled 00 671 ( LOAD_PROGRAM_NOT_FOUND 20081010102203saptest_TET_00 EYUCE 100
Update terminated
> Update key: F39796DD5421F1509233001E0BD601E0
> Update module: MCE_STATISTICS_UPD_V2
Run-time error "LOAD_PROGRAM_NOT_FOUND" occurredPlease follow the oss note 800335
V2 Update terminations in Purchasing transactions after upgrading or installing AFS 5.0 release.
Other terms
AFS, LIS, MIGO, ME22N, OLI3, S433, S431
Reason and Prerequisites
AFS Purchasing infostructure S431 is no longer used. S433 is the valid infostructure for the release AFS 5.0.
Solution
Please do the following.
For customers upgrading to AFS 5.0 only:
> Rebuild Infostructure S433.
- Goto transaction: OLI3 (Statistical Set up of Infostructures)
- Info structure to be compile: S433
- Specify the 'Name of run'.
- Execute.
> Please also follow the instructions given below.
For both Upgrade and Non-upgrade Customers:
> Create the report 'ZDELS431'.
- Transaction: SE38
- Give Program name as ZDELS431.
- Create (F5).
- Title : 'Program to delete S431'.
- Type : 1 (Executable Program).
- Status: T (Test Program).
> Copy the program text from the note and paste in the program.
> Save and activate the program.
> Execute the report for all clients in Update mode.
(Two check-boxes will appear: P_ALL_CL, P_UPDATE.
Please check both of them).
This report will delete all the references to infostructure S431. -
Email Created Purchase Order to approver
Dear All,
Good Day!
is it possible to be automatic send email to approver the created purchase order
How can i config/setup purchase order to be email to different approver
this is the first time we will do the created purchase order to be send automatic through email to approvers
Thanks in advance
Ermin D. ConcepcionHi,
Same question you are asking again & again!
Re: Send PO to vendor through e-mail
OK.
In Standard PO to send by E-mail to vendor is possible only after PO final release,if you set Dispatch time as 4 {Send immediately (when saving the application)} in NACE t.code in application EF & in condition record t.code:MN04 for PO message type.
Purchase order to be email to different approve for approving , then go for Workflow.
http://wiki.sdn.sap.com/wiki/display/ABAP/SendanExternalmailthroughSAPBusinessWorkflowandRecieversaddressin+CC
Regards,
Biju K -
Create Purchase Order through EDI
Hello Everybody,
I want to know how to create Purchase order through EDI. I will receive text file from third party system. I have made most of the configuration related to EDI like Port -File, Partner Function etc. I am using message type PORDCR and Idoc type PORDCR05.
But i do not know how the SAP first will convert the text file into IDoc and then create Purchase order. Can any body help me how to go about it? What steps i have to follow. I will have text file from that i have to create Purchase order through EDI.
Thanks in advance.
Regards,
ManishHi,
Create Purchase Order through EDI
Regarding on your query,
You can use the standard ORDERS05 idoc type itself to send outbound idocs.
It will be the middleware or the integration team that will send this IDOC to the receiving system.
or
Maintain Partner Profile in WE20, RFC Connection to the Middleware in SM59 and Port in WE21.
Maintain Output Procedure/Output Type/Access Sequences/Condition Records from NACE
Generate the Outbound 850 (PO) from ME21N
Regards,
Sekhar -
ME21N Create Purchase Order with reference to previous Purchase Order
Hello Expert,
Previously have been using Purchase Info Records for reference when creating Purchase Orders using ME21N. We then have deleted the Pricing Condition in the Purchase Info Record using ME12. Now when we are trying to create a new Purchase Order with the same values (Vendor, Material, Plant and Storage Location), the transaction code ME21N automatically fetches the previous values of the Pricing Condition as if it was cached. I remember of studying this in the MM academy but I am not sure how to disable it.
This error only happens when we are creating the first Purchase Order after the deletion, for the second Purchase Order, error will be prompted to the user saying that the Pricing Condition could not be found.
I would like to ask where in configuration can I delete this cache behaviour or is that any work around for this.
Thanks in advance.Hello Antony,
I found the "Update Prices" function in the Conditions Tab of the Item Details helps to refresh the data and fetch the new information from the Purchase Info Record. I would like to ask is there anyway to provoke this function automatically everytime when a user runs the transaction ME21N.
Thanks in advance again. -
Partner number (SPDNR) in Purchasing Condition
Hi Folks
We have a requirement for inbound freight on purchasing where we want to create a condition based on following characteristics.
LIFNR-Vendor
SPDNR-Carrier
ZZKVGR1-Mode of transp
WERKS-Plant
INCO1-Incoterms
I added field SPDNR in field catalog. When I try to create a condition table. this specific field (SPDNR) does not show up so that I can select it for the table. Do you know, why it does not show up?? I would really appereciate your help.Can I add LIFNR twice in condition table??
I do not think that syatem will allow that.
My criteria is to create a condition by using LIFNR (Vendor on PO Header), SPDNR (Carrier(, Werks (Plant) , Incoterms.
Thanks -
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. -
LOGIC FOR CREATING Purchase Order FOR repective Purchase Requisiton URGENT
hi all,
guys i have got all the purchase requisition for the materials from EBAN table.
now i have to create the PURCHASE ORDER for these PURCHASE REQUISITIONS.
so how should i proceed.
what logic i should use to create the PO for These PR.
if anyone of u have any code regd this requirement then plz share it with me.
its very urgent, i have to deliver it by today evening.
plz help me .
i will award ur efforts.
Thanks
Sanjeevhi,
Automatic Conversion of PR to PO
You created purchase requisition for various material. During creation of purchase order you used the following path:
Purchase Requisition
.......Follow on function
.........Create Purchase Order
............automatic via purReq.
When you mentioned required purchase requisition number and execute, system give error that purchase requisition does not contain any suitable item.
Is there any setting in customization where you can monitor and use that function.
In an effort for you to successfully use the Transaction Code ME59 to automatically convert the current PR into PO, then the following criteria should be met:
1) In the Purchasing View of the material master data, the "Autom. PO" field must be clicked;
2) In the Purchasing View of the Vendor Master Data, the "Automatic Purchase Order" field must be clicked;
3) The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO;
4) The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record.
or
it might be PR subject to release strategy and not yet released
or
If you're not using a source list or automatic creation of PO, you may need to assign the requisition to a purchase information record using transaction ME56. Then it should appear in ME58.
reward points to helpful answers.
rgds -
Is it possible to create purchase order with zero value ?
Is it possible to create purchase order with zero value ?
Hi,
There are two scenarios where the purchase order is created with zero value.
1. Standard Purchase order with Free tick indicator.
Whenever we expect a material with free of cost from vendor, we use to put the free indicator in item overview. This means the material is valuated at zero price irrespective of price control in material master. Quanitiy is updated while receipts.
Conditions tab in item detail doesnt appear.
2. Consignment PO.
While creating a purchase order for consignment, the system doesnt ask us the price and the condition tab doesnt appear in item detail.
An info record for consignment must be maintained before making the GR.
Hope i have clarified. If you want any further clarification. please do reply. -
Mass change of condition record
Hi friends,
One of my client has created a condition record for a pricing condition type long back by mistake. So lot of sale orders have been generated which included that condition record. Now he wants to delete that condition record for all that sale orders. Is there any chance of deleting that condition record for all the sale orders at once in mass level?
Rama raoDear Rama
Go to VK12, change the pricing date to old date (From and To Date may be same) and save.
Now go to MASS, give Object Type "BUS2032" and execute. Here under the Tab, select the Table "Sales Order Item Data" and go to "Fields" tab. Here select the field "Pricing date (MASSSD)" and execute. Now change the date what you have maintained in VK12.
thanks
G. Lakshmipathi -
While creating Purchase order the system is showing error: vendor 200001145
Hi experts,
while creating Purchase order the system is showing error: vendor 200001145 on line 00010 for ctype ZB12 not defined as head office vendor.
Plz give solution for this.
Thanks&Regards
sreenivasHi,
Please check vendor schema maintained in the vendor master,. through this condition type arepicking from system
Aboue condition type not mainatained inthe caluation schame ,which you assigend to vendorand purchasing organization
regards
Channa
Edited by: channadodawad on Dec 3, 2009 9:22 AM -
What / How determines when a purchasing condition (Example SKT0) is used
Am trying to find the reasoning behind when a purchasing condition is used. Example SKT0 does not impact the FI document created at GR but it does for IR.
ThanksWhat I am trying to understand is under what circumsatnces trigger a condition is taken into account. The example I am tracing is SKT0 but there are others. When you post a goods receipt the discount is not taken into account when generating the FI posting. This is correct but how did the GR process know to ignore that condition? Is there an SAP function I can see to understand.
-
Price not picking while creating purchase order
hi all,
i have created a pricing procedure and assigned to the vedor, but while creating purchase order the material price is not picking up.if i use the standard one the price is picking up. can anyone explaing any setting iam missing.
regards
thyagarajanHi
In your pricing procedure
For the condition type Automatic Gross price PB00, you have assigned am Access sequence.
<b>Access sequence</b>: An access sequence is a search strategy by means of which the system searches for valid records in various condition tables. It consists of one or more accesses. The sequence of accesses controls the priority of the individual condition records among each other. Through the accesses, the system is told where to look first and where to look next for a valid condition record in each case.
Once the pricing procedure triggers, System looks for the valid condition recorrd for the condition type PB00 as per the priority listed in Access sequence.
Example: If purchase info record is the first priority and you maintained the Info record then system picks the price from Info record into PO.
If no valid condition record found then it will trigger PBXX Manual Gross price condition in PO and ask to enter the price manually.This is called condition technique.
So check whether you maintained the Condition record for PB00 or not?
Regards
Ramakrishna
Maybe you are looking for
-
Can't get iTunes to recognise / transfer songs to replacement iPod
I sent my problematic 60GB Photo iPod back to Apple and they replaced it with a new one, which arrived yesterday. However when I placed the new iPod into the docking cradle, it just sits there - even though the battery is charging, iTues is not recog
-
hi all abap editor in ecc 6.0 is having a icon enhancement...wat is the use of tht and how to use it...
-
Final Cut Pro 3-Mac Pro 3.2 Xeon
I'm trying to install my copy of FCP 3 onto my Mac Pro 3.2, and every time I try to launch it gives me the error "Final Cut Pro" requires a System ID file which is missing or Invalid. Please reinstall using the original CD that was used to install Fi
-
When i enter date range n vkorg iam getting all sales orginzation
HI All, I have enter which you have given for me but its not working eg.. it isfunction module import parameters all are options p_stdate=01.04.2005 p_endate=30.04.2005 p_kunnr= i will not enter any thing p_vkorg= m600 so i have entered only date ran
-
Can "Comments" be included in a Numbers print?
I want the comments associated with various cells to be printed along with the page I'm printing. Is there a way to do this?