ECS: New Pricing condition for purchase order on item level
Hello Experts,
we use SRM 5.0 with the extend classic scenario.
We customized a new pricing condition (absolute discount), which we want to use in a purchase order and added it to the calculation schema.
condition type:
Application BBP
Source system LOCAL
Usage PR
Condition Type ZRBT
Access Seq. 01CT
Condition class discount
Calculat. Type fixed amount
Condit.category
Rounding rule commercial
manual has priority
item level
delete
amount/percent
UoM
Scale Base Type quantity
Check stat none
Max. No. Dimens no scales
We see the condition type and can choose it in the transaction which is used to create a po.
But when we choose it from the drop-down box it isn't added to the calculation.
Regards,
Sven
Hello Sven,
Thank you very much for posting the OSS note solution for your issue.
I had similar issue and finally was able to resolve it after reading your post.
regards
Vinod
Similar Messages
-
Define new document type for purchase order
Hello
I want to create a new document type for purchase ordre with also new number range.
And within my conditions, the shopping card will be generate either document type ECPO with number range 44 or document type ZOS with number range 33.
The document type is still a purchase order.
Is it possible to do that? To assign new document type for purcharse order?
If yes, is there any Badi to put my conditions of generation of my document type?
Thank you for your help.
Regards,
PeggyHi Markus
Thank you four your response. Unfortuntly, i do not want to create a new transaction type.
It is still a purchase order which could be visibled in standard transaction. The behaviour is still like standard PO, and could be visible in standard transaction PO.
I just want to create 2 types of purchases orders to identify them, so create a new number range and so a new document type for purchase order..
I have a condition to do "the shopping card will be created in this document type, and this schopping card will be created in this document type".
But standard document type is ECPO, and I don't really know if it is possible to create new document type for purchase order...
Peggy. -
Activating conditions for Purchase Order workflows in EBP
Dear SRMer's,
I am facing the following problem:
System Info :SRM Server 5.5, ECC 6.0
Scenario 1:
All start conditions for Purchase Order in SAP Business Workflow are activated.
I created a direct procurement shopping cart (DP) in SRM browser and ordered it, then I logged in as proffessional purchaser, changed the Price and processed the DP PO.
When Ordering, the follow on Documents are created, but says the PO is waiting for approval. When I check for this PO in the Backend R/3 system in the Me22n (Display PO changes), I don't see the PO.
Scenario 2:
All Start conditions for Purchase Order in SAP Business Workflow are de-activated
I created another direct procurement shopping cart (DP2) in SRM browser and ordered it, then I logged in as proffessional purchaser, changed the Price and processed the DP2 PO (Status is held).
When Ordering, I get the Warning message, no workflow found, contact system administrator.
Please advice what needs to be configured for the PO to be ordered successfully.
Thanks in advance
RajHi,
In your scenario 1, if system is saying that there the PO has to be approved, it means that you have managed the user that will receive the workitem..
Activating all PO WF is not a solution as in standard there are two many cases activated (amount, role, limit...)
I propose you to first activate only the 0 step WF and to overwrite the code inside
Just code that every PO modification should trigger O step WF thus it will be more simple to test it.
Later on, if you want to implement more complex starting conditions, you just have to modify the WF content...
Kind regards,
Yann -
User Exit for Purchase Order Line Items.
I have been trying to search for a User Exit for Purchase Order Line Items and have been unable to do find anything. I need to overwrite the Net Price and Pricing Condition on a certain type of material based upon the Pricing Condition for that Line Item which is on the Sales Document. Any direction you can point me into would be greatly appreciated. Thanks.
Thanks for pointing me in the right direction. I was able to create my first BADI using the PROCESS_ITEM method. The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM
-
Purchase order at item level in Invoice Tab 'GR-Bsd IV' want default
Dear Friends
While making Purchase order at item level in Invoice Tab 'GR-Bsd IV' should be came by default . what is its configuration setting.
Regards,
MahesHi Mahesh try ME21N t-code
-
Pricing Procedure for Purchase Order
I have to pick item level conditions for value : bed , hr edu cess, edu cess, cst,lst.
I am trying to the pick up fields kbetr and kwert for following conditions from konv table but there are only header level conditons.
so How can i Proceed for this?
For Purchase order script i have used standard Program SAPFM06P.But this a subroutine Pool Program.hi
Write a Sub-routine in the form, where u can call all the pricing procedures.
write this in the form
/: PERFORM TAX_AMT IN PROGRAM ZMM_REP_POTAX
/: USING &EKPO-NETWR& .
/: CHANGING *xxx-xxx&
write a sub-routine in abap editor , calling the program name and calculating pricing procedures
regards
sailendra kolakaluri -
Pricing conditions for sale order create BAPI
Hi guys and gals,
i am workin on a object where i would have to create a variant of VA01 screen with pricing details , item details , shipping details etc, visible in a single screen .
What i have understood so far is that i would have to use BAPI simulate to get the pricing conditions and ATP details to display to the user before he saves the order , the issue now is when is adding new pricing conditions or changing the existing conditions on my screen i would have to update the other conditions types based on his input and i also understand that some conditions r editable and some arn't and like in regular VA01 the user should be able to delete the pricing conditions also , which means i should taken into account all this when iam finally saving this order , please guide me further in this regards
Thanks in advanceHai
Try with the following
U need to give the step_nr, item_nr, cond_count and cond_type so the correct conditon will be updated. If no condition exists for the given parameters, a new condition will be created.
U can find these parameters for a particular condition type in table KONV.
*& Form saveTransactionJOCR
text
--> p1 text
<-- p2 text
FORM saveTransactionJOCR .
data: salesdocument like BAPIVBELN-VBELN,
order_header_inx like bapisdh1x,
order_header_in like bapisdh1,
return type standard table of bapiret2 with header line,
conditions_in type standard table of bapicond with header line,
conditions_inx type standard table of bapicondx with header line,
logic_switch like BAPISDLS,
step_nr like conditions_in-cond_st_no,
item_nr like conditions_in-itm_number,
cond_count like conditions_in-cond_count,
cond_type like conditions_in-cond_type.
salesdocument = wa_order_information-VBELN.
LOGIC_SWITCH-COND_HANDL = 'X'.
order_header_inx-updateflag = 'U'.
conditions
clear conditions_in[].
clear conditions_inx[].
clear: step_nr,
item_nr,
cond_count,
cond_type.
step_nr = '710'.
item_nr = '000000'.
cond_count = '01'.
cond_type = 'ZCP2'.
CONDITIONS_IN-ITM_NUMBER = item_nr.
conditions_in-cond_st_no = step_nr.
CONDITIONS_IN-COND_COUNT = cond_count.
CONDITIONS_IN-COND_TYPE = cond_type.
CONDITIONS_IN-COND_VALUE = 666.
CONDITIONS_IN-CURRENCY = 'EUR'.
append conditions_in.
CONDITIONS_INX-ITM_NUMBER = item_nr.
conditions_inx-cond_st_no = step_nr.
CONDITIONS_INX-COND_COUNT = cond_count.
CONDITIONS_INX-COND_TYPE = cond_type.
CONDITIONS_INX-UPDATEFLAG = 'U'.
CONDITIONS_INX-COND_VALUE = 'X'.
CONDITIONS_INX-CURRENCY = 'X'.
append conditions_inx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = salesdocument
ORDER_HEADER_IN = order_header_in
ORDER_HEADER_INX = order_header_inx
LOGIC_SWITCH = logic_switch
TABLES
RETURN = return
CONDITIONS_IN = conditions_in
CONDITIONS_INX = conditions_inx
if return-type ne 'E'.
commit work and wait.
endif.
ENDFORM. " saveTransactionJOCR
Thanks & regards
Sreenivasulu P -
Pricing Routine for Purchase Order (VOFM)
Hi,
I just create a price routine (VOFM->Pricing) for purchase order in order to clear some condition types (for example ZR97) in item conditions. In the routine, I just check the xkomv-kschl, if it's ZR97, clear xkomv, it works in routine itself, but after back the main program(ME21N), it's been reset as before, so there is still condition type 'ZR97' in the current purchase item.
Any idea?!
Thanks in advanceHi,
Keep a debug point check if the routine is getting called or not and also check whether the values is actually clearing the value xkomv.
Sometimes xkomv may get cleared but actually the value may be getting reset at the PO level. Check which variable is the one that is actually getting filled in the PO
Regards,
Narayani -
Manual Pricing Condition for sales order!!
Hi,
I have an issue, My requirement is I have to add a manual pricing condition in sales order header level. I have define the pricing condition for Freight Charges and that I have added to the pricing procedure that we have used for the transaction.
The problem is when Iam creating the order in the condition tab manully want to choose the condition type, but what I created condition type (Freight Charges) is not appearing in the view. Only exesting condition types only appearing in tha selection view. I am on CRM Stand alone
Pls anyone can advise where I miss the setting, I am new in CRM PRICING
Regards
VJHello VJ,
You must consider that there is a setting "manual" in the pricing procedure customizing, indicating that the condition must be manually entered, and also a setting in condition type customizing regarding changes that can be made. In condition type customizing you should NOT have option D "Not possible to process manually". Have you checked condition type customizing?
Additionally please execute function module from note 867428 ( IPC_DET_CLEAR_CUST_BUFFER ).
This will ensure that all the customizing changes are immediately available ( otherwise you would need to wait until the automatic buffer refresh occurs, by default once per day
Best Regards
Luis Rivera -
Starting Conditions for Purchase Order WF
Hi all,
We have developed a Workflow (Process-Controlled Workflow) for SRM Purchase Order. The requirement we have is that if the PO is released and then changed, only the WF should start again if the amount is changed. Any other field change in the PO should not trigger WF again.
There is customizing to define which fields should trigger WF for Shopping Cart, but I don´t found this for Purchase Order:
PRO--> SRM server --> sourcing--> Define Fields in Shopping Cart Which Trigger Workflow
Any suggestions?
Many thanks,
EzequielHi,
In your scenario 1, if system is saying that there the PO has to be approved, it means that you have managed the user that will receive the workitem..
Activating all PO WF is not a solution as in standard there are two many cases activated (amount, role, limit...)
I propose you to first activate only the 0 step WF and to overwrite the code inside
Just code that every PO modification should trigger O step WF thus it will be more simple to test it.
Later on, if you want to implement more complex starting conditions, you just have to modify the WF content...
Kind regards,
Yann -
Dectivate pricing condition for sales order not service order.
Hi,
We are on ECC6.0 and CRM5.0
I need to add new condition type to the existing pricing procedure.It should be activtaed only for service orders and not for sales order.I can achive this by adding new requirement in pricing procedure to limit this condition type based on order type.
Example: if KOMK-AUART eq ORDER_TYPE.
sy-subrc = 0.
But I don't want to do this,because I would need to change this requirement everytime I add new service order type.
Is there any field in Pricing structure KOMK bu using which we can achieve this. ?
Please suggest any other idea by which I can achieve this
Thanks
DonaCurrently ,we have one pricing procedures for both the scenarios...
We control if the perticular condition type to be active or not by writing a requirement which checks the order types.
This has been done this way because we built the pricing procedure in ECC and tranfer it to CRM.Also we donot have service orders in ECC.
any further alternatives guys.. -
Invalidate condition for purchase order
Hello,
we have a manual condition which we used in purchase orders (FRA2) which shouldn't be used anymore. Accidently from time to time it's still getting entered which results in wrong postings.
Is there a way (e. g. valid date, ...) to forbid the use of an condition in new purchase orders? (customizing, somewhere else?).
I don't want to delete it as it's still in use in some old PO's... (if it's possible to delete - don't have a clue).
Thanks in advance.
BR,
HansiHello Hansi,
Thanks for your feedback..
Yes you can prohibit through:
Goto MEK2 transaction -> Slect the Matrial Inforecord -> enter the required details
Line item level you have option of Validity to - give the back date.
One more thing: SPRO -> Define condtion type (we have option) -> Master Data tab -> Valid From and Valid to option.
Please check this option also. i have not tried this..
BR
Suneel Kumar -
Calculate excise for purchase order line items ( for import only)
Dear all,
please help me to calculate excise duty form ( imports only) purchase order for its line item.
i can calculate for domestics PO using "BADI_TAX_CONDITION" .\
But I need to calaculate custom duty also . so this BADI does not work .
So, please help me to calculate excise in Import PO .
Regards,
NayanThanks for pointing me in the right direction. I was able to create my first BADI using the PROCESS_ITEM method. The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM
-
Project Commitment Cost not visible for Purchase Orders with Item Categry Q
Hello All
I have a problem. My project commitment cost is not visible for PO's with Item Category Q. I assume that as the stock can be issued against any WBS elements I might not be able to see the cost against a single WBS element. But the cost should get recorded against the project right? If so where can I see it?
Request your help with this problem
Regards
RenjithHello
Could you please explain how to maintain that?
Best Regards
Renjith -
IDOC ORDERS02 E1EDP02 QUALF 001: Purchase Order at Item level not inserted
Hi all,
I try with an ORDERS02 IDoc in segment E1EDP02 with QUALF 001 to insert a customer purchase order number at item level different from the one passed in E1EDK01 QUALF 001 and I expect to insert additionally to the VBKD record for POSNR 000000 one for my item line.
This additinal VBKD record is not inserted and I do not get this customer purchase order number in my sales order.
Does any one know what to do?
Thanks in advance.
AxelTo take over customer purchase order number on item level like the one for the ship-to-party (to treat a QUALF=001 for BSTKD like the QUALF=044 for BSTKD_E) seems to be unpossible.
Within IDOC_INPUT_ORDERS
LVEDAF5M: FILL_E1EDP02
WHEN '044'.
*- Bestellnummer des Warenempfängers -
*- purchase order number consignee -
PERFORM IDOC_MOVE USING E1EDP02-BELNR XVBAP-BSTKD_E D_FLAG_P-PBES.
We need to have
WHEN '001'.
*- Bestellnummer des Warenempfängers -
*- purchase order number -
PERFORM IDOC_MOVE USING E1EDP02-BELNR XVBAP-BSTKD D_FLAG_P-PBES.
this is calles from
LVEDAF2U:
*- Auftragsposition Referenzen -
*- item reference data -
WHEN 'E1EDP02'.
MOVE IDOC_DATA-SDATA TO E1EDP02.
PERFORM ZUORDNEN_ORDERS_E1EDP02.
*-Zusätzliche Daten aus IDOC-Struktur (Kundenerweiterungen)----
*-additional data's from IDOC (customer exit)----
SY-SUBRC = 0.
PERFORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
This calls
CALL CUSTOMER-FUNCTION '001'
So IDOC-DATA-SDATA is allready in E1EDP02
but it is not sufficient to do the call needed like stated above within EXIT_SAPLVEDA_001 since
I expect a result in VBKD, not in VBAP, and BSTKD is not like BSTKD_E a field of XVBAP.
In LVEDAF16, LVDEAF1C, LVEDAF27 AND LVEDAF4N the field is taken over into the screen but we have no chance to forward it to there
and to enhance there. Last one seems most interesting since it is for VA01!
It could be to enhance EDIT_SAPLVEDA_002 but how to forward the content to this field if it is a VBKD
field and all VBKD fields are statically added to VBAP fields in the program and not in the dictionary.
That would cause to append a parking field in VBAP or require to modify the code!
Any better ideas?
Maybe you are looking for
-
How to limit the number of items that a list control can hold?
Hi, I am using a Flex3 List control for one of my projects. I add drag & drop functionality to it, so that i can drag & drop elements from one control to another. How to limit the number of items that a list control can hold / can be dropped in a lis
-
Back Up vs. Time Machine Vs. Self Back up
First off, I don't know much about macs so I need some help in backing up our computer. We have a MacBook Pro 10.6.2. It is a little over 3 years old so we don't have Snow Leopard. My husband has been using Backup to back up our info to an external H
-
How to move the "i" in an iPhone app
Hi, I have been bouncing my head on this one...I am developing an iPhone app with the famous "i" icon in the lower-right corner of the screen. I need to move this icon to another area of the screen OR change its color. For the life of me, I cannot fi
-
SQL Query without using Pivot...
Hi Guys, Need help with a query... I think pivot table is the way to go but don't wanna to use it as it is not supported in Oracle 10g. Sample data set... Part Section A001 AC A001 AY A001 AN A001 AX A015 AC A015 AR A007 AC A008 AN A008 AX A008 AE A0
-
10SE / AT300SE Youtube crashes when searching
Hello there Youtube(not the stock one, the auto updated one), when I try to search, Youtube crashes. here's what I tried so far: -Uninstall the updates (works ok, but Youtube keeps autoupdating, and the problem returns back.) - tried to clear the cac