PO line item's Condition type
We are planning to restrict certain condition types.
When I create a new line item in an existing PO, and if that line item contains the restricted condition type, then it should not allow to save the PO.
But the existing line item can have the restricted condition type, because it was created previously.
Hi
Try something as this in method CHECK
include mm_messages_mac.
data: header type mepoheader,
items type purchase_order_items,
po_line type mepoitem,
line_item type purchase_order_item,
po_condition type mmpur_tkomv,
wa_im_komv type komv,
eipo_line type mepo_eipo.
header = im_header->get_data( ).
items = im_header->get_items( ).
loop at items into line_item.
po_line = line_item-item->get_data( ).
call method line_item-item->get_conditions
importing
ex_conditions = po_condition.
loop at po_condition into wa_im_komv.
* here, do your checks, use message 398(00)
mmpur_message 'E' '00' '398'
'text1' 'text2' 'text3' 'text4'.
endloop.
endloop.
I hope this helps you
Regards
Eduardo
Similar Messages
-
Mass update of Third Party Vendor at PO Line item pricing condition
Hi All,
We have requirement from business as follows:
We are using item level condition for Lumper Charge in PO and it is for Third Party Vendor. We maintain vendor in pricing condition record so it will be automatically populated while PO is created. Recently vendor is changed so we have also updated new vendor in pricing condition record so it will be taken care when new POs will be created. But there are thousand open POs in which new vendor needs to be updated.
Is there any way to mass update third party vendor at PO line item level?
Relevant pointers will be rewarded.
Regards,
TtHi,
You may check the following options:
1. If the freight vendor was pulled through condition record, then change the vendor in the condition record and update the pricing in MEI1. Refer the KBA: 1819416 - Condition records not getting updated automatically when using MEI1/MEI4
2. If the condition is manual condition, there is no option to mass change the vendor in standard, as of my knowledge. You may create a custom program to change the vendor in the PO. Refer the similar thread: Mass update of freight vendor in PO condition
Regards,
AKPT -
Item level Condition types appearnance by default in PO
Dear all,
I have created the pricing procedure. But, While creating a PO, I want the condition types to appear by default so that I can just enter the discount and freight %. in the input field. I do not want to enter the condition types for item manually.
Please reply.
Thanks in advance,
Regards,
PrashHi
Write a New Pricing Procedure with create all necessary condition types step by step i.e . from how the calculation should be done .
Sample format:
U App Proc. Step Cntr CTyp From To Man. Reqt SubTo Stat AltCTy AltCBV ActKy Accrls Print Mdt Description
A M RM0000 1 1 PB00 9 X Gross Price
A M RM0000 1 2 PBXX 6 9 X Gross Price
A M RM0000 2 VA00 X Variants/Quantity
A M RM0000 3 VA01 X Variants %
A M RM0000 4 GAU1 X 31 X Orignl Price of Gold
A M RM0000 5 GAU2 31 32 32 X Actual Price of Gold
A M RM0000 10 1 RB00 X X Discount (Value)
A M RM0000 10 2 RC00 X X Discount/Quantity
A M RM0000 10 3 RA00 X Discount % on Net
A M RM0000 10 4 RA01 1 X Discount % on Gross
A M RM0000 10 5 HB00 X X Header Surch.(Value)
A M RM0000 10 6 ZB00 X X Surcharge (Value)
A M RM0000 10 7 ZC00 X X Surcharge/Quantity
A M RM0000 10 8 ZA00 X X Surcharge % on Net
A M RM0000 10 9 ZA01 1 X X Surcharge % on Gross
A M RM0000 10 10 HB01 X X Header Disc.(Value)
A M RM0000 10 11 RL01 1 X Vendor Discount %
Thanks & Regards,
Mani -
F5670: No Account Assignment for line item 002 account type S
Hi Experts
I have created assesment cycle for transfering cost from an cost center to an statistical order. While executing assesment cycle in test run, it executes successfully. But when I take out the test run tick, it gives above error.
Pls help
Regards
Bhavesh JainHi,
Maintain account determination for reconciliation posting (transaction OBYB). Specify the posting keys for general G/L account postings. Example:
Posting key 40: Debit posting
Posting key 50: Credit posting
check the business transaction and maintain require setting in OBYB
Regards
Ravi Kumar -
In billing document VAT condition type flowing 2 times with Different value
Hi,
1. In my requirement, In order creation time , in the pricing procedure ZPROJT (Proj Material Sales) VAT condition type (JLST) is flowing one time with the condition record of 5% for one line item and the same we changed manually to 12.75 %, for the same condition type (JLST) and we saved the order. After that we created delivery with reference to the same order, final the billing document creation time with reference to the delivery (in the pricing procedure ZPROJT (Proj Material Sales))for the same line item VAT condition type (JLST) is flowing 2 times with 2 different values ( 5% and 12.75%) and it is calculating the 2 different values to the final value. But normally only the manually changed (12.75%) value should be taken to the account. Please help me How to stop the condition type (VAT C Type "JLST") from flowing two times for the same line item in the billing - and we need to take the value of (12.75% manually changed value) to the final calculation.
2. In one pricing procedure normally if you add the same "C Type" for two times it will throw the error message like "Duplication Of C type" and you can't save the order with out deleting the same. Please tell me, where is the contole for the same.Hi,
Check copy control settings in VTFL
At item level make pricing type as D - Copy pricing elements unchanged
KAPIL -
Condition type PMIN Minimum Price for material
Hello
We have a requirement where we need to maintain minimum price of material in master.
Whenever in sales order price is entered and is lower than minium price for material maintained it should automatically add the difference as surcharge. If the price maintained is more than the minimum price maintained it should not do anything.
I guess we have to use Ctype PMIN for this. I amy using this condition type have created a condition record and maintained a minimum price for this material f09 as rs 1000
Now when i am creating sales order price picked up from pricing condition record for that customer is 500 . Now it should automatically add Rs 500 in condition line item for condition type PMIN.
What is happening is it is showing me my base price as 500 and it is adding PMIN as 1000 to the base price and showing total base price as 1500
If price maintained in pricing condition record is more than 1000 for ex 1200 even then too it is adding PMIN as 1000 and showing total base price as 2200.
Please let me know what am i missing...
Regards
SANJEEV-T code VK11 - Maintain condition records - You can use the upper and lower limits functionality in the condition records for those specific materials.
-Also Make this condition type as mandatory then check it out.
Regards -
How to make the vendor column have figure in GRIR line item with RE document type?
Dear Experts,
Could you tell me how to make the vendor column have figure in GRIR line item whose document type is RE?
Thanks!
Xinling ZhangHi ,
You are using FAGLL03 .
FAGLL03 report vendor code is blank
vendor number in new FAGLL03 tcode (offsetting account information)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30b96fed-eb5d-2e10-1792-f3ff9f65df8a?QuickLink=index&…
Also check OSS note
Note 112312 - Line item: Display of offsetting a/c information
Note 1034354 - FAGLL03: Display of offsetting account information
Many Thanks -
Condition Type for Service PO Items
Hi all expert,
May i know that where to define the condition type for Service PO items?
For item of service PO, there have Service Tab, under this tab, there may have few items and each of the item have condition type. thus, i would like to know that where to define this condition type. it is because i found that this condition type is different with PO condition type.
Hope can get ur reply soon.
Thanks~Hi,
Appreciated for your reply:)
I am confusing on "Variable Condition Schema For External Service" Step, as i view from the table, it seem look like a access sequence and assign to which document type to use pricing procedures.
If let's say i assigned this pricing procedures to PO category and normal PO document type, then does it crash with condition type which config for normal PO (Condition Tab of PO)?
if i assigned my procedures at "Variable Condition Schema For External Service" Step, where i can view my config result?
Waiting for your reply.
Thanks:) -
Hi Team,
Can anyone tell me please whether in pricing we have a Item Condition Type with no access sequence( i.e no tables maintained hence no records as well which usually is contrary to Item Conditions).
An explanation alongwith for better understanding of the same
Thanks.
Regards SKHi swathi
If your question is related to header or item related condition type then the best example of item condition type is VPRS .which doesnt have access sequence but it is an item condition type
Header condtion types doesnt have access sequences
please let me know if you have any queries
Regards
Srinath -
Function Module for Sales items condition types
Hi,
I would like to get Sales item amount details based on condition types tax or discount.
Is there any function module to output amount for sales item and condition type.
Thanks in advance for your help.
Thanks,
Ramanahi
i have vbeln and posnr
my requirement is to calculate repricing for sales order.
i am having problem with function pricing means what parameters to be passed in komp and komk structure.
can you plz send me sample code if possible?
thankx in advance. -
Hi Gurus,
I got an issue which I am uable to analyse.......please have a look and tell me how to approach
There are two cases----
first one is Inter company PO
In a purchase order, there is a fright condition type(ZCCQ) which was given thrice
for first two , whatever the value was given , the system has taken for whole quantity ordered for the line item (for say u have given 718,920)
for third condition type the value which u entered is multiplied by the ordered quantity ( say we have given condition value 20, the total value was shown as 20 multiplied by the order quantity)
Second one is stadard PO
In standard PO----
the third condition type amount was entered in the header level and this amount was splitted into the line item level that to there is no proper proportionate ratio i between the line items. for one line item the condition value is more and for another it is very less ( even though the ordered quantity is same)
my question is how the same condition type will act differently (once it is fixed....... after it is multiplied...... and after it was splitted....)in the same PO????????
I tried it in the testing server of the client by giving the condition type 3 times in the PO......., but it always multiplying wih the ordered quantity. I was not faced that problem
could you please analyse and tell me what could be cause the differences in aove cases
I tried my best to tell the problem .......In case u r unable to understand at any point, please let me know, i will give in detail ifo
I am waiting for ur help
Thanks & Regards,
SubbuHello gurus,,,
I am awaiting for ur help
Please look into this issue
Regatrds,
Subbu -
Condition types for Insurance and Duties - Export sales
Hi Friends,
Please let me know the condition types i can make use of for capturing the Insurance and duties paid during export salesand also the condition type for capturing the commission.
Thanks
IvyDear ivy
You can create zee condition types on your own and maintain the required datas. I am just give you one example for insurance.
Go to V/06, copy some standard discount condition type and rename it as ZEIN and maintain the following:-
Cond. class:::::::::::::::: A
Calculat.type::::::::::::::: A
Cond.category::::::::::::::C
Rounding rule::::::::::::::::Commercial
Plus/minus::::::::::::::::::::blank
Manual entries:::::::::::::::D
Amount/percent::::::::::::::X
Value::::::::::::::::::::::::::::X
In V/07, you can maintain the following tables
033:::::::::Incoterms
307::::::::Customer with Release Status
So in VK11, either you can maintain the insurance percentage for Incoterm or Customer, so that whenever you generate sales order with multiple line items, this condition will automatically bifurcate the insurance percentage. Also the most important is that in your pricing procedure, against this condition type, you have to assign EIN as Account Key.
thanks
G. Lakshmipathi -
Shipment cost transfer to condition types of PO
HI! I saw this note 427944 which states the rules to transferring the shipment costs into the condition types of the PO:
The shipment cost value (without tax amounts) is cumulated for all relevant shipment cost documents for each service agent and transferred to a corresponding condition type of the purchase order item. Before cumulation, the amounts are first converted into the purchase order currency.
1. A transfer of the values for each condition type (similar to the transfer from a shipment cost document to the SD billing document) is not supported.
2. If different service agents exist in the shipment cost documents, a corresponding number of condition lines (with value 0) must be specified in the purchase order item. These can always belong to the same condition type (in schema 'Manual') or also to different condition types (not 'Manual'):
a) Manual condition lines: If the condition type in the schema of the purchase order is marked is 'manual', the condition type must be created (with value 0) in the purchase order item before the goods
receipt. If delivery costs are expected from different service agents, several non-valuated entries must be generated for this condition type. If more condition lines exist than required, these are then no longer taken into account. If condition lines are missing, the last service agents are not settled.
- Advantage: You only have to define one condition type for the delivery costs.
- Disadvantage: Each purchase order must be processed manually before the goods receipt.
b) Automatic condition lines: If the condition lines are to be generated automatically for the delivery costs (the condition type is not flagged as 'Manual' in the schema), the schema must have
enough condition types to settle several service agents. If more condition lines exist than required, these are then no longer taken into account. If condition lines are missing, the last service
agents are not settled.
- Advantage: The goods receipt can be carried out without manual preparation beforehand in the purchase order.
- Disadvantage: You must define identical condition types with different names.
I can understand point a about the manual condition lines and have tried it out myself.
But I don't quite understand point b about the automatic condition lines and so I need some clarification here.
1. Does that mean I do not need to maintain the condition type in the PO?
2. Does that mean the system will automatically find a condition to put the shipment cost for each service agent?
3. How does the system know which condition to take then?
4. I tested with the 'manual' field not flagged in the PO schema but no shipment cost is transferred. Is it because of the existence of other normal condition types that are also not manual?
Appreciate any help to this.
Thanks!
SFNo answer
-
Map default values in Header based on multiple values in the line item
Hi
I have a scenario in which the Header field of an IDOC should be populated with some default values based on some mixed mvt types in the line items.
eg:
Header -
> Delivery type -
> needs to be mapped to A (for X of line item 1)or B (for Y of line item 2) or C (for Z of line item 3 )
based on line items field
line item1---> mvt type---> X
line item 2-->mvt type----->Y
line item 3 -
> mvt type -
> Z
mvt types doesnt necessarily have to come in that order and even the same mvt type can repeat in multiple line items.
Can we achieve this logic in XI ?I think if you include removeContext, Sort, SplitByValue (on Value Change), CollapseContext to mvt type in all line items and then use ifelse condition to achieve your result.
I will give an example of line Item1
mvt type --->RemoveContext ->Sort>SplitByValue(on value change) --> CollapseContext
Use the above mapping to IF function and check if it is having X, Y or Z then map the appropriate value to target field.
Do the same for rest of the line items. -
Service Item Surcharge Condition to PO Header
Hi Leads,
Whats the possibility to get service item surcharges (condition types) to appear on PO line item level or Header level.
When we give values for surcharge at serive line item level, its getting added to PO gross value at header, rather than showing seperate values.
How can we show these surcharges added on service line item level as a seperate line in PO Header??
Is it possible via Std or any other alternative.
Appreciate your quick response.
Thanks.Please respond to this requirement gurus...
Maybe you are looking for
-
Firefox 5 doesn't print properly
When I used Firefox 3.5, it printed properly. I upgraded to Firefox 4, and printing had extra spaces between each letter, making the printout unreadable. Today I upgraded to Firefox 5, and found the problem has yet to be fixed. I am using Windows XP
-
IDoc Error "" No goods receipt possible for purchase order"
Hi All I am getting IDoc failed with the error massaeg " No goods receipt possible for purchase order I510954-02 00010 Message type :MBGMCR Basic type : MBGMCR03 Message no. M7036 Status : 51 Please suggest on this Thanks Ajit
-
even when you tell installation not to load babylon it still loads the product. No matter where I download it from. Have cleaned with malwarebytes spybot search and destroy and others. Why this is even included in the package is beyond my understandi
-
Can't get messages from iPhone user on my android
I have recently swapped my iPhone for an android but still have I pad. I am not receiving messages from friends with I phones. Any ideas?
-
How to stop imessages from popping up on my mac?
im sick of seeing my conversations pop up on my mac in messages. how do i stop them from showing up?