How to see planned expenditure/conditional value in PO along with Item rate
Hi
If I need to see a report similar to ME2L, ME2N which will give PO price & value along with planned expenditure/conditional value from purchase order, which transaction to be seen. ME2L will not give planned expenditure seperately.
Regards
Raghu Shetty
hi
there is no standard report which shows the expenditure/conditional value in po. you have to develop your customs report./
Similar Messages
-
How to see Planned Purchase Order in Buyer Work Center
Hello,
I need to see Planned Purchase Order
(created in Purchasing Super User(responsibility) => Purchase Order -> Purchase Order , Type (Planned Purchase Order))
in Buyer Work Centre.
I can see Standard Purchase Order in Buyer Work Center (under Orders Tab).
I can see Contract Purchase Agreement in Buyer Work Center (under Agreement Tab).
I can see Blanket Purchase Agreement in Buyer Work Center (under Agreement Tab).
But can not see Planned purchase Order in "Buyer Work Center".
Is this intentional ? If yes, then why.
if no, then where we can see Planned Purchase Order in HTML pages.
Thanks,
Vishal Garg
Mb: 9985803224
Email: [email protected]hi
there is no standard report which shows the expenditure/conditional value in po. you have to develop your customs report./ -
How can i get all these values in single row with comma separated?
I have a table "abxx" with column "absg" Number(3)
which is having following rows
absg
1
3
56
232
43
436
23
677
545
367
xxxxxx No of rows
How can i get all these values in single row with comma separated?
Like
output_absg
1,3,56,232,43,436,23,677,545,367,..,..,...............
Can you send the query Plz!These all will do the same
create or replace type string_agg_type as object
2 (
3 total varchar2(4000),
4
5 static function
6 ODCIAggregateInitialize(sctx IN OUT string_agg_type )
7 return number,
8
9 member function
10 ODCIAggregateIterate(self IN OUT string_agg_type ,
11 value IN varchar2 )
12 return number,
13
14 member function
15 ODCIAggregateTerminate(self IN string_agg_type,
16 returnValue OUT varchar2,
17 flags IN number)
18 return number,
19
20 member function
21 ODCIAggregateMerge(self IN OUT string_agg_type,
22 ctx2 IN string_agg_type)
23 return number
24 );
25 /
create or replace type body string_agg_type
2 is
3
4 static function ODCIAggregateInitialize(sctx IN OUT string_agg_type)
5 return number
6 is
7 begin
8 sctx := string_agg_type( null );
9 return ODCIConst.Success;
10 end;
11
12 member function ODCIAggregateIterate(self IN OUT string_agg_type,
13 value IN varchar2 )
14 return number
15 is
16 begin
17 self.total := self.total || ',' || value;
18 return ODCIConst.Success;
19 end;
20
21 member function ODCIAggregateTerminate(self IN string_agg_type,
22 returnValue OUT varchar2,
23 flags IN number)
24 return number
25 is
26 begin
27 returnValue := ltrim(self.total,',');
28 return ODCIConst.Success;
29 end;
30
31 member function ODCIAggregateMerge(self IN OUT string_agg_type,
32 ctx2 IN string_agg_type)
33 return number
34 is
35 begin
36 self.total := self.total || ctx2.total;
37 return ODCIConst.Success;
38 end;
39
40
41 end;
42 /
Type body created.
[email protected]>
[email protected]> CREATE or replace
2 FUNCTION stragg(input varchar2 )
3 RETURN varchar2
4 PARALLEL_ENABLE AGGREGATE USING string_agg_type;
5 /
CREATE OR REPLACE FUNCTION get_employees (p_deptno in emp.deptno%TYPE)
RETURN VARCHAR2
IS
l_text VARCHAR2(32767) := NULL;
BEGIN
FOR cur_rec IN (SELECT ename FROM emp WHERE deptno = p_deptno) LOOP
l_text := l_text || ',' || cur_rec.ename;
END LOOP;
RETURN LTRIM(l_text, ',');
END;
SHOW ERRORS
The function can then be incorporated into a query as follows.
COLUMN employees FORMAT A50
SELECT deptno,
get_employees(deptno) AS employees
FROM emp
GROUP by deptno;
###########################################3
SELECT SUBSTR(STR,2) FROM
(SELECT SYS_CONNECT_BY_PATH(n,',')
STR ,LENGTH(SYS_CONNECT_BY_PATH(n,',')) LN
FROM
SELECT N,rownum rn from t )
CONNECT BY rn = PRIOR RN+1
ORDER BY LN desc )
WHERE ROWNUM=1
declare
str varchar2(32767);
begin
for i in (select sal from emp) loop
str:= str || i.sal ||',' ;
end loop;
dbms_output.put_line(str);
end;
COLUMN employees FORMAT A50
SELECT e.deptno,
get_employees(e.deptno) AS employees
FROM (SELECT DISTINCT deptno
FROM emp) e;
DEPTNO EMPLOYEES
10 CLARK,KING,MILLER
20 SMITH,JONES,SCOTT,ADAMS,FORD
30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES
CREATE OR REPLACE FUNCTION concatenate_list (p_cursor IN SYS_REFCURSOR)
RETURN VARCHAR2
IS
l_return VARCHAR2(32767);
l_temp VARCHAR2(32767);
BEGIN
LOOP
FETCH p_cursor
INTO l_temp;
EXIT WHEN p_cursor%NOTFOUND;
l_return := l_return || ',' || l_temp;
END LOOP;
RETURN LTRIM(l_return, ',');
END;
COLUMN employees FORMAT A50
SELECT e1.deptno,
concatenate_list(CURSOR(SELECT e2.ename FROM emp e2 WHERE e2.deptno = e1.deptno)) employees
FROM emp e1
GROUP BY e1.deptno;
DEPTNO EMPLOYEES
10 CLARK,KING,MILLER
20 SMITH,JONES,SCOTT,ADAMS,FORD
30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES
CREATE OR REPLACE TYPE t_string_agg AS OBJECT
g_string VARCHAR2(32767),
STATIC FUNCTION ODCIAggregateInitialize(sctx IN OUT t_string_agg)
RETURN NUMBER,
MEMBER FUNCTION ODCIAggregateIterate(self IN OUT t_string_agg,
value IN VARCHAR2 )
RETURN NUMBER,
MEMBER FUNCTION ODCIAggregateTerminate(self IN t_string_agg,
returnValue OUT VARCHAR2,
flags IN NUMBER)
RETURN NUMBER,
MEMBER FUNCTION ODCIAggregateMerge(self IN OUT t_string_agg,
ctx2 IN t_string_agg)
RETURN NUMBER
SHOW ERRORS
CREATE OR REPLACE TYPE BODY t_string_agg IS
STATIC FUNCTION ODCIAggregateInitialize(sctx IN OUT t_string_agg)
RETURN NUMBER IS
BEGIN
sctx := t_string_agg(NULL);
RETURN ODCIConst.Success;
END;
MEMBER FUNCTION ODCIAggregateIterate(self IN OUT t_string_agg,
value IN VARCHAR2 )
RETURN NUMBER IS
BEGIN
SELF.g_string := self.g_string || ',' || value;
RETURN ODCIConst.Success;
END;
MEMBER FUNCTION ODCIAggregateTerminate(self IN t_string_agg,
returnValue OUT VARCHAR2,
flags IN NUMBER)
RETURN NUMBER IS
BEGIN
returnValue := RTRIM(LTRIM(SELF.g_string, ','), ',');
RETURN ODCIConst.Success;
END;
MEMBER FUNCTION ODCIAggregateMerge(self IN OUT t_string_agg,
ctx2 IN t_string_agg)
RETURN NUMBER IS
BEGIN
SELF.g_string := SELF.g_string || ',' || ctx2.g_string;
RETURN ODCIConst.Success;
END;
END;
SHOW ERRORS
CREATE OR REPLACE FUNCTION string_agg (p_input VARCHAR2)
RETURN VARCHAR2
PARALLEL_ENABLE AGGREGATE USING t_string_agg;
/ -
How to see work flow log from Work flow number & work item?
Hi SDN,
How to see work flow log from Work flow number & work item?
Please let me know if there is any transaction for this?
Or there is any table which gives the details of Work items & work flow numbers?
Regards,
Rahul
Edited by: Rahul Wagh on Nov 12, 2008 5:56 PMHi Rahul
Go to the Transaction SWI1,
Enter the workitem no and press F8.
Select the required entry and Press Shift+F8 (Log Button)
to view the workflow log.
Best Regards,
Deepa Kulkarni -
How to manual maintain TAX condition value while creating sales order
Hi
I am creating one Tax condition suppose JLST without access sequence .
while creating sales order I am manually maintain the % value of TAX. suppose it is 1%
then I see It show some value in TAX .
save that sales order & creating delivery document for that but when I create Invoice its show error.
" Tax code in procedure CMTAXP is invalid ".
I know the configuration only for Tax condition with vk11 condition record .
BUT now I want to maintain TAX condition at the time of creating sales order.
so I remove the access sequence of that condition .
but It shows tax code error while billing.
My main question is that If i maintain condition record while creating sales order then how i can assign Tax code .
Can it is possible ?
if yes then How?
please help me.
thank youHi,
The "straight-forward" answer for Tax Code creation is contact the FI consultant. He shall help you, by creating Tax codes.
I have tested, with creating a tax cond type (copy of MWST) & manually entering values. I can create Sorder, Dlv and Bill but I cannot create an Accounting document. That is because of every line (amount) a Tax code is necessary.
I THINK, you can NOT have manually filled tax codes; access sequence is needed to get the tax value (%) and the Tax code from the condition record.
There is lot of material on the web to understand Tax classification, code etc. etc. See a useful link below -
http://www.sapgeek.net/2010/04/sd-determines-tax-code/
In short Tax code is a must and take the help of your FI consultant for the configuration of the same.
BTW - Tax code is already made created for MWST, therefore I suggested that you can use MWST. Furthermore, you can change the values corresponding to Tax codes in FTXP.
But if you are a beginner in these things, better take help. -
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 -
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. -
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 -
Header Freight Condition Value to be Spread at Item Level
Dear All,
There is an issue i am facing.
We have a freight condition (header level) in a Stock Transport Order
There are say 6 line items in the STO. The functional requirement is that the Header Freight Condition Value has to be inventorised on the line items in ratio of their value. Also the header freight amount should get spread only on specific line items ( say of a particular material type )
Please help me with this issue.
Regards,
Adams PDear RamShiva,
I think below forum document will resolve your issue.
http://scn.sap.com/docs/DOC-43356
Regards,
Haresh Panara -
VPRS has condition value 0 in Returns Order item
Hi Experts,
Our customer created a returns order refer to F2 invoice, but in returns order its VPRS has condition value 0. It caused accouting document error in Credit for Returns. There was no cost related accouting posted.
Our Credit for Returns is order-ralated.
But when we update the pricing in returns order item, VPRS has the right value.
Any advice will be appreciated.
Thank you in advance.
RichardIn addition to the suggestions already given, you may also have a look at the following notes which may help you.
1) Note 27062 - VPRS: deliv-related billing document for returns
2) Note 615432 - No cost with non-valuated goods receipts
3) Note 672681 - VPRS calculation in RK document
thanks
G. Lakshmipathi -
Tax condition value not getting posted with retroactive billing
Hi All
Due to price reduction from previous date, I am processing retro billing for billing documents. For target credit memo to be created, i have maintained the pricing procedure with condition type PDIF. Now when i create the credit memo with tcode VFRB, it only considers pr00 condition value for posting the difference with PDIF. Tax condition value is not being considered here.
Are there any other changes required to make in pricing procedure?
Please let me know the method to fix the same.
Thanks
Deepak MehmiHello
For this I can think of one solution, where
1. you have to create a new pricing pricing for retroactive billing.
2. in that pricing procedure don't assign any account key to base price condition type, where as maintain a revenue account key for PDIF condition type.
3. calculated tax condition types based on PDIF instead of base price condition type, do have relevant account keys for account determination of those tax condition types.
I hope this can assist you.
Thanks & Regards
JP -
How to read the content of a blob col along with other cols as pipe delimit
Hi,
I would like to read the blob content along with the other columns . Assume table TAB1 has columns Response_log, Empcode and Ename. Here Response_log col is a blob data type, and the content of the blob is an xml file.Now i would like to read the content of the xml file of response_log column along with Empcode and Ename as pipe delimited . or else the best option would be to write to a text file with name extract.txt with the data being pipe delimited .
create table tab1(
response_log blob,
empcode number,
ename varchar2(50 byte)
)Sample code goes something like the one below .
select xmltype( response_log, nls_charset_id( 'char_cs' ) ).getclobval() || '|' || empcode || '|' || ename
from tab1 Can I have any other alternate way for this.
Please adviceJust Now one example is given in HOW TO WRITE ,SAVE A FILE IN BLOB COLUMN
-
How do i add a an editable text area along with a basic shape?
hiee
Thank u guys for replying to my previous query.I got the solution.
Now ,my problem is, whenever i am drawing a new shape on the panel i want to add an editable text area along with the shape so that the shape can be given a userdefined name(something like Rational Ross).
I am using g.drawString() but with that i can only add a static string.
How can i add a JTextField or JTextArea along with the shape??
Thanking u guys in advance.
anvesha.It is considered standard procedure to acknowledge people's replies in the corresponding thread.
As for your current problem, you'll have to make sure that the component you're subclassing is at least a Container. A JPanel could be a good pick. Set the layoutManager to null. Add your JTextField to your JPanel and use myTextField.setBounds(x, y, width, height) to place it whereever you want. -
How to reconcile 2 lightroom catalogs in separate locations along with images and metadata?
I split my time between two locations where I need access to all of my images and lightroom catalog... I've been trying to keep everything in sync by transporting new images on hard drives, exporting new updates to a "migration" catalog and then importing that along with the images when I travel back to the other location. This works as long a I don't get lazy, or in a hurry... which I have, of course and now I need to get everything back in order--as best as can be expected.
What would be the best way to do this? I need to migrate changes in both directions... If it was just location A to B, or B to A, then that's not much of a problem. unfortunately, i need to reconcile changes from A to B and B to A...
I learned my lesson, but I still need to resolve this mess.
Any tips appreciated.
Thanks.
kbTry using the keyer and see if you can pull the blown sky. You should be able to get something acceptable,
-
How to see planned orders for P3 mrp type products in APO?
Dear experts,
I have materials with P3 MRP type (not planned in APO but in R/3 using MRP)
I have active integration models with P3 and X0 mrp type products for planned orders
however I can not see in APO product view the planned orders for P3 materials,
is this normal or should I see those planned orders in APO?
Thanks for your answer,
best regards
ElynnHi,
The following prerequisites must be met so that planned orders can be transferred from SAP R/3 to SAP APO
and vice versa:
1.The material masters must be transferred to SAP APO.
2. PPMs must exist for planning in SAP APO.
3. The relevant integration models must be active.
4. An active integration model for planned orders must exist in SAP R/3.
5.An active integration model must also exist for materials, so that the components of the planned order are transferred.
6.The relevant distribution definitions must be maintained in SAP APO, so that planning results can be
transferred from SAP APO to SAP R/3.
Thanks,
nandha
Maybe you are looking for
-
HT4075 I tried the steps mentioned above but the changes are not being saved.
I am not able to edit or merge PDF files. I followed the steps mentioned in the Mac support community but the changes are not being saved. Any solution to this?
-
How do I get past the login screen to pair my new wireless keyboard and trackpad when the old ones are water damaged and don't work
-
Wireless problem on officejet6500
i, just move, new router , trying to connect but freeze when i try , after that nothing work, i have to cut power
-
Hi All, thanx for all efforts being made by the mates here i'm distributing a CD rom with an AW exe file in it. The exe file contains several shockwave files(dcr). when i run the project file(exe file), shockwave files don't work. i guess this happen
-
Question about the new Yoga 10 HD+
Hi A few questions about the new Yoga 10 HD+ which I hope you can answer. I bought the old model last year. Loved the design and long battery time but a few major issues made me return it. Somewhere I read that it can't read NTFS over USB so I presum