Layout saved in ALV is stored in which table?
Hi,
Where does all the fields which are hidden from the layout in ALV are stored ..i mean i want to know for a pertcular layour which all fields are hidden and where is this detail data stored...
any pointer on the same is welcome..
Regards
Gunjan
hi,
call this FM to know which fields are used.
CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
EXPORTING
i_dialog = 'N'
i_user_specific = 'A'
i_default = 'X'
it_default_fieldcat = g_fcat
i_layout = g_layout
IMPORTING
et_fieldcat = g_fcat
es_layout = g_layout
CHANGING
cs_variant = g_variant.
loop at g_fcat( field catalog ).
check the no_out field
if no_out = ' ' then the field is in hidden column
or if no_out = 'X' then the field is in display column
endloop.
reward if helpful.
Similar Messages
-
Parked Vendor Invoices stored in which tables?
Parked Vendor Invoices (not yet post) stored in which tables (both header and items)?
Hi,
Check out following tables
VBSEGA - Document Segment for Document Parking - Asset
VBSEGD - Document Segment for Customer Document Park
VBSEGK - Document Segment for Vendor Document Parking
VBSEGS - Document Segment for Document Parking - G/L A/c
hope this helps -
Error messages in ABAP program are stored in which table
hi all,
Can anyone tell
error messages in ABAP program are stored in which table??Hi Sir ,
Please have a look below .Hope it is suitable and simpler solution for your question.
Please do reward if useful.
Thankx.
Fuction module for storing error messages ->'format_message'
for example...
data : v_message(100) type c.
call transaction NNNN mode A update S messages into it_messages.
loop at it_messages where msgty = 'E'.
call function 'format_message'
exporting
*it_messages details
importing
v_message.
write :/ v_message.
clear v_message.
endloop.
Anothe method - ->
Here is a sample of the program code for that:
LOOP AT it_messtab.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = it_messtab-msgid
lang = it_messtab-msgspra
no = it_messtab-msgnr
v1 = it_messtab-msgv1
v2 = it_messtab-msgv2
IMPORTING
msg = g_msg
EXCEPTIONS
OTHERS = 0.
IF it_messtab-msgtyp = 'S'.
it_sucess-sucess_rec = g_msg.
it_sucess-lifnr = it_header-lifnr." Based on your field
it_sucess-tabix = v_lines.
APPEND it_sucess.
ELSEIF it_messtab-msgtyp = 'E'.
it_error-error_rec = g_msg.
it_error-lifnr = it_header-lifnr.
it_error-tabix = v_lines.
APPEND it_error.
ELSE.
it_info-info_rec = g_msg.
it_info-lifnr = it_header-lifnr.
it_info-tabix = v_lines.
APPEND it_info.
ENDIF.
ENDLOOP. -
Regarding Layout saving in ALV
Hi,
In my requirement,i want to save layout of the ALV Report with data in it.So that i can use this variant and get the same data again.I tried with the code below,but its saving only layout,but not the data.
CALL METHOD grid1->set_table_for_first_display
EXPORTING i_structure_name = 'ty_fields_final'
i_save = 'A'
is_variant = g_variant
is_layout = gt_layout
it_toolbar_excluding = lt_exclude
I_DEFAULT = PDEFAULT
CHANGING it_fieldcatalog = gt_fieldcat_lvc[]
it_outtab = i_fields_final.
And also tried it with function module 'LVC_VARIANT_SAVE'.
Can any one help me in this.
Regards
Shibinhi,
Try this.
data: gwa_variant1 LIKE disvariant,
gwa_variant LIKE disvariant,
gf_repid LIKE sy-repid,
gf_exit(1) TYPE c,
gf_save(1) TYPE c.
INITIALIZATION.
gf_repid = sy-repid.
gf_save = 'A'.
CLEAR gwa_variant.
gwa_variant-report = gf_repid.
gwa_variant1 = gwa_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = gf_save
CHANGING
cs_variant = gwa_variant1
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = gwa_variant1-variant.
ENDIF.
AT SELECTION-SCREEN.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = gwa_variant
i_save = gf_save
IMPORTING
e_exit = gf_exit
es_variant = gwa_variant1
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF gf_exit = space.
p_vari = gwa_variant1-variant.
ENDIF.
ENDIF.
IF NOT p_vari IS INITIAL.
MOVE gwa_variant TO gwa_variant1.
MOVE p_vari TO gwa_variant1-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = gf_save
CHANGING
cs_variant = gwa_variant1.
gwa_variant = gwa_variant1.
ELSE.
CLEAR gwa_variant.
gwa_variant-report = gf_repid.
ENDIF.
end-of-selection.
gf_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gf_repid
it_fieldcat = gt_catalog
it_sort = gt_sort
it_events = gt_events
i_save = gf_save
is_variant = gwa_variant
TABLES
t_outtab = gt_output
EXCEPTIONS
program_error = 1
OTHERS = 2.
Hope this helps.
Regards,
Ramya -
How to find the current User Name and stored in which table
In which table the current user name (Login) is stored?
Hi Mohanapriya
The query provided by Gordon can not run on query generator as the $USER is a runtime variable.
You need to save it to a query then use it in a FMS(Formatted Search.)
Just open a form(ex:sales order ), click the field in which you want to show the user name,
then press ****+F2 or Tools->Search Function->Define,
Search by Saved query,then assign the save query to the field.
After that ,you can run the FMS(shift+F2) to get the current user info.
Regards,
Syn Qin
SAP Business One Forums Team -
Cost element hierarchy stored in which table..
Hi Experts,
could you please tell me which tables are storing the cost element hierarchy, which is displayed
in KAS3 hierarchy...like cost center group hierarchy is stored in SETNODE , which is displayed in
KSH3 transaction.
Thanks.Check these tables.
TKZU1
EVCE
TPIK2
TPIK3
TORB1 -
RFQ stored in which table.
Hi Gurus,
I want to know in which table the RFQ(Vendor Requisition number) is stored.
Regards,
KrishnaHi Bala,
Check the EKKO table for RFQ, like this.
EKKO-BSTYP = 'A'.
(Purchasing Document Category )
EKKO-BSART = 'AN'.
(Purchasing Document Type)
Regards,
KV. -
Where does ATP feed back from APO gets stored (in which table) in R/3?
Hi ALL,
I am facing problem in finding in which table the response in R/3 gets stores after ATP check is done in APO?
I will be grateful, if you experienced guys can help me find it?
Thanks in advance
ReeteshI would be surprised if the ATP feedback from APO gets stored in R/3 table. When a product location is flagged as GATP relevant, and when say a sales order is created in R3 (or any other business event flagged as ATP relevant) an RFC call is done to APO system and all calculations are done then and there in APO-- only confirmed quantity is sent back to R3. What you see in R3 is confirmed quantity and there is no other thing sent back to R3.
-
Parked Vendor Invoices (MIR7) stored in which tables ?
Dear All,
I need to write a report to show all park documents.
I know that this table store park document header.
vbkpf - Store All Park Documents Header (Include Vendor Invoice (MIR7))
However, I have checked some tables in the following and doesn't contain any vendor invoice details line transactions.
VBKPF Document Header for Document Parking
VBSEC Document Parking One-Time Data Document
VBSEGA Document Segment for Document Parking
VBSEGD Document Segment for Customer Document
VBSEGK Document Segment for Vendor Document
VBSEGS Document Segment for Document Parking
VBSET Document Segment for Taxes Document
VBWF09 People with Release Authorization
VBWF15 People with Release Authorization
Please help to comments which table to store Parked Vendor Invoices details line transactions.
Thanks in advance,
Best Reqards,
LeoHi,
Please check the table RSEG - Document Item: Incoming Invoice
Regards,
jigar -
Route Description is stored in which table??
Hi, i want to collect full route infomations within a SO by using a Query.
Currently i know that there should join some tables to get some info.
For example:
My output list will be showed like below:
SO# VBAK
Created on VBAK
SOrg./DChl/Dv VBAK
Sold-to pt VBAK
Material VBAP
Plnt VBAP
ShPt VBAP
Route VBAP
Departure Country ???
Departure zone ???
Shp.Cond. VBAK
Trans. Group MARA
DestinationCtry ???
Transport.zone VBPA
Route Description ???
I dont know which table could be used to get the value of those ??? fields??
And also want to know the Trans.Group found in table VBPA is right or not?
Thanks!!!
Message was edited by:
Hoo Laa
Message was edited by:
Hoo LaaIncase of Route determination without weight.
Table-Field: VBAP-ROUTE --> You get Route in Sales Order
Table & Field Link: TROLZ01-ROUTE = VBAP-ROUTE --> Table Joints
Table-Field: TROLZ01-ALAND --> You can capture Departure Country from here.
Table-Field: TROLZ01-AZONE You can capture Departure Zone from here
Incase of Route determination with weight
Table-Field: VBAP-ROUTE --> You get Route in Sales Order
Table & Field Link: TROLZ02-ROUTE = VBAP-ROUTE --> Table Joints
Table-Field: TROLZ02-ALAND --> You can capture Departure Country from here.
Table-Field: TROLZ02-AZONE You can capture Departure Zone from here
Regards,
Rajesh Banka
Reward suitable points.
How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread). -
ALV Layout set fields stored in Which table?
HI All,
I Developed ALV Report,and created Layout for that . I want to know where the all fields for particular layout set are stored?Hi
i am getting the error, not_found.
if i found the table entries i have 8 entries.
CALL FUNCTION 'LT_VARIANT_LOAD'
EXPORTING
I_TOOL = 'LT'
i_tabname = '1'
I_TABNAME_SLAVE =
I_DIALOG = ' '
I_USER_SPECIFIC = ' '
I_DEFAULT = 'X'
I_NO_REPTEXT_OPTIMIZE =
I_VIA_GRID =
I_FCAT_COMPLETE =
IMPORTING
E_EXIT =
ET_FIELDCAT = ttet_fieldcat[]
ET_SORT =
ET_FILTER =
changing
cs_layout = tcs_layout
ct_default_fieldcat = tct_default_fieldcat
cs_variant = GT_disvari
EXCEPTIONS
WRONG_INPUT = 1
FC_NOT_COMPLETE = 2
NOT_FOUND = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE 'Error loading variant!' TYPE 'I'.
ENDIF.
any clue on this -
can any1 suggest me a link or some idea on using a layout in alv.
wat i mean by layout here is not grid layout,but the layout which can be saved
to be more specific i was just goin through programs which used these func modules reuse_alv_variant_f4 to select the layout and 1 more function module to save.
I did not understand some part of these function modules n how exactly to use them, so if any1 can put some light on it??????for saving layout in alv list or grid
just give
i_save = 'A'.
it will give you option to save the layout.
regards
shiba dutta -
Sales order creation - data stored in which tables for customer
Hi experts,
During sales order creation, data entered during sales process is stored in various related tables. Can anyone list the tables where data is stored for customers?
Thank youDear Manisha
Once you saved the sale order,
- all header datas are stored in VBAK
- all item level datas are stored in VBAP
- schedule line confirmation in VBEP
- all condition types and values are stored in KONV / KONP
- Partner functions in VBPA
- Delivery related fields like Shipping Point, Delivery Date, Goods Issue etc., are all in VEPVG
thanks
G. Lakshmipathi -
Used t-code details stored in which table ?
hai exports,
i need to know in which standard table hold the history of report tcode usesd....
my req is to find the z-tode used frquntly in my production clint for analys the un wanted report t-codes...
can any one suggest this....
reward will avail for useful rep.
thanks in adv.......
jai.mHi,,
generallu tstct holds the required records i.e. tcodes..
TSTC SAP Transaction Codes
TSTC_LOG SAP transaction codes
TSTC_SM Control table SU22: Auth.obj.maint. for tr
TSTC_SRT Assign Transaction Codes to Reports
TSTCA Values for transaction code authorizations
TSTCA_C Values for Transaction Code Authorizations
TSTCC Additional Attributes for TSTC
TSTCCLASS User Interface Classification for Transact
TSTCP Parameters for Transactions
TSTCRID
TSTCT Transaction Code Texts
plzz reward if it is useful..... -
Smartform XML output stored in which table?
Hi Folks,
I wanted to know the table where SAP stores the XML output of a Smartform...
If not tables , please let me know where the output is stored....
Thanks
ReddyHello Reddy,
I suppose you are you calling Smartform execution with this kind of call (more or less):
CALL FUNCTION v_fm_name
EXPORTING
ARCHIVE_INDEX = s_archive_index
ARCHIVE_INDEX_TAB = s_archive_index_tab
ARCHIVE_PARAMETERS = s_archive_params
CONTROL_PARAMETERS = s_control_param
MAIL_APPL_OBJ = s_mail_appl_obj
MAIL_RECIPIENT = s_mail_recipient
MAIL_SENDER = s_mail_sender
OUTPUT_OPTIONS = s_output_options
USER_SETTINGS = 'X'
LV_SALES = p_sales
LV_PADDR = v_address_num
LV_ADRNR = v_adrnr
LV_EQUNR = v_equnr
LV_SERNR = v_sernr
IMPORTING
DOCUMENT_OUTPUT_INFO = s_doc_output_info
JOB_OUTPUT_INFO = s_job_output_info
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
You can get the document XML in the IMPORTING parameter JOB_OUTPUT_INFO, for example to download the XML document you can do something like this:
LOOP AT s_job_output_info-xsfdata INTO xsf_line.
l_line = xsf_line.
APPEND l_line TO l_table.
ENDLOOP.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\temp\test.xml'
TABLES
data_tab = l_table.
I am not sure the data is stored internally in any databse table (in addition to be return in the JOB_OUTPUT_INFO parameter).
Maybe you are looking for
-
Help
-
Please help me with the miniatures in pdf
Hi, I need help to see the miniatures generated in PDF . I have a very very large numbers of e-books in PDF to work and to study; and suddenly i cant watch the miniatures generated, only the adobe icon, make me impossible to found an specific book.
-
File name with latest time stamp for inbound interface
Hi experts, I have a requirement to develop an inbound interface in which I need to fetch the all files from the physical directory, and then retrieve the one with the latest timestamp. I found out the FM 'SUBST_GET_FILE_LIST', but this FM does not g
-
How to get the page layouts programmatically and create a page for that pagelayout
how get the page layouts programmatically and create a page for that pagelayout and add webpart please help me with da code.Thanks adityadugyala
-
I recently got this iMac and I plan on editing movies using Final Cut Pro. I will be editing HD and standard definition videos. My hard drive is only 150 g and I am aware that is too small. The current firewire ports I have are just 400 Mb/sec. I nee