How to get documentation of table in Modulepool
Hi all,
I created documentation for ztable and in my customized screen , if click on one button i have to get that table documentation like in sap img (if i click on one documentation button i got performance assistance popup like the same way)..
Is there any way to get as such.................
Thanks in advance
M prasanna
Try Something like following
PROGRAM z_gtren_test.
PARAMETERS P_TABLE TYPE TABNAME.
DATA LV_OBJECT TYPE DOKHL-OBJECT.
START-OF-SELECTION.
LV_OBJECT = P_TABLE.
CALL FUNCTION 'DOCU_CALL'
EXPORTING
* CMOD_ENTRANCE = ' '
DISPL = 'X'
DISPL_MODE = '2'
* DYNPRO_FOR_THLPF = ' '
* FDNAME_FOR_THLPF = ' '
ID = 'TB'
LANGU = SY-LANGU
OBJECT = LV_OBJECT
* PROGRAM_FOR_THLPF = ' '
* SHORTTEXT = ' '
TYP = 'E'
SUPPRESS_EDIT = 'X'
* USE_SEC_LANGU = ' '
* FORCE_EDITOR = ' '
* EXTENSION_MODE = ' '
* TEMPLATE_ID = ' '
* TEMPLATE_OBJECT = ' '
* TEMPLATE_TYP = ' '
* USE_NOTE_TEMPLATE = ' '
* DISPLAY_SHORTTEXT = ' '
* IMPORTING
* SAVETEXT =
* EXIT_CODE =
EXCEPTIONS
WRONG_NAME = 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.
WRITE : / '1'.
Similar Messages
-
How to get the plsql table data into output cursor
Hi,
Could anybody please help me.
Below is an example of the scenario..
CREATE OR REPLACE PACKAGE chck IS
PROCEDURE getdata(dept_no IN VARCHAR2,oc_result_cursor OUT sys_REFCURSOR);
TYPE get_rec is record (ename varchar2(20),
eno number(12));
TYPE t_recs IS TABLE OF get_rec INDEX BY BINARY_INTEGER;
emp_tab t_recs;
END chck;
CREATE OR REPLACE PACKAGE BODY chck AS
PROCEDURE getdata(dept_no IN VARCHAR2,oc_result_cursor OUT sys_REFCURSOR)
is
BEGIN
select ename, eno
bulk collect into emp_tab
from emp;
open oc_result_cursor for select * from table(emp_tab); -- I believe something is wrong here ....
END;
END chck;
the above package is giving me an error:
LINE/COL ERROR
10/29 PL/SQL: SQL Statement ignored
10/43 PL/SQL: ORA-22905: cannot access rows from a non-nested table
item
let me know what needs to be changed
Thanks
Manjumanjukn wrote:
once i get the data into a plsql table, how to get this plsql table data into the cursor?There is no such thing as a PL/SQL table - it is an array.
It is nothing at all like a table. It cannot be indexed, partitioned, cluster, etc. It does not exist in the SQL engine as an object that can be referenced. It resides in expensive PGA memory and needs to be copied (lock, stock and barrel) to the SQL engine as a bind variable.
It is an extremely primitive structure - and should never be confused as being just like a table.
Its use in SQL statements is also an exception to the rule. Sound and valid technical reasons need to justify why one want to push a PL/SQL array to the SQL engine to run SELECT 's against it. -
How to get list of tables used in packages
Dear All
Can you pls tell me how to get list of tables used in packages
Regardsselect referenced_name
from user_dependencies
where name = 'your_package'
and referenced_type = 'TABLE'Regards,
Rob. -
How to get type any table in function module... or something
Moderator message: Please use a more informative subject in future, and NOT IN ALL CAPITALS.
Hi experts,
how to get type any table option.
in source code.
*" CHANGING
*" REFERENCE(S_EKORG) TYPE ANY TABLE OPTIONAL
Thank you.
Edited by: Matt on Feb 17, 2009 2:27 PM - subject editedIn Function module...... Under changing tab, give the parameter name and type enter associated type any.... You would get that same in the source code and also choose Optional check box.....
You will see exact code in the FM source code -
How to get name of table from front end
Hi,
How to get name of table from front end in EBS 11i?
thanx
AshishHi
Sandeep is correct. The "Help"/"Record History" will give you the table/view name, but sometimes this particular menu function give me a "Record History is not available here." error message.
I then use the following menu functions (this will also give you additional information, like column details).
1) Open Forms
2) Click on Help/Diagnostics/Examine (*you might have to enter the APPS password at this point)
3) Change "Block" to "System"
4) Change "Field" to "Last_query"
The system will populate the "Value" field with the query that was executed in order to populate the form.
Regards
Frank -
How to get Documentation on Funtion Module
hi Experts,
I want to know where can we find the documentation of a FM like for a badi... you can get it from spro..srm...Business add in... where u can click on documentatio....
But how to get documentation fo Funtion module , for example if want to get docs related to FM "BBP_PD_SC_GETDETAIL" how to get it....
Thanks
sameerHi. If you go to SE37 and enter the FM name, then press display, there is a button top right called "Function Module Documentation".
It is not maintained for every function though, if the button is greyed out there is nothing. If there is nothing there I do not know if there is anywhere else to look, apart from SDN of course....
Regards,
Dave. -
How to get documentation of a report with its respective headers?
I know fm, SRTU1_GET_REPORT_DOCUMENTATION, has to be used to get the documentation of a report. But when i print out the result it only shows the documentation data and not the data's respective headers. Without the headers the data looses its meaning.
Any idea on how to get both the report documentation and its respective headers.
Any help will be appreciated.
Thanks
NahmanThe following code downloads program docu as pdf file:
data: header like thead,
options like itcpo.
data: lines like tline occurs 0 with header line,
otfdata like itcoo occurs 0 with header line,
pdflines like tline occurs 0 with header line,
docstab like docs occurs 0 with header line,
binfilesize type i,
filenm type string.
parameters: program like trdir-name obligatory,
filenam like rlgrap-filename default 'c:temppdftest.pdf'.
start-of-selection.
call function 'DOC_OBJECT_GET'
exporting
class = 'RE'
name = program
language = sy-langu
short_text = 'X'
appendix = 'X'
importing
header = header
tables
* RTF_LINES =
itf_lines = lines
exceptions
object_not_found = 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.
options-tdgetotf = 'X'.
options-tdprogram = 'SAPLSHL2'.
options-TDDEST = 'LOCL'.
call function 'PRINT_TEXT'
exporting
application = 'TD'
* ARCHIVE_INDEX = ' '
* ARCHIVE_PARAMS = ' '
device = 'PRINTER'
dialog = ' '
header = header
options = options
* IMPORTING
* NEW_ARCHIVE_PARAMS =
* RESULT =
tables
lines = lines
otfdata = otfdata
exceptions
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
unknown = 6
format = 7
textformat = 8
communication = 9
bad_pageformat_for_print = 10
others = 11
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
refresh lines.
call function 'CONVERT_OTF_2_PDF'
* EXPORTING
* USE_OTF_MC_CMD = 'X'
* ARCHIVE_INDEX =
importing
bin_filesize = binfilesize
tables
otf = otfdata
doctab_archive = docstab
lines = pdflines
exceptions
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
others = 3
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
filenm = filenam.
call function 'GUI_DOWNLOAD'
exporting
* BIN_FILESIZE =
filename = filenm
filetype = 'BIN'
tables
data_tab = pdflines
* FIELDNAMES =
exceptions
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
others = 22
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Regards
Sridhar -
How to get Tcode for table which has a table maintenance done
Hi Friends,
I have one issue.
How to get the specific Tcode again for the table to which i have used table maintenance .
I have generated table maintenance for many tables inside my package.
If i want specific Tcode for that particular table how do i find it...Is there any way to get that
Thanks in advance.
Regards
kishoreHi Gautham,
I am still having problem... If i give Z* it shows all the Tcodes created with Z.
For that i will click Display object list and get my Tcodes inside my package..
But that is not my issue...
I am sorry if i didn get you properly
But still i didn find any way for that.
Will give one sample table which is Ztest. Ihave tcode ztest1.
Now as u said if i give Z* i will get all Z* tcodes ..In TSTCP table if i execute iam getting only the Tcode fields
lot of Z names(tcodes) are there. In that how will i find which is mine.I am not getting any parameter fied in output and all..
please help me.
Regards
kishore -
How to get headers into tables
I am probably being very dense but I cannot find out how to change an existing table so that the top row is a header - HELP !!!!
Hi,
Here's an example of what I mean:
http://www.gravenimagedesign.net/churchyard/churchyard.html
.scrolltable, .columnheads {
height: 400px;
overflow: scroll;
width: 790px;
margin: 0 auto;
border: solid 1px lightgrey;
div.columnheads {
height: 50px;
overflow: hidden;
Assign .columnheads to a div that ONLY contains column heads.
Assign .scrolltable to a div that contains the entire data table. Adjust the height of the div to your preference.
Do viewsource on this file to get the code back. I'll try to attach it, but it might not work.
I had to monkey around a little with cell widths on the headers, but you can fiddle with them until they look right.
Z -
How to get pop-up screen in modulepool
Hi Guru,
how to get pop-up screen when press push button from one screen.
what is the code to do even i selected screen as module dialog box at screen attributes i am getting but normal full screen i am getting. pls tell me how to get pop-up screen when i press push button.
regards,hi,
write the logic of POP up int he PAI event of the Screen
case sy-ucomm.
when 'Push button'.
Logic for popup button.
endcase.
Logic for POPUP :
CALL FUNCTION 'POPUP_WITH_2_BUTTONS_TO_CHOOSE'
EXPORTING
diagnosetext1 = 'The combination of Run Date & Identification'(001)
diagnosetext2 = 'already exist. Do you want to display ?'(002)
textline1 = space
text_option1 = 'YES'(003)
text_option2 = 'NO'(004)
titel = 'Processing selection'(005)
IMPORTING
answer = v_answer.
CALL FUNCTION 'POPUP_TO_CONFIRM' "#EC *
EXPORTING
text_question = 'Message For Confirmation'
text_button_1 = 'YES'
text_button_2 = 'NO'
default_button = '1'
display_cancel_button = ' '
start_column = 25
start_row = 6
IMPORTING
answer = v_answer
EXCEPTIONS
text_not_found = 1
OTHERS = 2.
Regards,
Deepthi. -
How to get values in table using viewobject ?
hi,iam using jdev 11.1.2.3.0
my requirement as follows ..
i have login form with username and password and i was gave the option of forgot password.when ever the user clicks the forgot password link .i need to get the data from smtp configuration table(consists smtp port,smtp host,usermail,password) based on the usermail i need to get the data from the smtp table .
when ever the user clicks forgot password it wil send the password to the respected email id given in the smtp tablem how tom achieve this requirement using view object ..............Hi,
1. create VO and define Ciew Criteria to query rows based on a bind variable
2. Go to Application Module and select VO, then press Edit button to associate View Criteria
3. Build public method in Application Module Impl class to take user name as an input argument
4. Expose this method on the AM client interface (also shown on the Java category of the AM editor)
5. In the method, use this this.findViewObject("instance name"); to get a hold onto the VO
6. Add the user name to the bind variable using the viewObject.getVariableManager()
7. Execute VO
8. get first row
9. send mail
10. Drag and drop method from the Data Control panel to your login page
11. Use EL to reference the username provided by the user (managed bean reference?)
This should be it
Frank -
In Workflow, How to get and set table values at runtime.
Hi All,
I m having a doubt,
here in my workflow, i have used a object where in i have made a 'Z' method which is suppose to populate a table container.
Actually after using std SOFC-COMPOSE activity my table which has 4 user id's contains only 1 user id who has runt that activity.
So in order to get all 4 user's back in the container i made a 'Z' method, which will populate the values back in tht user_id's table.
But it is not doing so.
Can you please help me as to how to do it?
I m sending u the code that i hav written in the method.
There are 2 codes i tried.
first:
BEGIN_METHOD ZPOPULATE CHANGING CONTAINER.
data : User_Release type table of zfitlevel-zuid,
wa_user_release type zfitlevel-zuid.
data: User type table of zfitlevel-zuid.
swc_get_table container 'User_Release' User_Release.
wa_user_release = 'USNOSIJOH'.
append wa_user_release to User_Release.
wa_user_release = 'USNOSOSAT'.
append wa_user_release to User_Release.
wa_user_release = 'USNOANMER'.
append wa_user_release to User_Release.
swc_set_table container 'User_Release' User_Release.
END_METHOD.
and second : Suppose User is the tabel that has correct values at run-time.
BEGIN_METHOD ZPOPULATE CHANGING CONTAINER.
data : User_Release type table of zfitlevel-zuid,
wa_user_release type zfitlevel-zuid.
data: User type table of ZUSRID.
swc_get_table container 'User' User.
swc_get_table container 'User_Release' User_Release.
User_Release[] = User[].
swc_set_table container 'User_Release' User_Release.
END_METHOD.
Please let me know if anyone can solve my doubt asap.
Thanks & Regards,
AlpaHi
Thanks for the reply.
But here in my case, there is a problem.
The table container in Workflow wil hav dynamic entries.
It will hav to pick it from other dynamic container elements (all single line) and append them in this container table.
For eg:
at runtime:
User1 = 'USABC'
User_table = 'USABC'
'USLMN'
'USPQR'
'USXYZ'
after one of these user execute a compose mail activity of SOFM-COMPOSE,
the User_table is left with only one user id who has executed the activity compose.
suppose USABC executes it so after that the conatiner values are:
User1 = 'USABC'
User_table = 'USABC'
Now i want that this table container shud hav all 4 values even after that activity for other purpose.
So how can i achieve that?
Thanks & Regards,
Alpa
Edited by: siri on Jul 9, 2008 8:32 PM -
How to get the Database table behind condition records
Hello All
In transaction VK13, after giving condition type, I can select sales document.
For a given Sales Document number, there are several conditions.
How can i extract all the conditions for a given sales document?
I am coding a report for this. In which database table can i get the condition between sales document number & different conditions attached to it?
On the screen, i can see that the fields are from the structure KOMG. What is the corresponding table?
Thanks
Chandra SekharHi,
corersponding tables will be konp , a771,a511,a564
here i am providing you sample query related to it
{ -Get the Territory list price YPR0
SELECT vkorgau
zzland1_ag
zzmatgrade
a511~kfrst
datbi
datab
kbetr
INTO TABLE it_list1
FROM a511
JOIN konp
ON a511knumh = konpknumh
WHERE a511~kappl = 'V'
AND a511~kschl = 'YPR0'
AND vkorgau = '5000'
AND zzland1_ag = v_land1
AND loevm_ko <> 'X'.}
Thanks & Regards,
Sateesh.
Edited by: sateesh kumar on Nov 12, 2009 12:59 PM -
How to get data from table to pass into alvgrid function module
i want to get some data from below table to pass into function module of alvgrid
how can i get data please help.
thanks in advanced.
form get_data.
select * into corresponding fields of table itab
from J_1IEXCHDR
inner join J_1IEXCDTL
on J_1IEXCDTLlifnr = J_1IEXCHDRlifnr
where J_1IEXCHDr~status = 'P'.
append itab.
endform.Pass your final table(internal table which you want to display) along with fieldcatalog to FM reuse_alv_grid_display.:\
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = i_repid
IT_SORT = gt_sort
it_fieldcat = lt_fieldcat[]
TABLES
t_outtab = lt_final
EXCEPTIONS
program_error = 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. -
URGENT:how to get the error table populated in ODI
Hello all,
I am working on an interface of ODI where mapping is from a XML file to the database tables. I want, when there is any bad data (having length size greater than the target table's column length or data type mismatch) the bad data should get rejected or separated.
I am using LKM, CKM, and IKM knowledge modules, but the erroneous record is not getting populated in even in the error table.
when I try to insert lets say 4 records and 2nd record is erroneous then it is only inserting the 1st record. i want that the erroneous record should get inserted in the error table.
Please suggest, if anybody is having any related information to get this done. That would be really helpful.
Thanks in advance!Hello Phil,
Thanks for your update.
The option which you have mentioned having cloumn as char 4000, I can not do that as my target tables are seeded tables.
I have also tried to get the data atleast in C$ tables having their length as varchar 4000. but it is not allowing to insert in C$ tables also.
In my case I am getting data for ex: date_of_birth in VARCHAR datatype from the source XML and I have converted it ot DATE while mapping it to target column having DATE as the datatype.
what if the DATE in xml source is invalid? its giving me the error while execution "Invalid datetime format". how would I identify that this error is for a particular record. If I can get this erroneous record atleast in C$ table I can find a work around for this correction then.
I hope you have solution for this problem :)
Thanks.
Maybe you are looking for
-
'Display PDF in browser' whats the default?
Can anyone tell me definitively what the current default setting has been for whether Preferences/Internet Options/'Display PDF in browser' is checked or unchecked? I'm curious to know as well if it has changed with 8, 9, and 10?
-
Good evening, I have a Leaf digital back, that I need to plug in to a laptop, for professional reasons. It´s powered through a firewire cable by the firewire port. The firewire port needs to have 12V of power output, to make the digital back work. Do
-
OS 10.9.5 and Safari 7.1 - No Videos
I Upgraded to OS 10.9.5 and Safari 7.1 Videos no longer play. I've had a few videos that will play for maybe 10 seconds, without any audio. I un-installed Flash and re-installed, checked Preferences for Java and other settings. No success yet. Ar
-
Does Spatial support "Earth Centered, Earth Fixed" to Lat/Long conversion?
Does Spatial support "Earth Centered, Earth Fixed" to Lat/Long conversion? I've looked in coordinate list table but don't see "ECEF" (or anything that might by a synonym for ECEF) listed. Thanks, Julien
-
Canon t5i, 50mm f1.4 or 85mm f1.8??
Hey guys im new to DSLRs. I recently bought my Canon Rebel t5i with the 18-135mm lens. Now i wanna upgrade a bit to take photos of family etc. I dont of to buy the 50mm f1.4 or the 85mm 1.8 please help. Solved! Go to Solution.