Add Column in BIdder POWL
Hi Experts ,
I want to add an additional column to the result table of Bidder POWL . And I have to populate data into that .I am new to POWL . So Pls let me know the steps to be followed to do this and in the same way i have to add one field in selection criteria and based upon that we should get values .
Thanks ,
Sandeep
Hi Saravanan,
Thanks for providing step by step detail. Just implemented the same for RoS Supplier.
I guess u have just missed below at point 3.
3. afterwards you need to enhance the GET_FIELD_CATALOG method and populate the new attributes in the C_FIELDCAT internal table & mt_fieldcat attribute.
Hope this ll help others.
Regards
Devraj
Similar Messages
-
Add Columns to SNC - Order Forecast Details(Supplier) screen
Dear All,
I need to add two more columns in SNC - Order Forecast Details(Supplier) screen.
I found many help to add key Figure to the screen, but need to add columns between Key Figure and Initial column.
Request help for same.
Thanks and Regards,
NitinHi all,
If some one want to add columns in SNC 7.1 screens,than following can help.
SNC 7.1 screens has been developed using POWL ( Reusable component of ABAP WD ).
In POWL there is a feeder class implementation . In feeder class ,there would be one method as 'Catalogue...".
You can add column there & than in the main method of feeder class you have to provide data source for this
new column. It is the general approach that can be used in any screen in SNC 7.1.
Regards
Rahul -
To add column in an alv of FITV_POWL_TRIPS component
Hi all
I have a requirement to add column to an alv which is in FITV_POWL_TRIPS.Now the prob is that in that component we r using another compent SALV_WD_TABLE from which alv is taken.This what I understood
fitv_powl_trip
powl_ui_comp- <-getting tabstrips
powl_table_comp-<-getting refresh link
salv_wd_table- <- getting table
As far as I understood I think I have to find the comtext binded to DATA of SALV_WD_TABLE .Im not able to get it.If anyone has previous experience with this pls share
Edited by: m.reeha verma on Apr 30, 2009 6:15 AMHello Reeha,
Could you please share the solution for this ?
Thanks in Advance.
Thanks,
Prakhar -
How to add column dynamically based on user input in oracle?
**how to add column dynamically based on user input in oracle?**
I am generating monthly report based on from_date to to_date below is my requirement sample table
EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE | 01-OCT-12 | 02-OCT-12 | 03-OCT-12
100001.............John...........02-OCT-12...............6
100002.............chris...........01-OCT-12...............4
Based on user input, that is, if user need the report from 01-OCT-12 TO 03-OCT-12, i need to add that dates as column in my table, like 01-OCT-12 | 02-OCT-12 | 03-OCT-12....
below is my code
create or replace
procedure MONTHLY_LVE_NEW_REPORT_demo
L_BUSINESS_UNIT IN SSHRMS_LEAVE_REQUEST_TRN.BUSINESS_UNIT%TYPE,
--L_LEAVE_TYPE_CODE IN SSHRMS_LEAVE_REQUEST_TRN.LEAVE_TYPE_CODE%TYPE,
L_DEPARTMENT_CODE IN VARCHAR2,
--L_MONTH IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
L_FROM_DATE IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
L_TO_DATE in SSHRMS_LEAVE_REQUEST_TRN.LVE_TO_DATE%type,
MONTHRPT_CURSOR OUT SYS_REFCURSOR
AS
O_MONTHRPT_CURSOR_RPT clob;
v_return_msg clob;
BEGIN
IF (L_BUSINESS_UNIT IS NOT NULL
AND L_FROM_DATE IS NOT NULL
and L_TO_DATE is not null
-- AND L_DEPARTMENT_CODE IS NOT NULL
THEN
OPEN MONTHRPT_CURSOR FOR
select EMPLOYEE_CODE, EMPLOYEE_NAME AS NAME, DEPARTMENT_CODE AS DEPARTMENT,DEPARTMENT_DESC, CREATED_DATE,
NVL(WM_CONCAT(CL_RANGE),'') as CL_TAKEN_DATE,
case when NVL(SUM(CL2),0)<0 then 0 else (NVL(SUM(CL2),0)) end as CL_BALANCE,
from
SELECT DISTINCT a.employee_code,
a.EMPLOYEE_FIRST_NAME || ' ' || a.EMPLOYEE_LAST_NAME as EMPLOYEE_NAME,
a.DEPARTMENT_CODE,
a.DEPARTMENT_DESC,
B.LEAVE_TYPE_CODE,
B.LVE_UNITS_APPLIED,
B.CREATED_DATE as CREATED_DATE,
DECODE(b.leave_type_code,'CL',SSHRMS_LVE_BUSINESSDAY(L_BUSINESS_UNIT,to_char(b.lve_from_date,'mm/dd/yyyy'), to_char(b.lve_to_date,'mm/dd/yyyy'))) CL_RANGE,
DECODE(B.LEAVE_TYPE_CODE,'CL',B.LVE_UNITS_APPLIED)CL1,
b.status
from SSHRMS_EMPLOYEE_DATA a
join
SSHRMS_LEAVE_BALANCE C
on a.EMPLOYEE_CODE = C.EMPLOYEE_CODE
and C.STATUS = 'Y'
left join
SSHRMS_LEAVE_REQUEST_TRN B
on
B.EMPLOYEE_CODE=C.EMPLOYEE_CODE
and c.EMPLOYEE_CODE = b.EMPLOYEE_CODE
and B.LEAVE_TYPE_CODE = C.LEAVE_TYPE_CODE
and B.STATUS in ('A','P','C')
and (B.LVE_FROM_DATE >= TO_DATE(L_FROM_DATE, 'DD/MON/RRRR')
and B.LVE_TO_DATE <= TO_DATE(L_TO_DATE, 'DD/MON/RRRR'))
join
SSHRMS_LEAVE_REQUEST_TRN D
on a.EMPLOYEE_CODE = D.EMPLOYEE_CODE
and D.LEAVE_TYPE_CODE in ('CL')
AND D.LEAVE_TYPE_CODE IS NOT NULL
group by EMPLOYEE_CODE, EMPLOYEE_NAME, DEPARTMENT_CODE, DEPARTMENT_DESC, CREATED_DATE
else
v_return_msg:='Field should not be empty';
end if;
END;
my code actual output
EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE
100001....................John............02-OCT-12.................6
100001....................chris...........01-OCT-12.................4
how to add column dynamically based on from_date to to_date?
Thanks and Regards,
Chris Jerome.You cannot add columns dynamically. But you can define a maximum number of numbers and then hide unused columns in your form useing SET_ITEM_PROPERTY(..,VISIBLE, PROPERTY_FALSE);
-
How to add columns in field-symbol
Dear All,
Have made a report for HR - ZHR_CTC by using logical database and field-symbol. Report is working fine, but now have to add columns e.g business area text, positions text etc.
Have added columns in field-symbol.But not able to fetch data into that.
Data has to be fetched from different trasparent table comparing <field-symbol>-field.
Plz suggest the proper way to do it.
<<text removed>>
Regards,
Gulrez Alam
Edited by: Gulrez Alam on Dec 16, 2008 11:02 AM
Edited by: Matt on Dec 16, 2008 11:36 AMHi Rimpa,
Thanks a lot for you reply, have tried ur suggestion but it's not working. I am not able to understand how to insert data into field-symbol. Plz give some more clarifications about the same.
Regards,
Gulrez Alam -
How to add column access BADI to appraisal template.
I am not able to see option to add column access BADI in template at Processing tab--> Further template behaviour.
Kinldy let me know how to add it.
I am able to see only following options
BC Business Check
D1 Default Appraiser
D2 Default Appraisee
DE Default Execution Period
DN Default Appraisal Document Name
DP Default Part Appraiser
DR Default Review Date
DV Default Validity Period
HA Header Data Change
PM Maximum Number of Part Appraisers
Thanks in advance.
DhananjyHello Ravikiran,
Based on the Role and Status of the appraisal form, turn the Column On/Off/Hide..
sample code...
case s_header_status-ap_status.
when c_status_in_preparation.
availability = 'H'.
column_owner = space.
when c_status_in_planning.
case s_body_columns-column_id.
when 'OBJ0'.
availability = 'X'.
column_owner = 'X'.
exit.
when 'Z003'.
availability = 'X'.
column_owner = 'X'.
Hope it helps...
Regards,
Jothi.P -
Hi experts,
I need help urgently. I want to add columns in the matrix of A/R invoice system form.
Can someone give me a solution?
Regards.
OlivierOlivier
You can add user defined fields into Marketing document rows, these will be new columns and will appear U_[COLUMNAME]
Regards
J
Edited by: János Nagy on May 18, 2010 2:01 PM -
Add Column name conditionally in a query
Hi i have an stored procedure where one parameter is passing
@Type
UserTable (columns) => username, canAdminDelete,canCustomerDelete,CanMerchantDelete
i wants to add column conditionally like when usertype =1 then query should be like
Select * from userTable where canAdminDelete=0
when userType=2
Select * from userTable where canCustomerDelete=0
Like in this way. I know i can write three if statments and write specific query.
But this is just an example i have very big query actually.
Please give some idea.
Thanks
NikiHi Niki,
As per my understanding, I think the query post by Olaf is correct. It only return the results when column canAdminDelete = 0 and userTpe = 1 or column canCustomerDelete = 0 and userType = 2.
So when userType=1 and column canAdminDelete=1, how could you get the results? Could you please test the issue again based on the query post by Olaf.
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to Add column with default value in compress table.
Hi ,
while trying to add column to compressed table with default value i am getting error.
Even i tried no compress command on table still its giivg error that add/drop not allowed on compressed table.
Can anyone help me in this .
Thanks.Aman wrote:
while trying to add column to compressed table with default value i am getting error.This is clearly explain in the Oracle doc :
"+You cannot add a column with a default value to a compressed table or to a partitioned table containing any compressed partition, unless you first disable compression for the table or partition+"
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#sthref5163
Nicolas. -
AdvancedDataGrid - Add columns with ActionScript
I'm trying to add columns to an AdvancedDataGrid via ActionScript.
I can't get it to work.
I've tried two approaches -- One with an intermediary array to store the columns then set the adg's columns to the array; One where I assign the columns directly to the adg's columns array.
They both fail in their own way. The columns don't "take" and the adg uses the dataProviders defaults, or there are no columns at all.
"adg_test.mxml" has the AdvancedDataGrids/code.
"adg_test_renderer.mxml" is a renderer for one of the columns.
Would appreciate learning what I'm doing wrong.
Thanks for any help.
=== START adg_test_renderer.mxml ===
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Button id="btnTest" label="Renderer Working"/>
</mx:VBox>
=== END adg_test_renderer.mxml ===
== START adg_test.mxml ====
<?xml version="1.0"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
initialize="init()">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
private var dpADGExplicit:ArrayCollection = new ArrayCollection([
{Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
{Artist:'Pavement', Album:'Brighten the Corners', Price:11.99},
{Artist:'Saner', Album:'A Child Once', Price:11.99},
{Artist:'Saner', Album:'Helium Wings', Price:12.99},
{Artist:'The Doors', Album:'The Doors', Price:10.99},
{Artist:'The Doors', Album:'Morrison Hotel', Price:12.99},
{Artist:'Grateful Dead', Album:'American Beauty', Price:11.99},
{Artist:'Grateful Dead', Album:'In the Dark', Price:11.99},
{Artist:'Grateful Dead', Album:'Shakedown Street', Price:11.99},
{Artist:'The Doors', Album:'Strange Days', Price:12.99},
{Artist:'The Doors', Album:'The Best of the Doors', Price:10.99}
[Bindable]
private var dpADGActionScript:ArrayCollection = new ArrayCollection([
{Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
{Artist:'Pavement', Album:'Brighten the Corners', Price:11.99},
{Artist:'Saner', Album:'A Child Once', Price:11.99},
{Artist:'Saner', Album:'Helium Wings', Price:12.99},
{Artist:'The Doors', Album:'The Doors', Price:10.99},
{Artist:'The Doors', Album:'Morrison Hotel', Price:12.99},
{Artist:'Grateful Dead', Album:'American Beauty', Price:11.99},
{Artist:'Grateful Dead', Album:'In the Dark', Price:11.99},
{Artist:'Grateful Dead', Album:'Shakedown Street', Price:11.99},
{Artist:'The Doors', Album:'Strange Days', Price:12.99},
{Artist:'The Doors', Album:'The Best of the Doors', Price:10.99}
private function init():void
var arr:Array=[];//Intermediary array that will become the AdvancedDataGridColumn array
var col:AdvancedDataGridColumn = new AdvancedDataGridColumn();
col.dataField = "Artist";
arr.push(col);
col.dataField = "Album";
col.visible = false;
arr.push(col);
col.dataField = "Price";
col.itemRenderer = new ClassFactory(adg_test_renderer);
arr.push(col);
adgActionScript.columns = arr;
//ALTERNATE UNSUCCESFUL APPROACH
col.dataField = "Artist";
adgActionScript.columns.push(col);
col.dataField = "Album";
col.visible = false;
adgActionScript.columns.push(col);
col.dataField = "Price";
col.itemRenderer = new ClassFactory(adg_test_renderer);
adgActionScript.columns.push(col);
]]>
</mx:Script>
<mx:Label text="Explicit Columns"/>
<mx:AdvancedDataGrid
id="adgExplicit"
width="100%" height="100%"
sortExpertMode="true"
dataProvider="{dpADGExplicit}">
<mx:columns>
<mx:AdvancedDataGridColumn dataField="Artist" />
<mx:AdvancedDataGridColumn dataField="Album" visible="false"/>
<mx:AdvancedDataGridColumn dataField="Price" itemRenderer="adg_test_renderer"/>
</mx:columns>
</mx:AdvancedDataGrid>
<mx:Label text="ActionScript Columns (If ActionScript works: Arist column should be hidden. Should see Album column with data and Price column with buttons."/>
<mx:AdvancedDataGrid
id="adgActionScript"
width="100%" height="100%"
sortExpertMode="true"
dataProvider="{dpADGActionScript}">
</mx:AdvancedDataGrid>
</mx:Application>
== END adg_test.mxml ====Thanks so much for your help.
Here's how I altered your code for my example. This logic allows easier assignment of additional column parameters.
=== START adg_test_renderer.mxml ===
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Button id="btnTest" label="Renderer Working"/>
</mx:VBox>
=== END adg_test_renderer.mxml ===
== START adg_test.mxml ====
<?xml version="1.0"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
initialize="init()">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
private var dpADGExplicit:ArrayCollection = new ArrayCollection([
{Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
{Artist:'Pavement', Album:'Brighten the Corners', Price:11.99},
{Artist:'Saner', Album:'A Child Once', Price:11.99},
{Artist:'Saner', Album:'Helium Wings', Price:12.99},
{Artist:'The Doors', Album:'The Doors', Price:10.99},
{Artist:'The Doors', Album:'Morrison Hotel', Price:12.99},
{Artist:'Grateful Dead', Album:'American Beauty', Price:11.99},
{Artist:'Grateful Dead', Album:'In the Dark', Price:11.99},
{Artist:'Grateful Dead', Album:'Shakedown Street', Price:11.99},
{Artist:'The Doors', Album:'Strange Days', Price:12.99},
{Artist:'The Doors', Album:'The Best of the Doors', Price:10.99}
[Bindable]
private var dpADGActionScript:ArrayCollection = new ArrayCollection([
{Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
{Artist:'Pavement', Album:'Brighten the Corners', Price:11.99},
{Artist:'Saner', Album:'A Child Once', Price:11.99},
{Artist:'Saner', Album:'Helium Wings', Price:12.99},
{Artist:'The Doors', Album:'The Doors', Price:10.99},
{Artist:'The Doors', Album:'Morrison Hotel', Price:12.99},
{Artist:'Grateful Dead', Album:'American Beauty', Price:11.99},
{Artist:'Grateful Dead', Album:'In the Dark', Price:11.99},
{Artist:'Grateful Dead', Album:'Shakedown Street', Price:11.99},
{Artist:'The Doors', Album:'Strange Days', Price:12.99},
{Artist:'The Doors', Album:'The Best of the Doors', Price:10.99}
private function init():void
var arrCols:Array = adgActionScript.columns;
var col:AdvancedDataGridColumn;
col = new AdvancedDataGridColumn;
col.dataField = "Artist";
arrCols.push(col);
col = new AdvancedDataGridColumn;
col.dataField = "Album";
col.visible = false;
arrCols.push(col);
col = new AdvancedDataGridColumn;
col.dataField = "Price";
col.itemRenderer = new ClassFactory(adg_test_renderer);
arrCols.push(col);
adgActionScript.columns = arrCols;
adgActionScript.validateNow();
]]>
</mx:Script>
<mx:Label text="Explicit Columns"/>
<mx:AdvancedDataGrid
id="adgExplicit"
width="100%"
height="100%"
dataProvider="{dpADGExplicit}">
<mx:columns>
<mx:AdvancedDataGridColumn dataField="Artist" />
<mx:AdvancedDataGridColumn dataField="Album" visible="false"/>
<mx:AdvancedDataGridColumn dataField="Price" itemRenderer="adg_test_renderer"/>
</mx:columns>
</mx:AdvancedDataGrid>
<mx:Label text="ActionScript Columns"/>
<mx:AdvancedDataGrid
id="adgActionScript"
width="100%"
height="100%"
dataProvider="{dpADGActionScript}">
</mx:AdvancedDataGrid>
</mx:Application>
== END adg_test.mxml ==== -
Add columns to RCOPOC_WKLT
Hi.
Does anyone know how can I add columns (from my structure) at the above report?
It's the CO60 transaction (Worklist for PI Sheets).
I think it's somthing about an enhancement for this report but how can I do it??
Thanks,
RebekaRobeka
There is no way you can do enhancement to add new column to the ALV.... See report RCOPOC_WKLT, subroutine "build_fieldcat"....
Though, you can modify this report by using access key or create Z-Copy of this report and modify it....
Thanks
Amol Lohade -
Operations in querie or add columns
hi!.
How can do operations in querie or add columns with operations.
greetings.hi
good
go through this link hope this will give you idea of the query operation.
http://help.sap.com/saphelp_nw70/helpdata/en/16/a6fe41b227096fe10000000a155106/content.htm
thanks
mrutyun^ -
Add Columns to Updatable Report
Hello,
i need some help regarding an "Updatable Report".
My goal is to have some SelectLists in comluns named "2008_05", "2008_08", ....."2010_01", "2010_04".
The user must have the option to add more cloumns.
My process on submit is:
declare
SQL_STRING varchar2(4000);
begin
SQL_STRING := 'ALTER TABLE TAB_REPORTS ADD "' || :P3700_COLUMN_NAME || '" varchar2(100)';
EXECUTE IMMEDIATE(SQL_STRING);
return;
end;At the moment I have this code for a standard report returning a SQL query:
declare
q varchar2(4000);
begin
q := 'SELECT R_ID, PLANT_NAME, UNIT_NO, R_TSO_NO TSO_NO';
For i in (SELECT * FROM USER_TAB_COLUMNS
WHERE table_name = 'TAB_REPORTS'
AND column_name like '2%')
loop
q := q || ', ';
q := q || 'APEX_ITEM.SELECT_LIST_FROM_LOV (1, ';
q := q || chr(34);
q := q || i.column_name;
q := q || chr(34);
q := q || ', ';
q := q || chr(39);
q := q || 'LOV_QER';
q := q || chr(39);
q := q || ', ';
q := q || 'null';
q := q || ', ';
q := q || chr(39);
q := q || 'Y';
q := q || chr(39);
q := q || ') as "';
q := q || i.column_name;
q := q || '"';
end loop;
q := q || ' FROM TAB_REPORTS ';
q := q || ', TAB_SD';
q := q || ', TAB_CONTACT';
q := q || ' WHERE TSO_NO = R_TSO_NO';
q := q || ' AND CON_PLANT_NAME = TAB_SD.PLANT_NAME';
q := q || ' AND R_TSO_NO = decode(:P3700_FILTER_PLANT_NAME, ';
q := q || chr(39);
q := q || 'all';
q := q || chr(39);
q := q || ', R_TSO_NO, :P3700_FILTER_PLANT_NAME)';
q := q || ' ORDER by PLANT_NAME, UNIT_NO';
return q;
END;The function returning a SQL is not working for an updatable report.
It has to be static i think.
Any solutions or ideas?
Thx & greetings
ChrisProblem solved. See [this post|Add columns to CV04N report;
Regards.
Gregory. -
How to add column to report from the same table? Gives error now
Steps to reproduce:
Build a report on a table with easy report, select all columns
Add column to the table
Edit report and add column (one has to click Show Related Tables Only: No to view the same table!)
Report will give error as it will be build as
SELECT ... FROM table1, table1AH HAAA!!!!
And I was afraid to convert from the "SQL (Structured Query)" to "SQL". Probably because I blew up my other reports...
Thanks! -
How to delete or add columns in a DataTable.
Hi,
I need to delete/add columns for a DataTable programaticaly... Can anyone help me in this ??. In source code I added a datatable and lets take 3 columsn I added. While running application, I need to delete and add columns whenever I want.
Please help me....can you give a sample code for this... I really want
this code...
just to re-confirm you, I want to add or delete
columns not rows...I don't have sample code, why don't you give it a try?
Maybe you are looking for
-
Query on GL_BALANCES Table is very slow
Dear Members, I have prepared a query on GL_BALANCES Table which is as follows: SQL> select (nvl(sum(gb.period_net_dr), 0) - nvl(sum(gb.period_net_cr), 0)) INTO V_AMT from gl_balances gb, gl_code_combinations gcc, fnd_flex_value_hierarchies ffvh wher
-
I get pop ups to install plug in on Firefox. Is it safe?
Is this plug in authorized by Firefox?
-
I have only had the issue since downloading the 5.1.1 update
-
Can change the size of the redolog files while the database is running.
How the size of the redolog files will hurt your database performance ? Can change the size of the redolog files while the database is running in oracle 9i. ? What will be its impact on the standby database ? Thanks in advance.
-
I need help with TV Capture Card program
Hello, I want to create a JAVA program so I can schedule that the recording with my TV Capture Card begins in x seconds. Now to start a recording, you must press Ctrl+M and to stop an recording you must click the mouse. How can I realise that a Java