Debugging ECC6: how to see the fields name when download internal table?
When we debug a reprot in ECC6 and save to a local file an internal table, the fields are not appearing only the data,
Is there a way to download also the table fields name?
From the new debugger switch to the classic debugger using menu path Debugger->Switch to Classic Debugger. Form the classic debugger you can download internal table data with column name(s).
Regards,
Joy.
Similar Messages
-
How to get the field name of an internal table during runtime?
How to get the field name of an internal table during runtime?
Hi Sudhir,
Declare and Use Get Cursor Field in Your Prm to get the field Name of the Intenal Table
Example Code:
<b> DATA: v_field(60). " Insert this code.
GET CURSOR FIELD v_field. " Insert this code.</b>
<b>CHECK v_field = 'ITAB-KUNNR'. " Insert this code. (or)
Write: v_field.</b>
Regards,
Ramganesan K. -
Getting field names of an internal table
Hi all,
Does anyone know if exists a statement, function module or method that gets the field names of an internal table ?
Thanks in advance,
DavidHi,
See this
REPORT typedescr_test.
TYPES:
BEGIN OF my_struct,
comp_a type i,
comp_b type f,
END OF my_struct.
DATA:
my_data TYPE my_struct,
descr_ref TYPE ref to cl_abap_structdescr.
FIELD-SYMBOLS:
<comp_wa> TYPE abap_compdescr.
START-OF-SELECTION.
descr_ref ?= cl_abap_typedescr=>describe_by_data( my_data ).
WRITE: / 'Typename :', descr_ref->absolute_name.
WRITE: / 'Kind :', descr_ref->type_kind.
WRITE: / 'Length :', descr_ref->length.
WRITE: / 'Decimals :', descr_ref->decimals.
WRITE: / 'Struct Kind :', descr_ref->struct_kind.
WRITE: / 'Components'.
WRITE: / 'Name Kind Length Decimals'.
LOOP AT descr_ref->components ASSIGNING <comp_wa>.
WRITE: / <comp_wa>-name, <comp_wa>-type_kind,
<comp_wa>-length, <comp_wa>-decimals.
ENDLOOP. -
How to see the pass folios when log in to another cell phone or iPad
how to see the pass folios when log in to another cell phone or iPad
You need to log into the content viewer with the same Adobe ID you used to create the folio. Note: iPad folios will not appear on the iPhone but should be available on all other devices.
-
Hi Experts,
Pls. let me know that,
How to fetch the SAP Standard Prog. built internal table into my_z_prog.?
For more explannation, pls. see my other thread with name of yestrday,
SUBMIT RFGLBALANCE WITH selection criteria, then How to get resulted itab?
thanqHi
Suppose RFGLBALANCE is your standard program and you have an internal table named I_RFGLBALANCE.
And lets say your Z program name is Z_SRINIVAS.
First find out the type of the internal table you want in your Z-program in the standard program. And declare an internal table of similar type in your Z-program.
I hope you can do this much.
Later wherever you are putting the below mentioned code.
SUBMIT RFGLBALANCE WITH selection criteria
Write the code which i have written.Obviously modify it to suit your requirement.
Please show what is not working fine so that even anyone else can help you with the problem you are facing.
Regards,
Mayank -
To read the column names of an internal table
Hi ,
I want to read the column/field names of an internal table into another internal table.
How can this be done?
Kind Regards,
hgarsht RungtaHi ,
you can get the attributes of any internal table into another ..
check the following code ..
DATA : it_mara TYPE STANDARD TABLE OF mara WITH HEADER LINE.
DATA : it_detail TYPE abap_compdescr_tab,
wa_comp TYPE abap_compdescr.
DATA : ref_descr TYPE REF TO cl_abap_structdescr.
ref_descr ?= cl_abap_typedescr=>describe_by_data( it_mara ).
it_detail[] = ref_descr->components .
loop at it_detail into wa_comp.
write:/ wa_comp-name .
endloop.
Regards,
Rajesh Kumar -
How to validate the file path when downloading.
Hi
How to validate the file path when downloading to Presentation or application Server.hiii
you can validate file path by following way
REPORT zvalidate.
TYPE-POOLS: abap.
DATA: w_direc TYPE string.
DATA: w_bool TYPE abap_bool.
w_dir = 'c:\Myfolder\'.
CALL METHOD cl_gui_frontend_services=>directory_exist
EXPORTING
directory = w_direc
RECEIVING
result = w_bool
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
wrong_parameter = 3
not_supported_by_gui = 4
OTHERS = 5.
IF NOT w_bool IS INITIAL.
WRITE:/ 'Directory exists.'.
ELSE.
WRITE:/ 'Directory does not exist.'.
ENDIF.
regards
twinkal -
Script : how to change the Field name in standard program(ZM_MEDRUCK)
Hi Experts,
I am working with SAP SCRIPT. i need to change the Field Name that is PO NO to Document No & PO DATE to Document Date.
These are assigned in data declaration as gv_name and gv_date.
Can anyone help me to change this Fields.
Regards,
Vijayan.RHi,
You can archive this by making change in SAP script only. You don't need to touch the standard prgm.
Debug the script and find it out which fields (In script editor) are printing these text on layout... then just replace them by creating your own text...
You can create a text in TTDTG table,, like ZZPO_NAME = ( Document Name),, and use this filed in the script editor.
&ZZPO_NAME& -
How to capture the field name on a form when it's double-clicked?
Hello,
I plan to create a two field Help table that uses the thirty or so unique field names on the user form in field one. The second field is a Memo type field that contains the Help information for each field.
Once I know the field name clicked, I will probably use a query to retrieve the help information. I'm planning to use the Double-Click event so the users can double-click any field on the form to be presented the specific field related information
from the Help table.
How can I capture the name of the field that was double-clicked, so I can proceed with this project? Thank you.
Cordially,
John
Thank you, John Portland, MaineThank you, Hans,
How about this code:
Dim varClickedFieldName as String
varClickedFieldName = ScreenActiveControl.ControlSource
Or would you recommend other code?
Cordially,
John
Thank you, John Portland, Maine -
How to retrieve the Field Name of a Table
Hi guys,
I'm trying to retrieve the field name of a table in java, but i don't know how to do it. Could somebody help me?Let say i have a table name Itemmaster, then
i want to retrieve its field and display to dos prompt.
Example :
Item No.
Description
Quantity
It is possible to retrieve the fields?
What could be the possible command in java using packages Java.sql.*?
Thanks in advanced...
Best regards,
DharryThe ResultSet class, which is how query results are returned in JDBC, has methods to get at the metadata for the table queried, including column names:
ResultSet resultSet=statement.executeQuery("select * from table");
resultSetMetadata=resultSet.getMetaData();
resultSetMetadata.getColumnLabel(column+1); -
How to change the field name in SUS
HI,
In the section view all PO's, I want to change the field name <b>document number</b> to <b>invoice number</b>.Please do let me know how to go about it.
Thanks in advance ,
ManuHi,
The text ID should be first identified in the BSP (BBP_SUS_UI/DOC_NUMBER?)
Next execute SOTR_EDIT and use the FInd button. Enter the package of the BSP object (BBP_SUS_U?) and select the language as English. Execute the program and you will a complete list of text used in SUS screen. Locate the text ID as above and double click to change based on what you need.
Regards. -
I want to change the field name in Oracle schema
Can I do ir?
If yes, please tell me how to type the SQL
ThanksUse ALTTAB command of my freeware SQLPlusPlus to ALTER a table anyway you like including inserting columns within the middle of the table.
regards,
M. Armaghan Saqib
SQL PlusPlus - Add power to command line of SQL Plus
SQL Link for XL - Integrate Oracle with XL
Download free: http://www.geocities.com/armaghan/
null -
How to see the "display name" at workflow e-mail notification?
Hi all,
I would like to see the display name instead of the e-mail address when I receive a workflow e-mail notification. It seems to be something likes that:
From: KM Notification System <[email protected]>
<b>Is it possible to configure the e-mail notification to do it?</b>
PS.: I already tried to configure the e-mail notification at UME configuration (using config tool) and replaced [email protected] with KM Notification System <[email protected]>. But, after restart the server Im still receiving workflow e-mail notification without the display name appearing.
Thanks in advanced,
Alcides FlachHi,
I solved the problem. Its is working now.
I've replaced the notificator.EMAIL* [email protected] with KM Notification System <[email protected]> and it works fine.
*System Administration >> System COnfiguration >> Knowledge Management >> Content Management >> Utilities >> Channerl Originators
Cheers,
Alcides Flach -
Reg: field names of an Internal table
Hi all,
I'd like to display all the field names of the internal table or a structure.
I want it very urgent.
Use ful answers will be awarded greatly.
Thanks in advance.
Jagan Mohan.Hi Jagan,
Use the below code.
TYPE-POOLS: SYDES.
DATA: TD TYPE SYDES_DESC.
DATA: BEGIN OF WA OCCURS 0,
CONTINUE TYPE C,
NAME(15) TYPE C,
END OF WA.
TYPES:BEGIN OF STR1,
NUM(3) TYPE N,
NAME(20) TYPE C,
END OF STR1.
*DATA: ITAB LIKE T247 OCCURS 0 WITH HEADER LINE.
*DATA: ITAB TYPE STR1 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF ITAB OCCURS 0,
NUM(3) TYPE N,
NAME(20) TYPE C,
END OF ITAB.
DESCRIBE FIELD ITAB INTO TD.
WA[] = TD-NAMES[].
LOOP AT WA.
IF WA-NAME = SY-REPID.
DELETE WA.
CONTINUE.
ENDIF.
SEARCH WA-NAME FOR '-'.
IF SY-SUBRC = 0.
DELETE WA.
CONTINUE.
ENDIF.
SEARCH WA-NAME FOR '='.
IF SY-SUBRC = 0.
DELETE WA.
CONTINUE.
ENDIF.
ENDLOOP.
LOOP AT WA.
WRITE: / WA-NAME.
ENDLOOP. -
How to find the field name of variable system information on SAP B1
Hi All,
I recently wanted to create a simple SQL query to list all ITEM MASTER DATE where the weight is blank. This is so i can get a list of all items with the weight information missing from the system to investigate.
It turns out the weight field within the SALES DATA tab is a system variable. When i pull the OITM table up within the query generator i can not identify where this variable name come up without guessing which can give me the wrong information.
Can someone point me into the direction on how to assisocate variable to a field name within SAP B1. This is also another problem if i wanted to display variable within Crystal report layout.
RegardsHi Nick Dang,
Try This
SELECT T0.[ItemCode], T0.[ItemName], T0.[SalUnitMsr], T0.[SHeight1], T0.[SWidth1], T0.[SLength1], T0.[SVolume], T0.[SWeight1] FROM OITM T0 WHERE T0.[ItemCode] =[%0]
Thanks,
Srujal Patel
Maybe you are looking for
-
How to find DB schema from Java codes
Hello, Do you know whether there are java packages/classes to find the DDIC (schema) info of DB tables (the tables created by Netweaver Dev. studio)? Thanks, Martin
-
How to reduce prompting for "Master password"
I hope there may be a setting to address this issue... I have a number of passwords saved for various non critical web sites such as this forum. Recently I set a "master password" to protect my saved passwords. Whenever I open a page which has text b
-
Problem with convert_otf Ecc 6.0
Can you help with this? So basically we are focussed on why convert_otf is behaving differently in ECC 6 and its working fine in 4.6C. Fields were getting clipped in the final output is what we found in the debugger and the logo did not show up when
-
I've been using a Saffire FW audio interface successfully for a couple of weeks. All of a sudden my tower won't start up if the Saffire is connected. The Saffire works fine with my PowerBook (G4 12"), and other FW sound cards work fine with the tower
-
I need a mosfet based H bridge circuit for 36V and 4 ampere motor please help me
i want to control a D.C motor by mosfet H bridge the motor is of 36V and about 4 ampere i need a H bridge circuit to operate the motor please help me