Report on transparant table
Hi Experts,
We have requirement like develop the report on DSO & transparent table(/pbfbi/line_text ) so i tried modeling on transparent table but one of the field is string becasue of that data source is not activated .If any one worked before this kind of requirement please pass your inputs on this issue.
Regards
RK
In your schema CSALE (SCALE you stated as well)
GRANT SELECT ON projects TO tester2In your schema TESTER2
CREATE OR REPLACE SYNONYM projects FOR csale.projectsnow
SELECT project_id ID, project_name description
FROM projects;should work for you.
Please note:
You were using a reserved word in your query (DESC) for column alias for Project_name.
Denes Kubicek
Similar Messages
-
Sales Orders Transparent Tables Needed
I am trying to create a report with SQV1 that shows
Sales Order
Sales Order Status
Material
Rev Level on Material
ECN Number on Material
ECN Description on Material
I need the transparancy tables for
Sales Order Detail; I tried VBAP and VBAK and both do not show me the
Sales Order Status VBSTT
Also I need to know the Rev Level and ECN Number and description. I
thought they would be in MARC because the rev level shows up in the
Material Master but it is not one of the items you can select. Any idea where
I can find it?
Thanks,
LindaHi
For the sales order status, you can refer to VBUK or VBUP.
I looked for ECN number, I think the table and the field are MARC-PRENO
Pls check whether the same is useful to you.
Reward point if it helps. -
Transparent table field for Tax Indicator on Material Master
I am trying to find the transparent table which holds the Tax indicator field for material in the purchasing view of a material master. Usually it has values - 0,1. Where is this field stored ? I am unable to locate it. I looked into CDPOS..It points to DMLAN. But that is a structure..
TAXIM is the field ( Tax Ind. f. Material). I need to retrieve this field for a report).Hi,
The country is got based on the plant...you can get the country from T001W for the corresponding plant.
Thanks
Naren -
Value not reflecting into the transparent table when checked through se11
Hi friends. i am using the following code to add data to a transparent table already creted by me.Now i am adding data to it through a ABAP program.It is displaying the output when I execute it but the new record added in the program is not saved itno the table actually.my code is :
REPORT ZWRITE_DATA.
tables zlfa2.
move 'achal' to zlfa2-field_name_1.
update zlfa2.
select * from zlfa2.
write / zlfa2-field_name_1.
endselect.
the above code is not showing the value 'achal' in it.and also no error message is being displayed.Hi,
Commit work saves the changes done into the database. Using COMMIT WORK statement in your program have below mentioned effect:
Calls the subroutines specified by PERFORM ... ON COMMIT
Executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK) specified in these subroutines or started just before
Processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK
Resets the time slice counter to 0.
Ensures that the locks of the SAP locking concept are handled in accordance with its SCOPE Parameter.
Executes a database commit on all database connections
Closes all open database cursors (OPEN CURSOR) on all database connections
Releases all database locks on all database connections
KR Jaideep, -
Hello SAP Gurus,
We have an issue regarding a report we had created from report painter. The report selects the data from RWCOOM table structure using the following selection criteria.
Controlling Area
Fiscal Year: 0000 - 9999
Currency Type: 20
Version: 0
Our issue is that same internal order appearing twice on the report.
We had checked several sap notes related to this but cannot find a solution. I had checked sap note 111984 but the currency type's selection is limited to "20-controlling area currency" only.
I hope you can advise.
Thank you!
JackHello everyone,
Can anyone suggest what may be the possible cause? The report is related to Sales Internal Order Budget. The report displays the internal order with its actual/budget and available amount.
In addition, what are the transparent tables related to RWCOOM. I cannot find any on SE11 -> where-used list.
Regards. -
Field-symbol definition for a variable representing transparent tables
Hi Gurus
I'm trying to create a very simple report to display table descriptions and their DB number of records:
Ex:
MARA 50000
MARD 123000
I can't compile this piece of code:
field-symbols: <table>.
assign (DD02T-TABNAME) to <table>.
clear n.
*SELECT COUNT( * )*
INTO n
FROM <table>.
The problem here is that <table> is not defined in the ABAP dictionary as a a table , projection view or databse view.
1. Is there a way of defining <table> with a field-symbol data statement to make it work?
2. Alternatively, how can you produce a list of all table DB entry counts for a dynamic list of transparent tables?
Thanks
NunoWith the code you have field symbol will "point" to a table contained in DD02T-TABNAME , not its name.
What you need is to get the table name , not table itself
field-symbols: <table_name>.
assign DD02T-TABNAME to <table>. "get table name, not its content
clear n.
SELECT COUNT( * )
INTO n
FROM (<table>).
or simply without field symbol
SELECT COUNT( * )
INTO n
FROM (DD02T-TABNAME).
Regards
Marcin -
Execute query in background and write it's content in transparent table
Hi,
Is there an easy way to execute one query in background and write it's content in transparent table?
Thanks,Hello,
Yes you can do this in so mamy ways...
GOTO RSCRM_REPORT -> select your query -> click on the extract button and set the parameters...table or file Execute.
Create an APD in RSANWB select your query and you can store the result in ODS table...cube...
Create a reporting agent and store the result.
Regards,
Pavan. -
Creating BO universe on Transparent tables
Hi,
Can we create a BO universe on Transparent tables in the BW system?
Kindly respond if you hvae any inputsHi,
Assuming your are using BOE XI 3.1, Integration Kit for SAP, and WebIntelligence
Then, NO, that MDX BAPI driver is for consumption of BEx Queries only.
Regards,
H
p.s. however, you might have more luck using Crystal Reports "SAP Table, ABAP function, and InfoSet" driver - although that is intended for ERP access (R/3 // ECC) -
Saving texts in transparent table
HI all,
How can we create a transparent table and save texts in it.
Actually my requirement is to create a button on an ALV and when user clicks that button then a text editor should open and whatever user enter in that window should get saved in a transparent table.
Does anyone have any idea how to do this??
please help me as soon as possible.
regards,
kushagraHi,
After setting all field catelogs and all
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = ws_repid ---report name
i_callback_pf_status_set = 'GUI_STAT'
i_callback_user_command = 'STAT'
is_layout = gs_layout
it_fieldcat = i_fieldcat[]
TABLES
t_outtab = i_zaw_pol_plan.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " change_data
**--Setting Status of outout screen
FORM gui_stat USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'STANDARD' EXCLUDING rt_extab.
SET TITLEBAR text-005.
ENDFORM.
**--Calling the subroutine when button clicked on output
FORM stat USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
DATA selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN 'SAVE'.
LOOP AT i_zaw_pol_plan WHERE flag EQ c_x.
here you will get the selected data and update the table with this
ENDLOOP.
ENDCASE.
ENDFORM.
double click on PF-STATUS 'STANDARD' in above code in application tool bar add button fcode and text and icon. -
Taking data from SAP ECC6 transparant table.
Hi All,
Can you please help me to taking data fromt he transparant table of SAP ECC6.
I am using Xcelsius 2008.
Thanks in advance.
Regards
BaaRaa.Hi BaaRaa,
Xcelsius SP2 has only a direct connectivity to SAP BW.
If you have BusinnesObjects Enterprise Server and you have installed the SAP Integration Kit, you could connect to ECC:
As a workaround for getting to ECC Data, you can use Crystal Reports and Live Office. Basically you build a crystal report with the data from ECC. Then you will use Live Office to fetch that data to a Excel Workbook. Then you can import that excel workbook in Xcelsius.
Best Regards
Victor -
Hi
how can i sort a trnsparent table.
Regards
ArunHi Arun,
There's no such a thing as sorting a transparent table. Or any other kind of table in the database for that matter.
If you want to sort the data, you would most probably be needing to do it for the purpose of a report or some other <i>application</i>. In that case, you would have to fetch the data from the database table into an internal table in your program and then sort the data using the SORT statement on internal table.
Hope this clears your doubt. But in the future, it would certainly help us respond to your queries if you are more articulate about your requirement.
Regards,
Anand Mandalika. -
Hi Experts,
I am a Functional Financial Consultant and I am in process on developing a report using SQVI (Queries).
Within my report, I have joined the following tables:
BKPF
BSID
BSIS
There is some data entered in table BSEC which is a cluster table and cannot be used in join.
I need your advice if you know what is the transparent table behind BSEC.
Looking forward to hear from you!
Regards,
Anss Shahid EssaniIt seems that we will be unable to prepare such report using SQVI as BSEC is a cluster table. However, we can get it prepared with the help of ABAPer.
Thank you all for your valuable suggestions. -
How to activate the transparent table along with append structure
Hi,
I add the new fields in existing append structure on tale VBAP.
Initially i provide them the data type as Char with length 20.
Similarly i added the fields in user exit on scree 8459 to add fields on screen.
Until this eveything was working fine.
Then my functional consultant ask me to delete one field from structure and change the length of other data types to 40 characters.
I done this changes but when i go to activate that append structure its giving me error that certan structures in which it is been used are not adjusted and activated.
The table is not adjusted through SE14 - Database Utlity.
Its showing me that Runtime Object and Transparent table are different and not consistent.
Can i delete the runtime object?
The domains which i ave changed are also not geing activated.
Suggest me the node of problem and solution also.
What should be the problem.
What should i do to solve the problem.
Suggest me the solution if any.Give a trail that instead of activating all together, activate low-level objects (domains, data elements etc)first and then high levels (structures, tables) individually. With this approach you could find the errors easily and can resolve quickly.
Regards,
Prasanth -
Form and report on a table - redirecting to report on submit
Hi,
I've created a form and a report on a table...
in a form, one of the item is a radio group (with submit) with static list of values... I've set it up to submit as I am hiding/displaying other items based on the selection... for example, when user select the location value then only city and country fields are displayed and so on...
my problem is that when I make a selection it saves the state and takes me back to the report... when I come back to the report then I see items (hidden/displayed based on the selection that I made before I left the form)
any way to fix it...? please advice
ThanksHi,
OK - we can't use a Dynamic Action but we can use Javascript to do this.
Firstly, change the item type to an ordinary Radio button - that is, remove the Submit
Secondly, in your page attribute's HTML Header setting, add in:
<script type="text/javascript">
function submitByRadioButton()
if ($v('P1_PKITEM') != '')
doSubmit('P1_RADIOITEM');
</script>Replace P1_PKITEM with the page item name for the hidden primary key and P1_RADIOITEM with the page item name of the radio button.
Then, on the radio button item, add the following in the HTML Form Element Attributes setting:
onclick="javascript:submitByRadioButton()"Finally, create a branch that returns to the same page - make sure that the Sequence number puts it before any Unconditional branch. Set the Condition for this to "Request = Expression 1" and enter P1_RADIOITEM (or whatever the page item name is for the radio button) into the Expression 1 setting.
Now, when the user creates a new record, the hidden P1_PKITEM value will be blank. Clicking the radio button at this time will not trigger a submit and the function checks this. For existing records, P1_PKITEM will contain a value, so the function will allow the doSubmit to run.
Andy -
Report using three tables on group basis
Hi,
I wish to know a clue for the follwing report among three tables either using join or sub-query or PL/SQL Script as per the below desired output.
Top 10 games by uniques / by volume
It should produce something like this:
Game Uniques Volumes Game Start Game End Mins on Air
Top 5 movies beginning with "D" 2734 7924 9/24/06 9:59 PM 9/24/06 10:41 PM 42
Top 5 One Hit Wonders 2355 6471 9/24/06 9:07 PM 9/24/06 9:48 PM 41
Things you find in The Kitchen 1336 3600 9/24/06 10:41 PM 9/24/06 10:59 PM 18
Twisted Title Men in Black 770 1435 9/24/06 9:53 PM 9/24/06 9:59 PM 6
Anagram Lance Armstrong 884 1350 9/24/06 9:48 PM 9/24/06 9:53 PM 5
A.Bucks Jack and Jill... 593 824 9/24/06 8:59 PM 9/24/06 9:04 PM 4
Missing link ANY101 649 815 9/24/06 9:04 PM 9/24/06 9:07 PM 3
Parameters should be startDate and endDate.
This query can be obtained from using the following tables: Calls, Games, Events, Event_Types
Calls have a timestamp.
Every game has event, such as start game or end game (see Event_Types), with its timestamp
Volumes: Number of calls received for each game between start game date and end date
Uniques: Unique Number of calls received for each game between start game date and end date
(distinct cli)
Mins on air: differences between start call and end call
Relationship:
The ID column from games table and game_id from events table is common.
Assume if the event type id is 2 then it starts game and if 3 then game ends. Other type is irrelevant for this query.
The id from event_type is mentioned in another table event_types as master with description. But it is not required to establish relationship with this table. As this code ( 2 or 3) is alredy availbel with event_type_id in the events table.
Please assume the CLI number as dummy data.
I have provided the structure and query to generate tables and populate testing data to sort out this issue at the earliest.
I tried to perform this query but I wish to compare the result with the script given by experts as I’m not a core developer.
1) desc calls
Name Null? Type
CLI NOT NULL VARCHAR2(255)
CALL_DATE NOT NULL TIMESTAMP(6)
insert into values('&CLI','&call_date')
select substr(CLI,1,10),substr(call_date,1,22) from calls
SUBSTR(CLI SUBSTR(CALL_DATE,1,22)
0662740929 22-SEP-06 05.22.44.123
0662740973 22-SEP-06 05.22.47.123
0662740956 22-SEP-06 05.22.46.123
0662740980 22-SEP-06 05.22.47.123
0662740936 09-MAY-06 05.22.44.123
0762740954 22-SEP-06 05.22.45.123
0762740936 09-MAY-06 05.22.47.123
0762740921 22-SEP-06 05.22.44.123
0113456789 22-SEP-06 05.47.04.082
0987654321 22-SEP-06 06.16.29.727
0 22-SEP-06 06.17.28.141
SUBSTR(CLI SUBSTR(CALL_DATE,1,22)
0123456789 09-MAY-06 06.27.51.224
0112740929 22-SEP-06 06.28.43.398
0123456789 09-MAY-06 06.30.10.830
0044791475 24-SEP-06 04.38.08.564
0044791475 24-SEP-06 04.40.05.777
0123456789 24-SEP-06 05.32.22.267
0147258369 24-SEP-06 05.34.25.652
0852147963 24-SEP-06 05.52.56.992
0123456789 25-SEP-06 01.34.17.157
0683379112 25-SEP-06 01.35.19.461
0 25-SEP-06 03.09.12.347
SUBSTR(CLI SUBSTR(CALL_DATE,1,22)
0141411683 25-SEP-06 03.21.07.402
0141411683 25-SEP-06 03.21.38.519
0618769562 02-JUN-06 03.22.12.807
0123456789 02-JUN-06 03.24.11.387
0 25-SEP-06 03.25.13.152
0141412179 25-SEP-06 03.25.38.424
0123456789 02-JUN-06 03.26.57.687
0607069617 02-JUN-06 03.27.02.720
0014141168 26-SEP-06 03.30.55.290
0618769562 25-SEP-06 03.31.21.141
0141411683 25-SEP-06 03.31.45.952
SUBSTR(CLI SUBSTR(CALL_DATE,1,22)
0607069617 25-SEP-06 03.32.14.542
0618769562 25-SEP-06 03.32.30.433
0 25-SEP-06 03.32.43.292
0141412179 25-SEP-06 03.33.07.166
0 25-SEP-06 03.33.56.086
0 25-SEP-06 03.34.03.918
0123456789 26-SEP-06 03.34.21.193
0 25-SEP-06 03.34.25.484
0 25-SEP-06 03.34.39.126
0 25-SEP-06 03.34.40.354
0 25-SEP-06 03.34.51.231
2)
SQL> desc events
Name Null? Type
EVENT_TYPE_ID NOT NULL NUMBER(19)
EVENT_DATE NOT NULL TIMESTAMP(6)
GAME_ID NUMBER(19)
insert into events values ('&EVENT_TYPE_ID','&EVENT_DATE',&GAME_ID')
SQL> select substr(event_type_id,1,10),substr(event_date,1,20),substr(game_id,1,10) from events where game_id in (1918,1919,1920,1939,1958,1979,1999,2018,2040,2041,2061)
SUBSTR(EVE SUBSTR(EVENT_DATE,1, SUBSTR(GAM
3 26-APR-06 06.11.50.8 1939
4 26-APR-06 06.12.05.6 1939
5 26-APR-06 06.16.13.5 1939
3 09-MAY-06 06.18.59.7 1920
4 09-MAY-06 06.22.43.7 1920
3 12-MAY-06 04.24.46.2 1920
4 12-MAY-06 04.46.22.5 1920
3 12-MAY-06 04.29.07.4 1920
4 12-MAY-06 04.39.31.1 1920
3 12-MAY-06 04.29.35.3 1920
4 12-MAY-06 04.30.02.8 1920
SUBSTR(EVE SUBSTR(EVENT_DATE,1, SUBSTR(GAM
3 26-SEP-06 12.19.27.6 1958
4 26-SEP-06 12.29.37.9 1958
5 01-JUN-06 12.26.37.2 1958
3 02-JUN-06 11.53.49.0 1979
6 02-JUN-06 11.54.00.5 1979
4 02-JUN-06 11.54.55.5 1979
3 02-JUN-06 11.55.03.7 1979
4 02-JUN-06 11.57.40.7 1979
3 02-JUN-06 11.57.43.5 1979
4 02-JUN-06 11.59.47.2 1979
3 14-SEP-06 02.24.13.8 1999
SUBSTR(EVE SUBSTR(EVENT_DATE,1, SUBSTR(GAM
4 14-SEP-06 02.55.18.7 1999
3 14-SEP-06 06.44.40.1 1999
4 14-SEP-06 06.52.57.9 1999
3 22-SEP-06 04.05.09.5 2018
4 22-SEP-06 05.24.14.7 2018
5 22-SEP-06 05.24.25.0 2018
4 24-SEP-06 03.17.54.8 2018
3 24-SEP-06 03.19.00.1 2018
3) INSERT INTO games VALUES ('&ID'.'&NAME')
SQL> desc games
Name Null? Type
ID NOT NULL NUMBER(19)
NAME NOT NULL VARCHAR2(255)
select substr(id,1,10),substr(name,1,25) from games;
SUBSTR(ID, SUBSTR(NAME,1,25)
1918 Copy of QN27030628
1919 Copy of Copy of QN0104061
1920 Copy of Copy of Copy of Q
1939 Alex Game 8
1958 QN27030628 Lee
1979 Copy of QN01040611 9
1999 Ale's Game
2018 TF1 Game test 1
2040 Test Game TF1sarah
2041 BTAgilemedia Game Test
2061 Copy of Copy of QN0104060
Your help would be highly appreciated.
Thanks
JayeshHi,
I am sending herewith SQL statement for populating data into the concern tables
To make easier for further testing your script.
insert into calls values (0772740929, 22-SEP-06 05.22.44.123)
insert into calls values (0882740929, 22-SEP-06 05.22.44.123)
insert into calls values (0772740929, 25-SEP-06 05.22.44.123)
insert into calls values (0662740929, 27-SEP-06 05.22.44.123)
insert into calls values (0452740929, 22-SEP-06 05.22.44.123)
insert into calls values (0992740929, 24-SEP-06 05.22.44.123)
insert into calls values (0992740929, 26-SEP-06 05.22.44.123)
insert into events values (3, 22-SEP-06 05.22.44.123,1918)
insert into events values (4, 22-SEP-06 05.32.44.123,1918)
insert into events values (3, 24-SEP-06 05.22.44,1920)
insert into events values (4, 24-SEP-06 05.42.44,1920)
insert into events values (3, 26-SEP-06 05.22.44,1958)
insert into events values (4, 26-SEP-06 05.52.44,1958)
Insert into games values (1918,’ Copy of QN27030628’)
Insert into games values (1920,’ Test Game TF1sarah’)
Insert into games values (1958,’ Test Car Race’)
Thanks
jayesh
Maybe you are looking for
-
I have tried to reset my ipod and everything but yet its still not turning on?
I have tried to reset my ipod and everything but yet its still not turning on?
-
How to create the package.
Hi , How to create the package. Thanks
-
Outlook 2010 name and company not showing in outlook emails
When someone emails me my name is not showing up at the top of the email - only my email address. Also in the same email some of the cc'd people's names are showing along with their email addresses, for some people you see their name and company and
-
What is the "variable" field in the timer.swf widget for?
I have captivate 7, and would like to know what the variable field is for in the timer widget and how to use it... Thank you!
-
Good Day. I have recently discovered an issue with scanning. I have tried scanning straight from the printer, through image capture, and through preview. All yeilding the same results since they are essentailly kicking off the same scanning applet.