All fields are getting displayed in the output (ALV)
Hi i have declared an Internal table as folllows -
DATA: BEGIN OF itab1 OCCURS 0,
vbeln type vbeln,
bstnk like vbak-bstnk,
erdat like vbak-erdat,
kunnr like vbak-kunnr,
char type c ,
END OF itab1.
and reading data from table VBAK and filling the internal table..
but when i m displaying data i give the internal table name in the 'reuse grid' function' and structure name 'VBAK'..
in the ouput it is showing all the fileds of VBAK,,wht to do?
hi,
Make sure you have passed the reference table also as itab1 and NOT vbak.
Also U need to pass the Field Catalog filled in. IT_FIELDCAT parameter.
In FM REUSE_ALV_FIELDCATALOG_MERGE ->
the parameter I_INTERNAL_TABNAME should be set to itab1 and NOT vbak.
Regards,
Vivek.
**->Reward points if helps.
Similar Messages
-
All fields are not displaying in the infotype screen control
Hello Everybody,
All the fields from infotype 2001 and 2002 are not getting displayed in the screen control for these infotypes and
when I checked the screens for these infotypes, the mod. groups/functions has not been set for field 'Group3' for those
infotype fields.
Is there a way I could set this field ' Group3' for these infotype fields also ? Can it be done thru screen exit and if yes could
anyone tell me what's the screen exit for these infotypes ?
Thanks
Aloksolved it myself.
-
Fields are getting displayed two times in alv grid
Hi experts,
I have developed an interactive alv.
in basic list i have given two push buttons.
if first button is selected it should display one list and second button is selected another list.
I am displaying all the three lists using the FM 'REUSE_ALV_GRID_DISPLAY'.
my problem is if select any of the button it is displying the data correctly,
but if I come back to the basic list and click on the same button it is displaying each field two times(in two columns).
and if click the same button third time it is displaying the fields three times(3 columns).
can anybody tell me how to avoid this.
Thanks,
SudheerHI,
It seems like REFRESH of internal tables is missing. Please check and correct.
Thanks,
Vinod. -
Quantity fields not getting displayed in the second total row
Hi,
As per the requirement I have to display 2 total rows for an ALV report using CL_GUI_ALV_GRID. I am able to get the first total row properly using method get_subtotal(). However for the next total row only the character fields are getting displayed and the quantity fields are coming blank.
The second total row will have different values based on a formula.
Please help me out in resolving the issue.
Thanks,
AbhishekYou can provide first row as the SUBTOTAL and next row as the TOTAL.
Get one extra column on which you can do the SUBTOTAL.
Regards,
Naimesh Patel -
Comas(,) are not getting displayed in the output while using OO ABAP
Hi All,
I am using ABAP objects to display the ALV report in which there is a requirement to output Quantity fields. The Quantity fields are getting displayed without comas ','. Please help me in getting back the comas in the output.
Eg:
Below logic is used in my program.
Class name: cl_salv_form_layout_grid
Code:
obj_footer->create_text(
row = v_row_cnt
column = v_col_cnt
text = Quantity).
Expected output:
39,545.000
Current Output:
39545.000
Thanks in advance for your help.
Thanks & Regards,
Siva.Hi,
Please check if the images are in the server and in the /images alias path.
thanks,
Sharmila -
Not all fields are getting updated in transformation
Dear all,
Please help me in the following issue:
I have the following scenario:
DSO1 and CUBE1. From DSO1 to CUBE1 I have transformation. Fields are mapped one to one.
Some of the fields are getting updated in transformation (22 fields) and some of them are not updated in transformation. (2 - storage location and steel grade).
The fields exist in DSO 1 but don't go into cube.
I did the following:
1. deleted transformation and dtp, recreate = > not working
2. copied the cube, and create new transformation and DTP...not working.
Any help would be appreciated
Thank you
RamonaHi Ramona,
Storage location (standard infoobject 0STOR_LOC) has plant as compunding object, check whether this is the issue ? (may be check with Steel grade infoobject also).
Else, do some RSRV checks on the DSO and Infoobject, if it doesn't bring up any issue, raise a message with SAP.
Check your BW Support Pack level , is it the latest ? Give more details about the scenario ?
Cheers,
CK -
SAP Fields not getting displayed on the BDT screen
Hello Gurus,
I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
5. Attach the section to the Subclaim Overview Screen.
6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
Reagrds,
ShivaHi Shiva,
did you create your own Z BDT application? Is it set to be active?
I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
Regards,
Frank
Message was edited by: Frank Vieregge -
All fields are not displayed in SM30
Dear All,
I have created one Z-Table with 5 fields. For that Z-Table I have maintained table maintenance generator. Now in SM30 I am able to see only 3 fields, I have checked all the options but I am not able to find out what is the problem that 2 fields are not getting displayed.
Please tell me what might be the issue?
warm regards,
nishuHI,
While generating the TM there is oneoption which can disable some fields in sm30.
I think they may be the reason in your case.
regards, -
Fields not getting displayed in Sapscript
Hi Guyz,
I have a customized Sapscript form ZPV_INVOICE and its print program RVADIN01. This form outputs the Sales Invoice. When the print preview is triggered, Material number (MATNR) is not getting displayed on the form. However, when the form is debugged, MATNR values are properly fetched and showed (while debugging only, not in output).
Can somebody please let me know the reason, why the MATNR is not getting displayed on the output, even though it is showing values while debugging.
Thanks in advance !Hi ,
Then check matnr field which is display is same what you are checking in debugging .
COnfirm the field and check whether data stays till end of module .
regards
Deepak. -
Fields not getting updated in the database through BAPI enhancement
Hi Experts,
I have added 4 custom fields in the transaction FB60. The fields are getting displayed in vendor line item.
I have to fill these fields from an inbound idoc which uses the BAPI_ACC_DOCUMENT_POST bapi. I have implemented the BADI BADI_ACC_DOCUMENT to pass my custom fields to the bapi and it is processing correctly by adding the custom field values to the extension table that is getting passed to the standard program of the BAPI from the BADI.
But I think, I have missed to append my fields in one of the standard structures. I have added the fields in BSEG, CI_COBL( which is getting called in BAPICOBL_CI, ACCIT).
Can anybody tell me which other standard structure I should add my custom fields so that it functions properly and gets added to the BSEG table.
Regards,
Sangeeta.Solved on own.
-
Proxy output not displayed in the output XML
Hi,
I have created a web service and is calling the service using SOAP UI tool. To do it i have created an RFC Fm and inported to SAP PI and activated it with the input and output parameters that i need. When i am calling the service through the SOAP UI, in debugging( in the provider class of the service interface of the sproxy transaction ) i am able to see the values filled in one of the parameters but the same is not getting displayed in the output XML.(Response). Can any one please suggest what cud be the reason.
ThanksHi,
can give us a hint? Code output, screenshot? btw I hope your service is a Synchronous service.
Thanks Nick. -
2 structures in the column,structure not displaying in the output(RSRT)
Hello BI Folks,
I have a requirement where the user enters the input(text variable)
say 03/2011 then the report output should be Jan,Feb,Mar.
say 05/2011 then the output should be Jan,Feb,Mar,Apr,May,likewise.
The report output should be:(if the text variable is---02/2011)
Brand Jan Feb Mar April May June July Aug Sept Oct Nov Dec
Sales Foc Sales Foc Sales Foc Sales Foc Sales Foc Sales Foc Sales Foc Sales Foc Sales Foc Sales Foc Sales Foc
A 455 56 38
B 03 32
C
D 90 2 75 69
I am acheievin this by using creating 2 structures in the columns.
1 structure is for jan-dec & another structure for the KPIs(sales,FOC).
I am writing customer exit to read the text variable & get the data for the variable read.
lo_year = sy-datum+0(4).
lmon =sy-datum+4(2).
READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'text_variable'.
l_s_range-low = loc_var_range-low.
ln_value = l_s_range-low+4(2).
DO ln_value TIMES.
l_counter = l_counter + 1.
CONCATENATE 'customer_exit_mons' l_counter INTO lv_text.
CASE i_vnam.
WHEN lv_text.
IF i_step = 2.
CONCATENATE lo_year lmon '01' INTO lv_startdate.
** Call a function module to arrive the enddate.
CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
EXPORTING
day_in = lv_startdate
IMPORTING
last_day_of_month = lv_enddate.
l_s_range-low = lv_startdate.
l_s_range-high = lv_enddate.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
CLEAR l_s_range.
ENDIF. "End IF
ENDCASE. " End Case
lmon = lmon + 1.
ENDDO. " End of Do loop
CLEAR: ln_value , lv_text .
The problem is i am not getting the query ouput atleast not the query structure.Is there any other way to achieve this type of output.
Note:--The text variable wil be based on 0calmonth.
The custmer exit variables Jan-dec is based on 0calday.
Edited by: shreyaJ on Nov 18, 2011 11:49 AMHi crazymatts,
Thanks for ur reply.
There is no data in the text variable (0CALMONTH).
But i think the structure atleast gets displayed in the output,am not gettin even that.
And there is no reference characteristics on the text variable.Its a manual input variable which i will be using in my code.
Thanks,
Shreya J.
Edited by: shreyaJ on Nov 23, 2011 8:12 AM -
How to make the field in the output ALV report editable ?
Hi,
I have a requirement to make fields like MATNR,WERKS in the output ALV report editable . Could any of you help me with this ?.
Thank you.
Moderator Message: Search.
Edited by: kishan P on Sep 6, 2010 6:35 PMHi
Please for available information on SCN. There are a lot of information on SCN about ALV wit hEDIT functionality.
Regards
Abhii -
Total is not getting displayed in the ALV output.
Hi,
Total is not getting displayed in the ALV output.
I m using :REUSE_ALV_BLOCK_LIST_APPEND & REUSE_ALV_BLOCK_LIST_DISPLAY
Are there any issues with it as the same settings are working fine with REUSE_ALV_LIST_DISPLAY
source code:
DATA: layout TYPE slis_layout_alv,
IT_eventS TYPE slis_t_event,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
rec_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
TYPES: BEGIN OF ty_tab,
belnr TYPE dberchz-belnr,
belzart TYPE dberchz-belzart,
net TYPE dberchz-nettobtr,
END OF ty_tab.
DATA: lt_tab TYPE STANDARD TABLE OF ty_tab.
SELECT belnr belzart nettobtr
FROM dberchz
INTO TABLE lt_tab[]
WHERE belnr eq '000000000001'.
if sy-subrc ne 0.
ENDIF.
* defining layout
layout-colwidth_optimize = 'X'.
layout-def_status = 'X'.
*defning event
*event
*defining field catalog
fcat-col_pos = 1.
fcat-fieldname = 'BELNR'.
fcat-tabname = 'LT_TAB'.
APPEND fcat.
fcat-col_pos = 2.
fcat-fieldname = 'BELZART'.
fcat-tabname = 'LT_TAB'.
APPEND fcat.
fcat-col_pos = 3.
fcat-fieldname = 'NET'.
fcat-tabname = 'LT_TAB'.
fcat-do_sum = 'X'.
APPEND fcat.
*calling alv
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = 'YZ_PLR'
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* IT_EXCLUDING =
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = layout
it_fieldcat = fcat[]
i_tabname = 'LT_TAB'
it_events = IT_EVENTS[]
* IT_SORT =
* I_TEXT = ' '
tables
t_outtab = lt_tab[]
* EXCEPTIONS
* PROGRAM_ERROR = 1
* MAXIMUM_OF_APPENDS_REACHED = 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.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
Thanks,
GauravHi
No I don't think, this is my code (based on your code) and it works fine:
TYPE-POOLS SLIS.
DATA: BEGIN OF LT_TAB OCCURS 0,
BELNR LIKE BSEG-BELNR,
GJAHR LIKE BSEG-GJAHR,
WRBTR LIKE BSEG-WRBTR,
WAERS LIKE BKPF-WAERS,
END OF LT_TAB.
DATA: LAYOUT TYPE SLIS_LAYOUT_ALV,
IT_EVENTS TYPE SLIS_T_EVENT,
FCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
REC_FCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
START-OF-SELECTION.
FCAT-COL_POS = 1.
FCAT-FIELDNAME = 'BELNR'.
FCAT-TABNAME = 'LT_TAB'.
FCAT-REF_FIELDNAME = 'BELNR'.
FCAT-REF_TABNAME = 'BSEG'.
APPEND FCAT.
FCAT-COL_POS = 2.
FCAT-FIELDNAME = 'GJAHR'.
FCAT-TABNAME = 'LT_TAB'.
FCAT-REF_FIELDNAME = 'GJAHR'.
FCAT-REF_TABNAME = 'BSEG'.
APPEND FCAT.
FCAT-COL_POS = 3.
FCAT-FIELDNAME = 'WRBTR'.
FCAT-TABNAME = 'LT_TAB'.
FCAT-CFIELDNAME = 'WAERS'.
FCAT-REF_FIELDNAME = 'WRBTR'.
FCAT-REF_TABNAME = 'BSEG'.
FCAT-DO_SUM = 'X'.
APPEND FCAT.
FCAT-COL_POS = 4.
FCAT-FIELDNAME = 'WAERS'.
FCAT-TABNAME = 'LT_TAB'.
FCAT-REF_FIELDNAME = 'WAERS'.
FCAT-REF_TABNAME = 'BKPF'.
FCAT-DO_SUM = SPACE.
APPEND FCAT.
SELECT * FROM BSEG INTO CORRESPONDING FIELDS OF TABLE LT_TAB
WHERE BUKRS = 'MAAB'
AND BELNR = '0000000001'.
LT_TAB-WAERS = 'EUR'.
MODIFY LT_TAB FROM LT_TAB TRANSPORTING WAERS WHERE WAERS = SPACE.
*CALLING ALV
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
I_CALLBACK_PROGRAM = 'ZPROVAMAX5'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
IS_LAYOUT = LAYOUT
IT_FIELDCAT = FCAT[]
I_TABNAME = 'LT_TAB'
IT_EVENTS = IT_EVENTS[]
TABLES
T_OUTTAB = LT_TAB[].
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
I've also inserted a currency field
Max -
Whenever a record is Edited the rows are not getting displayed in the repor
Hi all,
When a new record is added or edited, It is physically getting added or edited according to the process, but those records are not getting displayed in the report..
Please Any body faced this situation...
Help me to identify what error i am doing........
thanks in advance
kavitha LHi KChamarti,
I am also trying to display images insid the datagrid but i get a weird broken image(all silver gray).
My item renderer is:
<mx:DataGridColumn headerText="Type">
<mx:itemRenderer>
<mx:Component>
<mx:HBox verticalGap="2">
<mx:Image id="dgImage" source="\assets\images\{toLowerCase(data.type)}.jpg" />
<mx:Label text="{data.type}"/>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
Am i mentioning the source of the image in the right way?
Maybe you are looking for
-
Maintaining BW authorization data in R/3
Hi, I am faced with a new problem now. My client wants to maintain BW authorization data in R/3 for ease of maintainence. I have used two ODS template for data (value) and (hierarchy) - (0TCT_DS01 and 0TCT_DS02) and have created two data targets for
-
Can you scroll and drag items in stacks?
Hi, I know that in Snow Leopard it is possible to scroll in stacks but does anyone know if there is a tweak/modification available that can enable owners of Leopard to also scroll in stacks? And also is there any way to drag from stacks when in List
-
When I try to move a rented movie from my computer to apple tv, it won't move.
When trying to move a rented HD movie from my imac to apple tv I click move then apply and the movie goes back to the rented movies box.
-
CC4 not working with OSX 10.9 - Fatal Error Message
I just loaded Creative Suite 4 from my old Mac to my new Macbook Air (OS X 10.9). Everytime I try to open a document the program quits and it says "Fatal Error - Missing Component." followed by the following: /Library/Application Support/Adobe/Adobe
-
Are there any 30 pin female to lightning adapters that support video and audio together?
I have a wowwee cinemin slice projector and I wondering if there are any products that will convert the 30 pin to lightning that supports audio and video, since the Wowwee Cinemin Slice plays video through the iPhone, but currently only has the 30 pi