Addition of result column in SRM 7.0 POWL Report "Contracts for Supplier"
Hi,
We are on SAP SRM 7.0 SP08. There are two POWL reports associated with contracts i.e. "Contract for Supplier" and "Contract for Product". We want to add two fields/columns to the report (Payment Type and Responsible Employee).
As per SAP standards, we appended two structures /SAPSRM/S_SEARCH_RESULT_CTR and /SAPSRM/S_POWL_RESULT_CTR. Feeder type "/SAPSRM/SRM_CTR_H_01" assigned to this report is not maintained in t-code /SAPSRM/POWL_CUST.
Fields are still not displayed as column in the report. Please suggest.
Thanks
Hi Mudit,
Thanks a lot for reply.
I have done the same but getting below error:-
Mon Aug 22 14:46:22 GMT+05:30 2011 Importing a CSV file.
Mon Aug 22 14:46:22 GMT+05:30 2011 ..Inserting CSV data from file rtimport_29769.csv
Mon Aug 22 14:46:48 GMT+05:30 2011 ......Record 1. Warning: Warning: the item sc0001 referenced in column CONTACT could not be found
Mon Aug 22 14:46:48 GMT+05:30 2011 ....Import failed for object number 1. This field is required and must have a valid value. [CONTACT].
Mon Aug 22 14:46:48 GMT+05:30 2011 ..Complete. 0 ok. 1 failed.
Mon Aug 22 14:46:48 GMT+05:30 2011 ..Importing a CSV file. 0 ok. 1 failed. File rtimport_29769.csv
Mon Aug 22 14:46:48 GMT+05:30 2011 Error during action failed to import data, 1 error(s).
If I am understood correct, you have asked to use User ID of Supplier contact which i have taken from theSupplier Contact-> Account management ->Used ID field under directory inofrmation.
I have dounloaded Masteragreement template and tried load the workbook with the data, same error is coming.
Thanks,
Deepak!!!
Edited by: Deepak Arora on Aug 22, 2011 11:28 AM
Similar Messages
-
Addition of New column to Vendor Overview on Shopping cart Source of supply
Hi All,
I have a requirement where I need to display Contract description,price in Vendor overview table of Shopping cart Source of Supply.
Currently I can see the Name ,Vendor , Contract Item, Pur.Info Record, In Vendor List , but I also have to show the Contract Description and Price..
Can anyone suggest how to handle this.
Thanks in Advance.
NeelimaHi Neelima,
Please investigate the use of customer fields for meeting this requirement.
Regards
Azad -
How to convert colon separated column values in multiple rows in report
Hi All,
I want to display colon separated values from a column, in a multi row in report.
For example i have a column1 in a table with value 'A:B:C' , column2 has value '1'.
i want to show in a report three rows using these two columns like
column1 column2
A 1
B 1
C 1Here's one way:
SQL> create table test (col1 varchar2(20), col2 number);
Table created.
SQL> insert all
2 into test values ('A:B:C', 1)
3 into test values ('Dg:Ezs', 2)
4 select * from dual;
2 rows created.
SQL> select
2 t.col2,
3 regexp_substr(t.col1, '\w+', 1, t2.column_value) c1
4 from test t,
5 table(cast(multiset(select level
6 from dual
7 connect by level <= length(t.col1) - length(replace(t.col1, ':', '')) + 1
8 ) as sys.odcinumberlist )) t2
9 order by 2, 1;
COL2 C1
1 A
1 B
1 C
2 Dg
2 Ezs
SQL>Edited by: Littlefoot on Jan 31, 2012 10:13 AM -
How to do addition of two columns cells in Matrix.
Hi All,
I tried following code on LostFocus event of Mtrix. I want to do addition of two columns cells of matrix and addtion display in third column. I tried the following code but in this I am getting the column value and when i enterd any value in columns cells it disappear when i move to next column cells.
Can anybody suggest me how to do it ?
Dim i As Integer
Dim v1, v2 As String
matrix.Columns.Item("V_4").DataBind.SetBound(True, "", "matrixds")
If pVal.ColUID = "V_4" Then
For i = 0 To matrix.RowCount - 1
v1 = matrix.Columns.Item("V_5").Cells.Item(i + 1).Specific.Value
v2 = matrix.Columns.Item("V_4").Cells.Item(i + 1).Specific.Value
Dim v3 As Integer = CInt(v1) + CInt(v2)
matrix.Columns.Item("V_3").Cells.Item(i + 1).Specific.Value = v3.ToString()
Next
End If
Thanks and Regards,Hi,
u bind all the columns to the datasource in the matrix.then the value does not disappear.
Change ur code as follows:
Use the databind in formload
matrix.Columns.Item("V_4").DataBind.SetBound(True, "", "matrixds1")
matrix.Columns.Item("V_5").DataBind.SetBound(True, "", "matrixds2")
matrix.Columns.Item("V_3").DataBind.SetBound(True, "", "matrixds3")
Dim v1, v2 As sapbouicom.edittext
If pVal.ColUID = "V_4" Then
v1 = matrix.Columns.Item("V_5").Cells.Item(pVal.row).Specific
v2 = matrix.Columns.Item("V_4").Cells.Item(pVal.row).Specific
v3= matrix.Columns.Item("V_3").Cells.Item(pVal.row).Specific
v3.Value = v1 .Value + v2.Value
End If
Kind Regards
Mohana -
Overall Result column disapears when dragging in free characteristic
Hello All,
I have a headcount report which has % colleague key figure. At the top of the report there is an 'Overall result'. The issue I am having is when someone drags in a free characteristic the 'Overal result' column disapears and instead and percent calculations are being calculated by the value in the top column instead of by the overall result.
Any ideas on how to resolve this?
Thanks,
Nick.Hi,
I'm not selecting the node of the hierarchy.In selection criteria I select the entire hierarchy .
Thanks & Regards
Anita -
Horizontal and Vertical Results Columns
Hi Experts,
Is it possible to set the horizontal results columns as first value/last value/count and the vertical results as summation? How can I do that in my query? Any help is greatly appreciated. Thanks.Hi,
Below are the result options available. Beyond that I bellieve its not possible in a simple query.
· Results position
This is where you determine where the result is displayed.
- Bottom (for rows) right (for columns) (=default setting)
- Bottom (for rows) left (for columns)
- Top (for rows) right (for columns)
- Top (for rows) left (for columns)
Hope this helps you......... -
Calculation based on two result columns in combined report
Hi all - I have a combined analysis and I need to add a result column based on two of my result columns. The calculation involves one column from my first report and one column from my second report.
The first report has # of opportunities and my second report has a number of booked opportunities. I have to have two separate reports because these two columns need to be filtered on different dates. In my result column, I want to add a column that gives me close % which is # of booked opps/# of opps. I am using the SAW references but it is not working right. I have tried the following calculations:
(SUM(SAW_9 BY SAW_1) / SUM(SAW_7 BY SAW_1))*100 This gives me 100% in any row that is 1 opp to 1 booked opp. But gives me 0 in all the other fields even if it is 2 opps to 1 booked opp.
(MAX(SAW_9 BY SAW_1) / MAX(SAW_7 BY SAW_1))*100 This shows 100% for every row that has a number in the opp and booked opp columns. Even shows 100% if it is 2 opps to 1 booked opp which should be 50%.
Any ideas on what formula I need to use to get the right calculation?
Thanks!
LaceyLacey,
(SUM(SAW_9 BY SAW_1) / SUM(SAW_7 BY SAW_1))*100 is the correct formula so the only thing I can think of is do you have the correct columns selected?
SAW_9 is column 10 and SAW_1 is column 2?
and I think the aggregation rule needs to be sum as well.
Good Luck
Alex
PS thanks to Mike Lairson for putting this solution in his book as it got me working. -
Query block has incorrect number of result columns
can anyone edit my query to eliminate below error ??
SELECT FLROOPENHEAD.RONBR RepairOrder,FLROOPENHEAD.DATEOPENED DateOpened,NULL DateClosed,
(SELECT FLREPAIRSTAT.DESCRIPTION FROM FLREPAIRSTAT
WHERE FLREPAIRSTAT.REPAIRSTATID = FLROOPENHEAD.REPAIRSTATID) RepairOrderStatus,
(SELECT flrt.DESCRIPTION FROM FLREPAIRTYPE flrt
WHERE flrt.REPAIRTYPEID = FLROOPENHEAD.REPAIRTYPEID) RepairType, FLROOPENHEAD.REPAIRCENTER RepairCenter,
FLROOPENHEAD.FLVEHICLEID , FLROOPENHEAD.FLATTACHID,'O'
FROM FLROOPENHEAD WHERE FLROOPENHEAD.LDEVNBR =2334
AND ((extract(DAY FROM SYSTIMESTAMP - TIMEOPENED)*24)+(extract(HOUR FROM SYSTIMESTAMP - TIMEOPENED)) <= 72)
UNION
SELECT FLROHISTHEAD.RONBR RepairOrder,FLROHISTHEAD.DATEOPENED DateOpened, null, FLROHISTHEAD.DATECLOSED DateClosed,
(SELECT FLREPAIRSTAT.DESCRIPTION FROM FLREPAIRSTAT
WHERE FLREPAIRSTAT.REPAIRSTATID =FLROHISTHEAD.REPAIRSTATID) RepairOrderStatus,
(SELECT flrt.DESCRIPTION FROM FLREPAIRTYPE flrt
WHERE flrt.REPAIRTYPEID = FLROHISTHEAD.REPAIRTYPEID) RepairType, FLROHISTHEAD.REPAIRCENTER RepairCenter
from FLROHISTHEAD WHERE FLROHISTHEAD.LDEVNBR =2334
AND ((extract(DAY FROM SYSTIMESTAMP - FLROHISTHEAD.TIMECLOSED)*24) + (extract(HOUR FROM SYSTIMESTAMP - FLROHISTHEAD.TIMECLOSED)) <= 72)
ORDER BY DateOpened, RepairOrder
i think error was at second Where condition.
Error at Command Line:1 Column:0
Error report:
SQL Error: ORA-01789: query block has incorrect number of result columns
01789. 00000 - "query block has incorrect number of result columns"
*Cause:
*Action:Hi,
On comparison with 1st query and 2nd query,it can be easily noticed that ,1st query is returning 4 columns and 2nd query returns 5 columns in select clause.
In order to work union ,both of your queries should select equal no of columns.
Hence replace your query
Original query(1st ) :
SELECT FLROOPENHEAD.RONBR RepairOrder,FLROOPENHEAD.DATEOPENED DateOpened,NULL DateClosed,
(SELECT FLREPAIRSTAT.DESCRIPTION FROM FLREPAIRSTAT
WHERE FLREPAIRSTAT.REPAIRSTATID = FLROOPENHEAD.REPAIRSTATID) RepairOrderStatus,
....Relplace with :
SELECT FLROOPENHEAD.RONBR RepairOrder,FLROOPENHEAD.DATEOPENED DateOpened,NULL,/*Here you need missed the comma */
DateClosed,
(SELECT FLREPAIRSTAT.DESCRIPTION FROM FLREPAIRSTAT
WHERE FLREPAIRSTAT.REPAIRSTATID = FLROOPENHEAD.REPAIRSTATID) RepairOrderStatus,
....Hope this helps
Regards,
Achyut -
Hiya,
I have a report which is based on results column. Within in this report I have used one column as prompted. However, it appears prompted does not work as my report returns everything and not what has been prompted.
Is it something I have done wrong or is it simply that you cannot prompt on results column?
ThanksWell, yeah, it's faster to use the number so you avoid the fraction of a microsecond it takes to look up the name in a hashmap or whatever the driver uses. But to use that as a justification for using the number and not the name would be totally out of proportion.
-
Enhancing SoCo Result list in SRM 7.0
Hi all,
I have enhanced WebDynpro Component
/SAPSRM/WDC_DO_SOCO_GAF_1
View
V_AO_SOCO_GAF_1
I have included all my SC customer fields within the result table by enhancing the context node
SEARCH-RESULT_FIELDS
All customer fields ar declared as CHAR fields.
Result:
Customer fields are shown within Sourcing Cockpit result list --> everything fine so far.
Problem:
I can not sort the customer table columns.
I have entered sortable within layout but when I hit the sort button
for a customer column --> othing happens?
The lines are not sorted out.
For example
Product Number FreeText(Customer Field)
A123 ZXY
A234 ABC
When I hit the sort function on my customer column the sorting stays the same?!
For every other column (SAP Standard fields) it works without any problem?!
Do I have to enhance another context node as well to make my columsn sortable?
Thanks and regards
AndreasEnhancement within Action ON_SORT_TABLE
-
Which field denotes result column of Qe01 tcode in below bapi
Bapi Name: BAPI_INSPOPER_RECORDRESULTS
Hi can anyone help me finding out the field which actually denotes the result column (Summarized Results or Single Results )
from QE01 TCODE in BAPI: BAPI_INSPOPER_RECORDRESULTS .Use SINGLE_RESULTS to write the result value
Refer
http://wiki.sdn.sap.com/wiki/display/Snippets/Sample%20Code%20BAPI_INSPOPER_RECORDRESULTS?bc=true
Also
Example in ; BAPI_INSPOPER_RECORDRESULTS, Record Insp Lot Results -
Transform Result-Rows into Result-Columns
Hello,
I'm looking for a method to display part of the result of a query not in rows but intstead into columns.
What do I have are two tables (object and parts) and each object can have 1 or 10 or probably 50 parts. When I do the following
select o.sysob, o.number, o.name, p.number form part p, object o where p.sysob = o.sysob
I get all information in rows underneath. What I'm looking for is a way to get all the p.number results into columns beside the object information in one row for each object.
Hopefully someone has got a clue what I need.
Thanks
Carstenfirst problem: I'm using Oracle 9i and 10g, so PIVOT
is not availableTrue, the PIVOT functionality is only available from 11g but, if you had searched correctly, you would have found plenty of examples of how to pivot data using 9i and 10g.
second problem: crosstable with an unknown number of
results to bring into columns doesn't make it as easy
as in the examples shown.So you are saying that you will have a dynamic number of columns in the result set? The only way I know to achieve this is shown here:
How to pipeline a function with a dynamic number of columns? -
PO Screen Layout change, Addition of one column in Item Overview screen!
Hi All,
I have one typical requirement where in user wants to add one column in the Item overview screen, example "Reason for ordering" which is there in Item Detail under Retail Tab!
Can anyone suggest, How can i get this done? and also i want to know if there is any possibility to add this field at header level??
please let me know if i'm not clear in describing the issue...
Suggestion and solutions would be rewarded & appreciated,
Thanks in Advance..
Regards,
Siddaramhi,
Check sap note 458591..
Regards
Priyanka.P -
Hello,
I am migrating an application from APEX 3 to APEX 4.2 on one thing I notice with the classic reports when I bring them into Template 23 is that the first break section has the break row display below the column headers for that section while the remaining rows correctly have it display above the headers on subsequent group sections.
When I look a the code in firebug I can seen that the all tables but the first, the break row is being included as the last row of the previous table so I can see how this would not work for the break since.
I have tow questions.
1. Is this really intentional because it doesn't seem terribly elegant and my users zeroed in on it right away as a perceived bug.
2. Is there a reasonable work around that still uses Repeat Headings on Break? I have multiple reports on the same page in places so changing over to interactive reports is not a silver bullet for me in this case.
Example of issue can be seen at apex.oracle.com at Home
Thanks,
BradRoadling wrote:
Hello,
I am migrating an application from APEX 3 to APEX 4.2 on one thing I notice with the classic reports when I bring them into Template 23 is that the first break section has the break row display below the column headers for that section while the remaining rows correctly have it display above the headers on subsequent group sections.
1. Is this really intentional because it doesn't seem terribly elegant and my users zeroed in on it right away as a perceived bug.
The Standard report template definition in theme 23 contains thead and tbody elements:
Before Column Heading
<thead>
Column Heading Template
<th #ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>
After Column Heading
</thead>
<tbody>
After Rows
</tbody>
</table>
</td>
</tr>
</tbody>
<tbody class="uReportPagination">
#PAGINATION#
</tbody>
</table>
<div class="uReportDownloadLinks">#EXTERNAL_LINK##CSV_LINK#</div>
This is intentional, following best practice for marking up HTML tables. What is not intended is the problem that arises when this template is used with the Repeat Headings on Break break formatting option. The repeated headings result in the table consisting of tag soup containing multiple incorrectly constructed tbody and thead elements, which is invalid.
2. Is there a reasonable work around that still uses Repeat Headings on Break? I have multiple reports on the same page in places so changing over to interactive reports is not a silver bullet for me in this case.
Create a copy of the Standard report template as Standard (break formatting) for use with break reports, remove the thead and tbody tags from the template definitions, and change the break reports to use the new template. (Or, if you primarily have break reports using the Standard template, keep the tags in the copy and remove them from the original to minimize the number of reports you have to edit.)
Personally I'd create a custom row report template for complex break reports in order to be able to have complete control over the structure and presentation. -
Excel o/p in Reports 9i-additional report header for every row
Dear All,
Is there any way to generate an Excel file output from OracleReports9i.Actually I have tried the simple report.
I am able to create a delimited output.But the prob is it contains an additional report header for every row of the report and this is very strange.Its coming like that
Empno Ename Job 7566 JONES MANAGER
Empno Ename Job 7902 FORD ANALYST
I need the Xls o/p like that
Empno Ename Job
7566 JONES MANAGER
7902 FORD ANALYST
8877 JAMES SALES
my Environment oracle9i developersuite /forms9i/reports9i
I have given DESFORMAT = DELIMITED
MODE = CHARACTER
I am able to generate the reports in html/HTMLCSSIE/HTMLCSS/PDF/RTF
Only delimited is giving problem
What should i do to resolve this issue. Please help me it is very very urgent for me.
Thanks in advance
Pavendhan.NI had the same problem and this is what I did, works great. You have the total control.
function BeforeReport return boolean is
fp text_io.file_type;
begin
-- creating a file name
:CP_filename := 'C:\Gap'||to_char(sysdate,'MMDDYYHHMISS')||'.csv';
-- Opening the file in write mode
fp := text_io.fopen(:CP_filename,'w');
-- writing the column headings into the file
text_io.put_line(fp,'"Platform","Sys#","GapType",');
text_io.fclose(fp);
return (TRUE);
end;
and then where ever it is suitable, depending on the requirement, write into file by opening it in the append mode.
function R_G_systemplatformFormatTrigge return boolean is
fp text_io.file_type;
begin
-- srw.message(99,:dname);
fp := text_io.fopen(:CP_filename,'a');
text_io.put(fp,'"' || :systemplatform || '",');
text_io.put(fp,'"' || to_char(:sysno) || '",');
text_io.put_line(fp,'"' || :CF_gaptype || '",');
text_io.fclose(fp);
return (TRUE);
end;
This works great. Hope this helps.
Maybe you are looking for
-
Making a Quick Time for Export needs no rendering?
Is it true that when you Export a Sequence as a Quick Time you don't need to render, that it renders itself? That's what someone told me. That would save me hours of lost time! Thank you in advance.
-
Somebody please help me with a link to a YouTube video downloader for iPod 4g
-
ITMS - 90209 Invalid Segment Alignment
I've updated XCode and still get this same error. I've installed adobe air 17 beta and adobe air SDK too. Does anyone know how to get rid of this error?
-
My iPhone 4 Suddenly Crashes Down as if the battery is empty .. when i try to open it he tells me to recharge .. i connect the phone to the recharger and it does Open .. but when i open it i check the battery i see that it wasn't Empty From the beggi
-
HT201485 why do I have to enter my Apple ID and Password several times each time I launch iTunes
Why do I have to enter my Apple ID and password several times to enable automatic downloads each time I launch iTunes? I get no password errors. I've also notice that some secure websites, e.g., banks, tell me each time I log on to them that they do