Print the conditions value in PO
hi ppl,
I want to print the conditions value in sap script.For this i need to start with the perform/form.so based on what value and table i call pull the data..
u need the table konv( conditions table ) by using ekko-knumv for that PO no.
once u get knumv field frm ekko u can compare this with field knumv of konv.
and based on this value the amount value wud be konv-kwert field.
Similar Messages
-
Printing of Condition value at both header and Item level
Dear Sap Gurus,
Please any body tell me how to print the condition value at both header and at item level in PO print out. ie. I am using RA00 at both item and header level and i want to print this value at both header and item level.
Thanks and Regards,
PatilHi,
Please check with abaper is he calling the function like mention below or not
CALL FUNCTION 'PRICING'
EXPORTING
calculation_type = 'B'
or (calculation types = as in condition type)
comm_head_i = komk
comm_item_i = komp
preliminary = ' '
no_calculation = ' '
IMPORTING
comm_head_e = komk
comm_item_e = komp
TABLES
tkomv = i_komv.
regards
Edited by: bvdv on Jul 8, 2009 7:35 PM -
How to query the condition value in VPRS
Hello all,
we provide the sales price to customers based on the condition value in "VPRS" ,because I have thousands of goods need the price,so I 'd like to make a query to extract the condition value in "VPRS".
which table is refer to this?
https://mnlylq.bay.livefilestore.com/y1mXNdIiY7VgiU1v3ymS71pxZluGxj4YNp4IFsyQEr1zkoxjm1VCsxpOgbBQ1-ucxiRtA9tC7O_3ZPaQa7qWKGbdnHNX8UzazWTlettENIO7iujggSx7vHjc2bvuIqhYFYb2DEgIjuNaJ5foKU_xF7wvA/%E5%9B%BE%E5%85%AD.jpg?psid
Thanks,
helaihi,
For your Item category, if you check DETERMINE COST
Determine cost
Indicates whether, during pricing, the system determines the cost (stock value) of a sales document item.
Use
The system checks the cost determination indicator as a requirement before applying the condition type that calculates the cost (condition type VPRS in the standard version of R/3 1.1)
Mainatin VPRS as D then it will automatically pull the price from Material master if maintained
IF VPRS is getting determined, then in your pricing procedure, you can add markup (multiplier) -
How to print the HEX values of non-displayable characters!
I am trying to tokenize a string that contains non-displayable characters i.e. EBCDIC or ASCII. How can I print the HEX values of the non-displayable characters. e.g.
"StartTEST1TEST2TEST3TEST4TEST5TEST6TEST7TEST812END"
How can print the HEX values of in the above string. Any help is appreciated.
Thankschar ch = 28; // or whatever character you want to look at.
String hexString = Integer.toHexString(ch);
System.out.println(hexString); -
How to print the table values in fastest way?
Dear Friends,
I'm having table in my application and i need to print the table values. For that I used print() method to print the table values.
boolean complete = tableObj.print(mode, header, footer, showPrintDialog, null, interactive,
null);But, the time taken for displaying print dialouge box so late and printing operation is done very slowly.
Could anyone please tell me is there any better way and fastest way to print the table values?
Thanks in advanceHi,
In the Module pool you will have fields. For those fields you have created the name also. Assign those name to work area and from there to internal table.
And for your requirement viceversa you need to done.
With Regards,
Sumodh.P -
Fm to change the condition value in sales order pricing
Hi Friends,
I need a FM to change the Pricing value that is auto calculated in the sales order. It needs to be overwritten. BAPI_SALESORDER_CHANGE I don't think will do it. It can be used only to update the condition type and the condition amount but not the condition value.
Can someone please help me. I've been stuck with this for quite sometime.
Thanks,
Dikshitha GTry these BAPI's
BAPI_LISTING_CONDITIONS,
BAPI_AGREEMENTS
Regards,
Rajasekhar Reddy. -
The Condition value formula is not found in CRM ???
Hello Al
l
We are working on CRM 7.0 , I canu2019t find the Condition Value Formula, Condition Base Formula and Condition u201Crequirementsu201D in the pricing procedures downloaded from the ECC also in the pricing procedures that are standard in the CRM
I donu2019t know what is the reason for that
Regards
Jacopo Françoisethe IPC should work to make them available
-
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. -
Problem changing the Condition Value in Po using BAPI_PO_CHANGE
Hi Experts,
My issue is BAPI_PO_CHANGE is not changing the Condition value. and giving message in bapi return as 'cannot be processed manually'.
Can anybody please help me on this.
Thanks & Regards,
SudheerCheck this link http://forums.sdn.sap.com/thread.jspa?threadID=652278
Regards, -
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 -
Which table stores the condition values of a purchase order line item?
Hi,
Please let me know the table that stores the condition values of purchase order line items(when we click on conditions tab after selecting an item then we can see the condition types and there is a corresponding condition value for that condition type.
My requirement is to get the actual price for a purchase order line item(it can be seen in the last line and it is calculated after considering all the condition types) and display this value in a custom report.
Thanks,
RavindraHi Ravindra
You can find the conditions data for PO in TAble KONV.
KONV-KSCH is the condition type
KONV-KWERT is the cond value
KONV-KNUMH is the condition doc no. which is there in EKKO field KNUMH.
So u have to make a link between KONV-KNUMH and EKKO-KNUMH.
Thanks
Vijeta -
Problem in printing the JTable values
Dear Friends,
I have to print the JTable values (on paper using print dialogue box).
I'm using jtableObj.print to print the table values. But jtableObj.print takes more time to print the table values because it prints the values as a image(approximately 5 mins to print 10 pages).
My code is ,
boolean complete = tableObj.print(mode, header, footer, showPrintDialog, null, interactive,
null);Could anyone please tell me how to reduce the time?
Thanks in advanceHi again,
1. what problem are u facing ?
(there is no sapscript symbol / system symbol
for finding out the length )
(In abap u can use strlen)
2. data and gets trimmed
what is the meaning of it ?
3. do u mean to say that !
ABCDEF 123 45
GEF 123 45
is getting pritned like
ABCDEF 123 45 ?
GEF 123 45
4. If so , then use TABS
5. This happens because SPACE
is different in different varlues of
ABCDEF and GEF !
regards,
amit m.
Message was edited by: Amit Mittal -
How to fetch the condition value per line item in PO o/p
Dear Experts ,
I need to fetch the value of the all valid condition types in the PO item , for its o/p .
For this i should know
1.what all are the condition types involved in the item .
2.what is the condition rate
3. what is the condition value .
Pleas etell me how do i fetch this data ??
Thanks in advance
Regards
AnisHi Anis,
At first collect the doc.condition-KNUMV from EKKO table.
Later enter the above doc.condition no in KONV and KONP to get the details.
Regards
Ramesh Ch -
Any changes in the condition value then system should trigger a mail.
Hello Experts,
I have below requirement
If user does any changes (increase the price /decrease the price) in the condition value then system should trigger a mail and goes for approval.
How i can achieve this ?
ThanksHi
In that case again you can use MV45AFZZ program and USEREXIT_PRICING_PREPARE_TKOMP. If this exit didnt work you can try in other save or prepare to save exits in this same program. For order statuses and authorization you can use status profile and control authorization through an authorization object. For email use email sending function and users will receive an email whenever some specific condition value is changed.
This will be ABAP coding in above mentioned program using implicit enhancement. There is no standard solution for this and you have to go for customization.
Thank$ -
How to select values frm table giving the condition value at runtime in SQL
Hi All,
How to select values from a table by giving the condition value at runtime in SQL
My SQL statement is select * from employee where empno=<empno>, this empno I want to provide at run time. Also I don't have any bind variables defined. Can anyone please tell how can I achieve this. Also do I have to write a SQL or pl/sql statement.Hi Roshni Shankar,
You can use substitution variable in case of SQL.
SQL> select * from employees where emplployee_id = &emp_id;
Enter value for emp_id: 100
old 1: select * from employees where emplployee_id = &emp_id
new 1: select * from employees where emplployee_id = 100If you want to put condition on varchar values then eighter provide values in single quotes or use single quote for substitution variable.
SQL> select * from employees where last_name = &emp_name;
Enter value for emp_name: 'King'
old 1: select * from employees where last_name = &emp_name
new 1: select * from employees where last_name = 'King'
no rows selected
SQL> select * from employees where last_name = '&e_name';
Enter value for e_name: King
old 1: select * from employees where last_name = '&e_name'
new 1: select * from employees where last_name = 'King'In case of pl/sql you can pass values to procedure and you can use those values at run time.
create or replace procedure test (p_emp_id number)
as
v_last_name varchar2(100);
begin
select last_name
into v_last_name
from employees
where employee_id = p_emp_id;
dbms_output.put_line(p_emp_id ||' -> '||v_last_name);
end;
show errors
SQL>exec test(100);
SQL>exec test(101);Edited by: Gaurav Bhide on Oct 29, 2012 4:07 AM
Maybe you are looking for
-
Possible Imminent Hard Drive Failure?
First off I have an Early 2011 MacBook Pro running OSX Mountain Lion. Avast version 7.0 is running as my anti-virus software with current definitions. I'm a network administration student so I run 2 or 3 virtual machines simultaneously to replicate
-
Abnormal heating after SMC update 1.8
Hey guys, yesterday I upgraded SMC firmware to version 1.8, but since then my Macbook Air never gets under 50 C. I was used for temperatures around 39 C when running only internet webpages, or viewing PDFs, but now I hardly get close to 50 C when doi
-
Translate this Software Update message for me?
I'm trying to update my Mac OS software. This is what appears: The update "Mac OS X Update Combined (PowerPC) can't be installed. The digital signature for this package is incorrect. The package may have been tampered with or corrupted since being si
-
Can't start Safari 4.0.4 in XP+SP2
Just downloaded and installed Safari 4.0.4 in XP+SP2. Safari can't start or it failed to launch. I tried to uninstall and install it again but it still didn't work. Anyone can help? Thanks a lot! "Safari has encountered a problem and needs to close"
-
Old with the old, in with the new
Looking to see if anyone has dealt with the SPA-2100 and if anyone has heard if the old Sipura piece will have SCCP available. We are in the mists of upgading our CCM4.1.3 to CCM5.0SIP but can really use the newer ATA's features working on the 4.1.3(