Condition value from previous PO changes total value of new PO
Dear gentlemen,
We have a surcharge condition, calculation type = B (Fixed amount), category = Delivery costs. When viewing header condition details in PO, there appears an unknown "condition base value" with no "rate unit" associated with it. This value is carried over to the next PO created, changing its total value, thus affecting inventory value. What is wrong with this condition? How can I not let the system carry over "condition value" from previous POs?
Regards,
Carlos Piana
La Universal
Guayaquil, Ecuador, South America
My aim is the difference between 56062 on 10.07.2012 00:00:00 and 52013 on 13.04.2012 and so on.
The final table should look like this:
DateId
Severity
PageCount
DeviceId
ErrorId DIFF
13.04.2012 00:00:00
1
52013
163
1 52013
10.07.2012 00:00:00
1
56062
163
1 4049
13.11.2012 00:00:00
4
63907
163
1 ...
28.11.2012 00:00:00
4
64492
163
1
12.09.2012 00:00:00
4
61524
163
1
29.11.2012 00:00:00
4
64573
163
1
Why I am doing this is that I want to calculate an Printerindex. This is the Amount of Errors related to the volume of pages, printed.
The Formula in DAX is Measure:=(COUNT(FactErrors[ErrorId]))/(SUM(FactErrors[PagesCount])/10000)
So I get this PivotTable:
Zeilenbeschriftungen
CountDevices
SUM PageCount
CountErrors
PrinterIndex
MFP
523
90135296
1362
31,24906792
HP
125
30805190
241
5,529387202
Lexmark
369
53500358
856
27,39392853
Samsung
29
5829748
265
41,33069233
Samsung CLX-92x1 93x1 Series
22
5400624
246
38,36735967
Samsung SCX-8123 8128 Series
7
429124
19
4,482612183
You see, that if I can't SUM already summarized printed volume. Another way could be to aggregate the volume as MAX() but this is not working, either.
Zeilenbeschriftungen
CountDevices
MAX PageCount
CountErrors
PrinterIndex
MFP
523
435853
1362
0,151106177
HP
125
435853
241
0,07823357
Lexmark
369
312478
856
0,159998929
Samsung
29
64117
265
0,454565103
Samsung CLX-92x1 93x1 Series
22
64117
246
0,45550292
Samsung SCX-8123 8128 Series
7
42386
19
0,442762465
I hope you see my problem ...
Similar Messages
-
Why can't we delete clips from previous projects when I start a new project?
We have tried eveything... but there is a red line above the clips and they will not delete or move to the trash or anything. please help.
WRABVideo
Thanks for the follow up.
Unfortunately, if you want to see the new project dialog at the start of each new Premiere Elements 11 or 12 project, you are going to have to open a new project and go to File Menu/New/Project each time to get the new project dialog. All this before you import your source media.
I have never seen what you describe
The very first time I used the software, I was presented with the settings box, probably to establish the defaults.
By setting box are you specifically referring to the new project dialog that you worked with in version 9.0/9.0.1?
This automatic setting of the Premiere Elements 11 and 12 project preset based on the first video drag to the Timeline is great in principle; however, it does have its shortcomings. When it is wrong, it does not give you the closest to what you should have. It gives you its default NTSC AVCHD Full 1080i30 or its PAL counterpart. In versions earlier than 11, the default project preset is NTSC DV Standard or its PAL counterpart.
My blog post on the Premiere Elements 11 (also applies to 12) project preset automatic set may be of interest.
http://www.atr935.blogspot.com/2013/04/pe11-accuracy-of-automatic-project.html
There is no workaround that I have found to give Premiere Elements 11 and 12 that earlier than 11 project preset handling.
Please let us know if you need clarification on anything that I have written.
Thank you.
ATR -
Condition value need to change at quotation level not in sales order
Hi,
As client requirement, Condition value and new condition type can be added at Quotation if Sale Order is created with reference of same Quotation than system should not be allowed for editing or adding new condition type.
If Sales Order is created without reference than system should be allowed for edit or add condition.
Please resolve my query.
Thank You!
ChakradharaHi Chakradhara,
you need to define a requirement in VOFM where you check table VBFA field VBELV.
If system retrieves data when accessing to this table with VBELV equal to your quotation number and VBTYP_N equal to C (sales order) means that sales orders have been created from your quotation. If so, then field sy-subrc should be equal to 4.
When you add your new condition to your price schema, don´t forget to place the requirement created in column requirement.
Ask for the help of an abaper for coding the requirement.
Regards,
JM -
Condition value of Tax condition type gets added to Total Value in Contract
Hi All,
I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan. Consequently, the second line has null Outgoing target value.
However, the header Total value in the Contract gets wrongly calculated as Basic condition value of 1st line + Condition value of tax condition type of line one due to this. When I modify the billing end date for the second line item to be a date greater than the billing start date, the above problem disappears and the total value of the contract does not include the tax component.
For eg.
Normal Error free Contract
Total Value at Header = 700.00 EUR
Material Outgoing Target val
Item 0010 MAT1 450.00 ( 450 + 50 (tax ) )
Item 0020 MAT2 150.00
Contract with billing plan error in second line
Total value at Header = 550.00 EUR
MAterial Outgoing target val
Item 0010 MAT1 450.00 ( 450 + 50 (tax ) )
Item 0020 MAT2 0.00
Any inputs would be most welcome.
Regards,
Venkatesh.
Edited by: Venkatesh Gopalarathnam on Jan 24, 2012 9:48 AMNo, i didn't.
Actually, i enter condition type and amount in sales order manually.
At that time my program which i modified at 'Define And Assign Pricing Procedures' in IMG should be run.
But the result of running is different from my purpose.
To change Condition value of condition type in sales order, are there any solution? -
Condition value not updated when qty changed
hi all,
I have created a new condition ZPR1 (copied from PR00) and use a new formula for it.
There is a problem when I change the qty after the item is billed.
Suppose the original qty is 1 and total ZPR1 price is 100. When I change the qty to 2, the ZPR1 price is still 100! It will change to 200 if the item is not billed.
Anybody encounters such problem and how to solve?
ThanksHi,
I don't mean to change the unit price.
I mean the condition value (the item total price) is not updated
You can't change the price anymore in the condition tab after you billed
But when you change the qty of the item, the total value should change accordingly
And I think for my case I should not cancel the invoice. Suppose original qty is 10, and there is partial shipment of 7 and billed the customer. Later customer request to reduce the qty to 7 to complete the item. We should not cancel the invoice in this case.
Try to test with PR00 and PN00, you will see the item value will be changed according to the item qty. -
Header condition value is changing in Invoice compare to Sales Order
Hi,
I have created one Sales Order with five line items and total quantity is 100 units. I have one header condition type and the value is 1000 USD in Sales Order.
Now I have created delivery and changed the quantity from 100 units to 105 units..
And than I have created Invoice. If i check the Header condition type value now it it 1100 USD instead of 1000USD(header condition type value should be the same as in Sales Order)
Can anyone suggest me why the header condition value is changing in Invoice where as it should be as same as in Order?
Thank you for your support
Best Regards
AmjathpashaHi Amjad,
You might check in copy controls for the Pricing type if the prices are getting re-determined at the time of billing.
Although, if it is, the value should have been 1050 USD and not 1100 USD.
As you know item condiitons for all the items are added up to the header, you might want to analyze item conditions as well.
Also, since you are delivering 105 units instead of 100, do you still want the system to charge for 100 units? Or is it something related to under-delivery/over-delivery tolerance?
Regards,
Amit -
Change condition value in debit memo and credit memo
Hi Experts,
When I am trying to create Credit Memo/Debit memo I could able to change the condition value for which condition type the value is there in Sales Order, but where as for other condition types it is not changeable.
For example for Freight the Condition type is ZFRE, value is 100 rs in sales order 90000001.
If I create credit memo with reference to sales order I can able to change freight value from rs100 to rs 75.
But what to do If I do not maintain freight value initially in sales order and if I want to adjust freight value ZFRE as rs 60 in credit memo. Presently I could not able to enter values in C/D Memo.
Hope my question is clear to you all.
Thanks & Regards
NareshHi Naresh
If I understand correctly, then you want to include the freight amount automatically in the Credit memo which was not featuring in the Credit memo request.
If it is so, then first see which is Pricing procedure working for your Credit memo Request.
In the Pricing Procedure, check the freight condition type (e,g. KF00).
See the what is Acees sequence assigned to it and in the Access sequence what are table assigned.
In condition type KF00, Access sequence assigned is KF00 and two condition tables "Incoterm" and "Incoterm Part1 + Part2" are assigned to it.
In the Access sequnce of your Freight condition type , add another/new condition table "350" (Sales organisation). This table is already available in standard system.
Select the new condition table row, and click on the "Field" in the dialog box till the technical names are opened up / shown inspite of warning.
Once the technical names of the fields are shown , you can see the green light there, then save it.
Now, create a condition record (VK11) for your Freight condition (e,g. KF00) by choosing the "Sales organisation" level from the key combination.
Then go to the Copy control (VTFA), find the combination "G2 from CR "> go to Item level > select item category G2N and go to details.
Here, you change the "Pricing type" value to " H " and save it.
Now, when you will create a Credit memo with reference to the Credit memo request, the new Freight condition (KF00) will come into effect in the Credit memo, even if ,it was not there in the reference document. -
Pricing procedure change the condition value
Hi,
My pricing procedure determines the Tax in %basis.Now i have a rewuirement wherein i should be able to enter the amount in AMOUNT COLOUMN in condition tab. This value should be the condition Value for the condition type.
Now my pricing procedure doesnt allow me to make any changes and the condition type is greyed out. how can i calulate the tax in amount instead of % and be able to enter the value manually?
Thanks,
ChallaHi Challa,
Price can be maintained either on percentage basis or on amount basis.
So you have to make changes in condition type to convert it from percentage to amount.
Go to IMG u2013 sales and distribution u2013 master data u2013 basic function u2013 pricing u2013 pricing control u2013 define condition type.
Select maintain condition type from the options.
Now select your condition type and click on detail.
Change the calculation type from A (percentage) to B (Fixed amount) and save it.
Now go to VK11 and maintain the new condition record for that condition type.
Now create the sales order and go to condition tab and check out the pricing it will be amount.
Please do this method if you find any difficulty then tell us.
Regards
Raj. -
BAPI_PO_CHANGE - Change Condition Value
Hi,
I want to change the Condition value for a particular Condition type using BAPI_PO_CHANGE.
I am populating values for following
Import parameters
PURCHASEORDER
POHEADER (Fields PO_NUMBER)
POHEADERX (Fields PO_PO_NUMBER = X)
Tables
POITEM (Fields PO_ITEM, PLANT, STGE_LOC
POITEMX (Field PO_ITEM, PO_ITEMX = X, PLANT = X, STGE_LOC= X)
POCOND (Fields COND_TYPE, COND_VALUE, CURRENCY)
POCONDX (Fields COND_TYPE = X, COND_VALUE = X, CURRENCY = X)
But PO condition value is not getting changed...
Regards,
Balaji Viswanath.Hi,
I got the answer from Naren's earlier post... Given the answer below...
Hi,
I believe you can use this BAPI to PO conditions..
Check this code..
PARAMETERS: p_ebeln LIKE ekko-ebeln.
DATA: t_poitem LIKE bapimepoitem OCCURS 0 WITH HEADER LINE.
DATA: t_poitemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE.
DATA: t_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: t_cond LIKE bapimepocond OCCURS 0 WITH HEADER LINE.
DATA: t_condx LIKE bapimepocondx OCCURS 0 WITH HEADER LINE.
t_poitem-po_item = '00010'.
t_poitem-net_price = '17.00'.
APPEND t_poitem.
t_poitemx-po_item = '00010'.
t_poitemx-net_price = 'X'.
t_poitemx-po_itemx = 'X'.
APPEND t_poitemx.
t_cond-itm_number = '00010'.
t_cond-cond_type = 'P000'.
t_cond-cond_value = '17.00'.
t_cond-currency = 'USD'.
t_cond-change_id = 'U'.
APPEND t_cond.
t_condx-itm_number = '00010'.
t_condx-itm_numberx = 'X'.
t_condx-cond_type = 'X'.
t_condx-cond_value = 'X'.
t_condx-currency = 'X'.
t_cond-change_id = 'X'.
APPEND t_condx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = p_ebeln
TABLES
return = t_return
poitem = t_poitem
poitemx = t_poitemx
pocond = t_cond
pocondx = t_condx.
COMMIT WORK.
The above code works fine for me...
Thanks,
Naren -
Changing the Condition value in Quatation only and not in Order
Hi Gurus,
We have a Requirement from Client in which the Client should be Able to change the condition Value PR00 in the Quotation and not in Sales order......can someone please let me know how's that possible?
Because if we try to make Changes in Condition Type in V/06 it will also allow changes in Sales Order....Hi
You can use user-exit USEREXIT_PRICING_PREPARE_TKOMP in the include MV45AFZZ.
IF VBAK-AUART = (Your quotation type)
LOOP AT XKOMV.
IF XKOMV-KSCHL = 'PR00'.
SELECT * FROM T685A INTO TABLE I_T685A WHERE KSCHL = 'PR00'.
READ TABLE I_T685A WITH KEY KSCHL = XKOMV-KSCHL.
I_T685A-KMANU = 'C'.
MODIFY I_T685A INDEX SY-TABIX.
MODIFY T685A FROM TABLE I_T685A.
REFRESH I_T685A.
ENDIF.
ENDLOOP.
like this discuss with your abapper and build the logic
regards
Prashanth -
How to Change the Document Condition Values in PO print
HI,
I have a requirement to change the document condition values in PO printout. We are using the copied form of MEDRUCK.
Please tell me how can i change the Document Condition Values at run time.
Thanks....hi
hence you have copied standard script you cant able to change the driver program for this you have to use itcsy structure.
go to the page window and select the window which you have the amount field. open the text editor of the windoiw here write
/: PERFORM CONTACT IN PROGRAM ZAMOUNT_ZF110_IN_AVIS1_C
/: USING ®UH-ZALDT&
/: CHANGING &DT&
/: ENDPERFORM
now create a report program with name ZAMOUNT_ZF110_IN_AVIS1_C.
and follow as the example program is .
*& Form CONTACT
text
-->IN_TAB text
-->OUT_TAB text
FORM contact TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
DATA : v_telf1 TYPE telf1.
DATA : v_telfx TYPE telfx.
DATA : v_adrnr TYPE ad_addrnum.
DATA : v_flagcomm6 TYPE ad_flgcm06.
DATA : v_datum(10) TYPE c.
DATA : v_sydatum TYPE sy-datum.
DATA : v_lifnr TYPE lifnr . " Santosh Rawat , 19th Feb
DATA : v_email TYPE ad_smtpadr . " Santosh Rawat , 19th Feb
LOOP AT in_tab.
IF in_tab-name = 'REGUH-LIFNR'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' " Santosh Rawat , 19th Feb
EXPORTING
input = in_tab-value
IMPORTING
output = v_lifnr.
SELECT SINGLE telf1 telfx adrnr FROM lfa1
INTO (v_telf1, v_telfx, v_adrnr)
WHERE lifnr = v_lifnr.
SELECT SINGLE smtp_addr FROM adr6 " Santosh Rawat ,19th Feb
INTO v_email WHERE ADDRNUMBER = v_adrnr. " Santosh Rawat ,19th Feb
SELECT SINGLE flagcomm6 FROM adrc INTO v_flagcomm6
WHERE addrnumber = v_adrnr.
ELSEIF
in_tab-name = 'REGUH-ZALDT' OR in_tab-name = 'REGUP-BLDAT' .
MOVE in_tab-value TO v_datum.
REPLACE ALL OCCURRENCES OF '.' IN v_datum WITH ' '.
CONDENSE v_datum.
MOVE v_datum TO v_sydatum.
*CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
EXPORTING
input = V_DATUM
IMPORTING
OUTPUT = V_DATUM
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = v_sydatum
IMPORTING
date_external = v_datum
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT out_tab.
IF out_tab-name = 'TEL'.
MOVE v_telf1 TO out_tab-value.
ELSEIF out_tab-name = 'FAX'.
MOVE v_telfx TO out_tab-value.
ELSEIF out_tab-name = 'EMAIL'.
MOVE v_email TO out_tab-value. " Santosh Rawat , 19th Feb
ELSEIF out_tab-name = 'DT'.
MOVE v_datum TO out_tab-value.
ENDIF.
MODIFY out_tab FROM out_tab.
*MODIFY TABLE OUT_TAB .
ENDLOOP.
ENDFORM. }
reply for any query.
regards,
venkat. -
Manipulating condition value after being returned from IPC
Hi all,
How can we manipulate the condition rate data after the value is returned from IPC?
We tried using CRM_PRICING_I_BADI calling the method CRM_PRICING_I_MERGE. But it did not solve the issue.
Requirement is to read the data of a particular condition type from a preceedign document and then overwirte the conditon value of condition type in the current transaction with that old value from previous document.
Can this be achieved without using Java coding and manipulate the value after IPC has returned the conditon value and before it is being presented on GUI?
Please help me with your suggestions.
Regards,
David.Hello david,
You might ned to use the user Exit provided by the Pricing Engine to work this out. this will require Java coding.
Regards,
Tanu -
Hi all,
Can you please let me know whether the currency of the condition value in the purchase order can be changed. In my scenario, we have document currency as USD. But certain conditions like freight, customs are invoiced in local currency (XOF). Now the condition amount is appearing with currency in XOF, but we need the condition value also has this same currency(XOF).
thanks & regards
Chaitanya RayaproluYaa you can assign vendor to these condition type (freight, customs etc) whose currency is XOF.
You can enter values in PO against these condition as XOF.
While doing MIRO for this vendor, please change the curreny from USD to XOF.
Regards
Bhavesh Mistry -
How to get xkomv-kwert (condition value) from a pricing condition ZZP1
Hi experts,
I have a pricing condition zcust that I need to modify in the sales order. The calculation of ZCUST is dependent on the condition value in another price condition ZZP1. The price for ZZP1 is a fixed amount of $6 which is split among line items in the order. In sapmv45A, when the code hits userexit_save_document_prepare, the value of xkomv-kwert (condition value) exist. In other user-exits in sapm45A, I was unable to find xkomv-kwert. My question is: How can I find the value of xkomv-kwert as i don't know how ZZP1 is calculated ?? There is no routine attached to ZZP1.
THE ZCUST has a routine 993 which is similar to 3. Here in program saplv61A, i was trying to get xkomv-kwert for ZZP1 but unable to get any data. Can anyone suggest where i can get the data (xkomv-kwert) for ZZP1 in saplv61a ?
I looked at userexit_xkomv_bewerten_end in saplv61a but it does not help.
XKomv-kbetr always has data. If i have ZZP1 data, then i can modify ZCUST.
Many thanks.
JoyceHi Jelena,
In VOFM, it is Formula/Condition Base Value for routine 993. In Pricing Procedure, it falls in column "Base Type" for 993.
Let's see if i can simplify this: In a sales order with 2 line items:
prices Amt Condition Value (USD)
Line 10 ZS1 sell price 2.30 1150
ZPP1 charge 6.36 3.40 (note the distribution **)
ZL1 3 3
ZR1 % 1.000% 11.50
ZR2 0.01 5
Suggested price = 2.35 1172.90
ZCUST 2.34 1170
total price 2.34 1170
Note: The ZCUST price is wrong. It is missing the ZPP1 charge which is 3.40. Zcust should be 1170 + 3.40 = 1173.40
Line 20 ZS1 sell price 25 1000
ZPP1 charge 6.36 2.96 (note the distribution **)
ZL1 3 3
ZR1 % 1.000% 10
ZR2 0.01 0.6
Suggested price = 25.41 1016.56
ZCUST 25.34 1013.60 (should be 1013.60 + 2.96)
Total price 25.34 1013.60
You can see the ZCUST is calculated incorrectly. The routine calculate zcust as $1170 and $1013.60 for each item which did not include the distribution amount of ZPP1 ($3.40 and $2.96).
When i debug the routine, the xkomv-kwert is zero. I am trying to get $3.40 and $2.96 so i can add to to zcust in the routine.
Am trying to determine in saplv61A at which include that i can see #3.40 and $2.96 for both line items in xkomv-kwert.
Then maybe i can modify the routine or saplv61A so it shows the correct zcust price after entering the 2 line items in the sales order create (VA01) ? Can you pls suggest ?
If i make the changes in USEREXIT_SAVE_DOCUMENT_PREPARE, then user cannot see the correct zcust until the order is saved. This would be too late to know the zcust price ahead of time.
Pls view in the Edit mode... i see my texts have been compressed.
Many thanks
Joyce
Edited by: Joyce Chan on Jul 9, 2009 10:24 PM
Edited by: Joyce Chan on Jul 9, 2009 10:25 PM -
Userexit at Billing Save to change condition value
Hi
My requirment to look for some userexit/enhancement etc. , which will work at the time of billing save (before passing to accounting) where i can change the condition values (KOMV-KWERT) at item level for particular condition type.
Regards/RakeshDear Rakesh,
Try with these User Exits
USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
EXIT_SAPLV60B_001: Change the header data in the structure acchd
You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
EXIT_SAPLV60B_002: Change the customer line ACCIT
You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
EXIT_SAPLV60B_003: Change the customer line in costing
The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
EXIT_SAPLV60B_005: User exit for accruals
Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
EXIT_SAPLV60B_006: Change the control line ACCIT
You can use exit 006 to add information to the control line.
EXIT_SAPLV60B_007: Change the installment plan
You can use exit 007 to add information to the installment plan
parameters in the GL account item.
EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
After the accounting document is filled in with data, you can use exit 008 to change the document once again.
EXIT_SAPLV60B_010: Item table for customer lines
You can use exit 10 to influence the contents of customer lines before they are created.
EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
You can use this exit to change inbound parameters in order to influence account determination.
I hope this will help you,
Regards,
Murali.
Maybe you are looking for
-
Mass unblocking of Vendor Invoices
Hi I posted three Vendor invoices in FB60. These document were blocked to payment (with payment block indicator). Now i want to remove the payment block simultaneously with for all the invoices. How can i do this. FBL1N --> Environment --> Mass Chan
-
I cant connect my n900 to wifi
plz all .. help me wth this problem .. i cant connect my device with wireless connection ...
-
How can we develop flex application as 64 bit application?
I develop a 32 bit application through flex and i want to convert as a 64 bit application. Is there any way to develop?
-
Insert current date, please?
I want a way to insert the current date in an Illustrator document. * Why? I use an Illustrator template for my letter stationery. I prefer using Illustrator rather than Microsoft Word. I submit artwork to printing houses. I like to date stamp work I
-
When I click "Run as current user" and continue , Nothings happening~
When I click "Run as current user" and continue , Nothings happening~