Problem in displaying output in sapscript
Hi,
I am working on the sapscript in which i am having 2 problems i.e. there is a footer window in which there is a box in which i want to draw the line so that it can be divided into 2 parts .
here's d code for it:-
SB Remarks: &WLINES(120)&
SB &WLINES+120(120)&
/: BOX XPOS '0' CH YPOS '4' LN WIDTH '114' CH HEIGHT '0' LN FRAME '10' TW
SB THIS IS A COMPUTER GENERATED REPORT AND DOESNOT REQUIRE A SIGNATURE
/* &WLINES(80)&
The 2nd problem is of the long text(description) of a thing in which the text gets divided when the line changed in a purticular column.is dere any way through which the text do not get divided when the line chnages.
Plzz provide me guidlines to solve this problem .
Edited by: ricx .s on May 4, 2009 10:07 AM
hi,
but there is a code written and should i use it for the whoel code.does it going to effect the whole codiing?
here;s d code:-
/E FINAL
C1 &i_final-count_c(3Z)& &i_final-text_c(24)& &i_final-result_c(8)&
&i_final-count_m(3)& &i_final-text_m(22)& &i_final-result_m(8)&
&i_final-nonconfirm_m(10)& &i_final-count_mi(3)& &i_final-text_mi(25)&
= &i_final-result_mi(8)& &i_final-nonconfirm_mi&
/* **** CHANGE THE NAME OF VARIABLE C, M AND MI RESPECTIVELY
/* FOR CRITICAL PROPERTIES
/: IF &I_FINAL-TEXT_C+24(16)& NE ' '
C1 &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
&i_final-text_m+22(18)&,, &i_final-result_m+8(8)&,,,,,,,,
&i_final-text_mi+25(15)&,,,, &i_final-result_mi+8(8)&
/: ELSEIF &I_FINAL-RESULT_C+8(8)& NE ' '.
&temp(40)& &i_final-result_c+8(8)&,, &i_final-text_m+22(18)&
= ,, &i_final-result_m+8(8)&,,,,,,,, &i_final-text_mi+25(15)&,,
= &i_final-result_mi+8(8)&
/* FOR MAJOR
/: ELSEIF &I_FINAL-TEXT_M+22(18)& NE ' '
C1 &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
&i_final-text_m+22(18)&,, &i_final-result_m+8(8)&,,,,,,,,
&i_final-text_mi+25(15)&,,,, &i_final-result_mi+8(8)&
/: ELSEIF &I_FINAL-RESULT_M+8(8)& NE ' '
C1 &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
&i_final-text_m+22(18)&,, &i_final-result_m+8(8)&,,,,,,,,
&i_final-text_mi+25(15)&,,,, &i_final-result_mi+8(8)&
/: ELSEIF &I_FINAL-TEXT_MI+25(15)& NE ' '
C1 &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
&i_final-text_m+22(18)&,, &i_final-result_m+8(8)&,,,,,,,,
&i_final-text_mi+25(15)&,,,, &i_final-result_mi+8(8)&
/: ELSEIF &I_FINAL-RESULT_MI+8(8)& NE ' '
C1 &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
&i_final-text_m+22(18)&,, &i_final-result_m+8(8)&,,,,,,,,
&i_final-text_mi+25(15)&,,,, &i_final-result_mi+8(8)&
/: ENDIF.
/E BREAK
/: NEW-PAGE
plzz provide me guidlines to solve this problem.
Similar Messages
-
Displaying output of sapscript
Hi,,
I had created a code in which i am displaying the output of the data in pdf format which is working fine but the thing is when i use to execut the program it display the print view in the pdf format and then ask to download which is due to the FM called 'PDF Preview'. But i want that it should display the data in sapscript first and then ask to save the file in PDF format .
Please provide me guidlines that is it possible to display the data in the sapscript and then save it in a pdf format.
Edited by: ricx .s on May 25, 2009 7:50 AMhi,
i am already using this FM and done the amendments mentioned above but still it is giving the same result not the desierd result .
please provide me guidelines to solve this problem.
here's the code which i am using right now:-
form otf.
call function 'CONVERT_OTF'
exporting
format = 'PDF'
importing
bin_filesize = BINFILESIZE
tables
otf = datab[]
lines = pdftab[]
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
if sy-subrc ne 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
CALL METHOD cl_gui_frontend_services=>file_save_dialog
CHANGING
filename = file_name
path = file_path
fullpath = full_path
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
OTHERS = 4.
IF sy-subrc NE 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = BINFILESIZE
FILENAME = full_path "file_name
FILETYPE = 'BIN'
TABLES
data_tab = PDFTAB[]
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 .
ENDFORM.
Edited by: ricx .s on May 26, 2009 10:12 AM
Edited by: ricx .s on May 26, 2009 10:12 AM
Edited by: ricx .s on May 26, 2009 12:31 PM
Edited by: ricx .s on May 27, 2009 5:32 AM -
Problem in displaying data in sapscript
Hi,
I am working on the sapscript for the tcode QC21 and the form name is 'YQM_QCERT_02'. here the data is represented in the column wise and i want to disply the data row wise.
Plzz provide me guidlines how to display the row wise data in the SAPSCRIPT.
Edited by: ricx .s on Apr 21, 2009 11:03 AM
Moderators message=>
Please post your questions in appropriate forums
Edited by: Vijay Babu Dudla on Apr 21, 2009 6:38 AM>
shelly Malik wrote:
> Hi,
>
> Please refer to the given below line may be helpful for u......
>
> https://www.sdn.sap.com/irj/scn/forums
in what way it is helpful -
Problem in displaying output - MBLNR FIELD
Hi,
I had developed a code in which i am not able to display the 1st fields properly in the output i.e. mblnr field.
In debugg mode i am able to fetch data coreectly for it ,but whne it comes to the display it shows no correct data for that field and rest of the fields data is correct.
here's d code:-
Tables: RSEG,MKPF.
DATA: BEGIN OF ITBKPF OCCURS 0,
BUKRS LIKE BKPF-BUKRS,
BELNR LIKE BKPF-BELNR,
GJAHR LIKE BKPF-GJAHR,
AWKEY LIKE BKPF-AWKEY,
BUDAT LIKE BKPF-BUDAT,
XBLNR LIKE BKPF-XBLNR,
AWTYP LIKE BKPF-AWTYP,
END OF ITBKPF.
DATA: BEGIN OF ITAB2 OCCURS 0,
BUKRS LIKE BSIK-BUKRS,
GJAHR LIKE BSIK-GJAHR,
XBLNR LIKE BSIK-XBLNR,
BELNR LIKE BSIK-BELNR,
WRBTR LIKE BSIK-WRBTR,
LIFNR LIKE BSIK-LIFNR,
END OF ITAB2.
DATA: BEGIN OF ITDEMO OCCURS 0,
BELNR LIKE RSEG-BELNR,
GJAHR LIKE RSEG-GJAHR,
LFBNR LIKE RSEG-LFBNR,
END OF ITDEMO.
DATA: BEGIN OF ITFINAL OCCURS 0,
BUKRS LIKE BKPF-BUKRS,
BELNR LIKE BKPF-BELNR,
GJAHR LIKE BKPF-GJAHR,
AWTYP LIKE BKPF-AWTYP,
AWKEY LIKE BKPF-AWKEY,
MBLNR LIKE MKPF-MBLNR,
MJAHR LIKE MKPF-MJAHR,
LFBNR LIKE RSEG-LFBNR,
WRBTR LIKE BSIK-WRBTR,
LIFNR LIKE BSIK-LIFNR,
END OF ITFINAL.
*SELECT-OPTIONS: S_MBLNR FOR MKPF-MBLNR.
SELECT-OPTIONS: P_LFBNR FOR RSEG-LFBNR.
START-OF-SELECTION.
BKPF
SELECT BUKRS BELNR GJAHR AWKEY BUDAT XBLNR AWTYP
FROM BKPF
INTO (ITBKPF-BUKRS,ITBKPF-BELNR,ITBKPF-GJAHR,
ITBKPF-AWKEY,ITBKPF-BUDAT,ITBKPF-XBLNR,ITBKPF-AWTYP)
WHERE AWTYP EQ 'MKPF' OR AWTYP EQ 'RMRP'.
MKPF
***********BEGIN OF TRY CODE***********
ITDEMO-BELNR = ITBKPF-AWKEY(10).
ITDEMO-GJAHR = ITBKPF-AWKEY+10(4).
SELECT LFBNR FROM RSEG INTO
(ITDEMO-LFBNR) WHERE
BELNR EQ ITBKPF-AWKEY(10)
AND GJAHR EQ ITBKPF-AWKEY+10(4) AND LFBNR > 0.
***********END OF TRY CODE**************
CHECK SY-SUBRC EQ 0 AND ITDEMO-LFBNR IN P_LFBNR.
BSIK
ITAB2-BUKRS = ITBKPF-BUKRS.
ITAB2-GJAHR = ITBKPF-GJAHR.
ITAB2-BELNR = ITBKPF-BELNR.
ITAB2-XBLNR = ITBKPF-XBLNR.
SELECT WRBTR LIFNR FROM BSIK
INTO (ITAB2-WRBTR, ITAB2-LIFNR)
WHERE BUKRS EQ ITBKPF-BUKRS
AND GJAHR EQ ITBKPF-GJAHR
AND BELNR EQ ITBKPF-BELNR
AND XBLNR EQ ITBKPF-XBLNR.
APPEND ITAB2.
EXIT.
ENDSELECT.
CHECK sy-subrc EQ 0?
APPEND ITDEMO.
EXIT.
ENDSELECT.
APPEND ITBKPF.
ENDSELECT.
Fields Found?
READ TABLE ITBKPF TRANSPORTING NO FIELDS INDEX 1.
IF sy-subrc NE 0.
MESSAGE i000(zmm1) WITH 'No documents found!'.
ENDIF.
Prepare Output
LOOP AT ITBKPF.
CLEAR ITAB2.
READ TABLE ITAB2
WITH KEY BUKRS = ITBKPF-BUKRS
BELNR = ITBKPF-BELNR
GJAHR = ITBKPF-GJAHR
XBLNR = ITBKPF-XBLNR.
ITFINAL-MBLNR = ITDEMO-LFBNR.
ITFINAL-BELNR = ITBKPF-BELNR.
ITFINAL-GJAHR = ITBKPF-GJAHR.
ITFINAL-AWKEY = ITBKPF-AWKEY.
ITFINAL-WRBTR = ITAB2-WRBTR.
ITFINAL-LIFNR = ITAB2-LIFNR.
APPEND ITFINAL.
CLEAR ITFINAL.
ENDLOOP.
DELETE ITFINAL WHERE WRBTR = 0.
END-OF-SELECTION
END-OF-SELECTION.
DELETE ITFINAL WHERE WRBTR = 0.
Output
LOOP AT ITFINAL.
WRITE: / ITFINAL-MBLNR,ITFINAL-BELNR, ITFINAL-GJAHR,ITFINAL-AWKEY, ITFINAL-WRBTR, ITFINAL-LIFNR.
ENDLOOP.HI,
Don't use offset values in the WHERE class of SELECT. I replied the same thing in the first day in your earlier posting.
Check the below code.....
CLEAR : lv_belnr,lv_gjahr.
lv_belnr = ITBKPF-AWKEY(10).
lv_gjahr = ITBKPF-AWKEY+10(4).
SELECT LFBNR FROM RSEG INTO
(ITDEMO-LFBNR) WHERE
BELNR EQ lv_belnr
AND GJAHR EQ lv_gjahr
AND LFBNR > 0.
Rgds,
Bujji -
Problem in displaying Japanese characters in SAPScripts
Hi All,
I am facing a strange problem in one of my SAPScripts. I have one script in both English and Japanese languages. The scripts are already existing. I had to do some minor changes in a logo window. I did them and i did not do any other changes in any of the windows.
When the output wa s seen for the script in the Japanese version, it was looking ok displaying all hte Japanese characters in various windows. Now, during testing , in the same server, the Japanese characteres are not shown. Instead , some ' #'(hash) symb ols are getting displayed.
How could it happen? Did any body face such problem? If so, can anybody plz help me out with the solution?
What shud i do to get back the Japanese characters in my script again?
Regards,
PriyaPriya.
this is not an ABAP problem ask your BASIS team to set printer cofing from SPAD.dont worry its not an ABAP issue at all.
sometime printer doesnt support special char so it need to be setting with printer.
Amit. -
Problem to display a negative number in XML Publisher output in excel
Hi All,
I am facing problem in displaying a negative number in XML Publisher output in excel.
My requirement is that I have to display a negative number in brackets when the output is taken in excel format. Eg: If the value is -123 then i have to display it as (123).
I have put these brackets using a formula column in the RDF, but it is the default functionality of excel that whenever there is a number in brackets then it automatically displays that as a negative value.
Can anyone please help me how I can display this negative number within brackets and not as a negative digit. Is there any special tag or is there any formula which can be used to convert this into text and written in the Help text of RTF template.
This is very urgent. If someone knows please reply asap.
Regards,
ShrutiThis is very urgent. If someone knows please reply asap.We are all volunteers here, so no ones questions are more urgent then other ones.
If its that urgent it would have helped if you had chosen the correct forum to ask your question BI Publisher -
hi,
i have two problems in displaying ALV grid output Using Oops.
1) How to modify the fieldcatalog after we getting a field catalog using general FM.
2) initialy it is displaying 13 fields but there are 63 fields .
eventhough we chage the layout to 63 fields it is displaying only 13 fields , these 13 fields may be different based on our selection but count of displayed fileds are same . how can display 63 fields at a time .Hi,
You can chnage using below code:
loop at gt_fieldcat.
if <gt_fieldcat-field_name> = 'FIELDNAME'.
endif.
modify gt_fieldcat.
clear gt_fieldcat.
endloop.
Make sure that all the field should not have no_out = 'X' and tech = 'X'.
Thanks,
Sriram Ponna. -
ALV output problem in displaying the field lengths.( LONG_DES1 & LONG DES)
I have declared itab of ALV output like below...
Internal table for ALV report generation***********
DATA : Begin of pdet_otab_alv occurs 0,
bukrs LIKE bsid-bukrs, "Company code
postm(4), "Posting month (YYMM format)
xblnr LIKE bsid-xblnr, "Reference document number
kunnr LIKE bsid-kunnr, "Customer (Supplier Billing Customer)
name1 LIKE kna1-name1, "Name 1
buzei like bsid-buzei,
gjahr like bsid-gjahr,
filkd like bsid-filkd, "Rep Number
rname like kna1-name1, "Rep Name
belnr LIKE bsid-belnr, "Document number (invoice number)
blart LIKE bsid-blart, "Document type
zfbdt LIKE bsid-zfbdt, "Baseline date
zterm LIKE knb1-zterm, "Terms
netdt LIKE bsega-netdt,"Due date
sgtxt LIKE bsid-sgtxt, "Text
agerg TYPE t_agerg, "Age range of invoice
wrbtr LIKE bsid-wrbtr, "Original invoice amount
due LIKE bsid-wrbtr, "Amount outstanding on invoice
long_des(250) type c, " Long description
<b> long_des TYPE string,
long_des1 TYPE string,</b>
date_s(10) type c, " Date
short_des(20) type c, " Short Description
counter type i,
End of pdet_otab_alv.
And after filling the internal table fields ( fields 'LONG_DES1' & 'LONG_DES' from FM READ_TEXT 's longtext, which are of 265 chars each )
<b>'LONG_DES1' & 'LONG_DES' are trimmed in ALV out put WHY ?</b>
w_fieldcat-fieldname = 'LONG_DES1'.
w_fieldcat-tabname = 'PDEL_OTAB_ALV'.
w_fieldcat-ref_fieldname = 'SCRTEXT_L'.
w_fieldcat-ref_tabname = 'DD03P'.
w_fieldcat-seltext_l = 'Original Note'.
w_fieldcat-col_pos = 17.
APPEND w_fieldcat TO fieldcat.
CLEAR w_fieldcat.
w_fieldcat-fieldname = 'LONG_DES'.
w_fieldcat-tabname = 'PDEL_OTAB_ALV'.
w_fieldcat-ref_fieldname = 'SCRTEXT_L'.
w_fieldcat-ref_tabname = 'DD03P'.
w_fieldcat-seltext_l = 'Latest Note'.
w_fieldcat-col_pos = 18.
APPEND w_fieldcat TO fieldcat.
CLEAR w_fieldcat.
<b>next part i.e., before passing fieldcat.... I have filled s_layout like below.</b>
<b> s_layout-max_linesize = 1000.
s_layout-colwidth_optimize = 'X'.</b>
Call the following function to display output in ALV form
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'ZFRSBOI0'
is_layout = s_layout
it_fieldcat = fieldcat
it_events = p_events[]
it_sort = p_it_sort[]
i_save = 'A'
TABLES
t_outtab = pdet_otab_alv1
EXCEPTIONS
program_error = 1
OTHERS = 2.
If the function call is not successful, raise error message
and come out from the program
IF sy-subrc <> 0.
message e000(00) with
'Unable to display report'(e01).
exit.
ENDIF.some body suggested me....we can display full length of text by below coding ?
Is that not correct - just asking....
s_layout-max_linesize = 1000.
s_layout-colwidth_optimize = 'X'.
Call the following function to display output in ALV form
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'ZFRSBOI0'
is_layout = s_layout
it_fieldcat = fieldcat
it_events = p_events[]
it_sort = p_it_sort[]
i_save = 'A'
TABLES
t_outtab = pdet_otab_alv1
EXCEPTIONS
program_error = 1
OTHERS = 2.
If the function call is not successful, raise error message
and come out from the program
IF sy-subrc <> 0.
message e000(00) with
'Unable to display report'(e01).
exit.
ENDIF. -
Hi Experts,
My fieldcatalog table is populated by using FM "REUSE_ALV_FIELDCATALOG_MERGE". But the fields qfieldname & qtabname is populated for one of the records in the catalog table which is creating problem in my output.
qfieldname is populated with previous fieldname in my internal table declared and qtabname with my int.table name. I was trying to sum the field but the value is splitted here.
when i manually remove qfieldname & qtabname am getting proper output.
why this two fields are populated? could anyone help...
sure for points.
Thanks in Adv,
Ponraj.s.Hi,
The two properties QFILDNAME & QTABNAME are for 'field with quantity unit' and the 'table name'. These field will get populated for Quantity fields....
In your case the quantity unit may be different for the records you are suming up...
if you want to remove these fields value ...
loop at i_fieldcat into wa_fieldcat.
if wa_fieldcat-fieldname = field name.
wa_fieldcat-qfieldname = ' '.
wa_fieldcat-qtabname = ' '.
modify i_fieldcat from wa_fieldcat.
endif.
endloop.
Satya. -
HO 6730b USB display problems (3 screen output)
I need my laptop to have a three screen display output. Primary Notebook, two external monitors secondary.
I can get this configuration to work using a USB dsiplay link adapater (UGA-2K-A). Other monitors on docking station either through VGA or DVI.
But in this configuration which ever is plugged in via usb I have a red/pink hue on any whites on screen. Odd as this dosent show up on screenshots??
ADapater manufactuer sys it aHP issue not there product
TrevorHi Trev99,
To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums. Here is a link to show you connecting for more than 2 monitors connected to your laptop. Note you laptop screen counts as 1 monitor.
Thanks.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping! -
Re:Problem in displaying the output by using filters
hi to all,
when using filters in ALV i am getting a problem of displaying the <b>full contents of a particular field while going for F4 option</b>.
even i using <b>ls_fieldcat-outputlen = field length</b> it is not coming .
please help me in this issue.
thanks
sun
Message was edited by: sun deepHello,
set ST_FIELDCAT-OUTPUTLEN to the actual lenght of the field.
regards,
Naimesh -
Big error in display text in SAPscript ?
hello experts ,
I am ecountering a great problem in displaying a list in SAPscript. That is :
The code is like
Loop at itab.
Write_form . "Main form/
End loop.
And in the sapscript code
&caufvd-matxt(40)&,,&caufvd-matnr(10)&
But when output :
AHJDHJAHDDAJHDJD 50255555
JAKLUEKWJEKWJKED 20555555
HASJDHUISYDUIDSUWE 85555555 "error in displaying , not in the same tab. (?)
zSJHDJSHDUISHUIYDUI 88888888
Althoug i have set the lenght of output value , but the result is like above.
I was so supprising , i do not know how to recover this problem
If you please tell me some advices .
Thank you very much .Change the tab space in the paragraph format.
Ex:
PH &caufvd-matxt(40)&,,&caufvd-matnr(10)&
Goto PH-> paragraph format and change the lenght of first tab to 40 LN
this will solve your problem.
Give point to all answers that helped to re-solve your issue.
Regards,
SaiRam -
To Display Output in Grid ALV with change of some field display total with
Hi Masters,
I m working on ALV in which i have to display output with the following format.
Header
"Some String" date/time
User:XYZ01 page 1
Line
1st field 2nd 3rd 4th 5th 6th 7th 8th 9th 10th field
x y z A B C D E F G
BLANK..............................................................................
"total 3rd+4TH" P Q R S T
same thing for every change of 4th field .
So the problem is with inserting the line with string "Total of 3rd+4th" in the output .
Can Anyone help me out?
Thanks ,
Varlani AmitHi,
Use control-break statement ON-CHANGE for the 4th field, and do the changes.
regards,
sri -
Problem with Excel output format
Hi Guys,
I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
Example Numeric fields --> Right Aligned, text fields --> Left Aligned
One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
Our client want excel output on priority.
Is there any limitation for excel output format of reports?
It is very urgent for us please help.
Any help would be highly appreciated.
Thanks,
Pragati
Edited by: user11237443 on Aug 27, 2009 1:22 AMHi Mahi,
Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
I have read that blog for excel limitations but i have more question?
1) What about the negative values?
if any field is displaying negative amount then excel not displaying right value for that:(
2)How can we align header or data?
Do XMLP with EBS provide any solution for formatting in excel?
3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
Here are so many formatting issues do we need to write any code in xml for that?
Please help.
Many Thanks,
Pragati -
Problem while displaying top of page in list display
Hi,
M facing problem in displaying top of page in list .
M using following methods:-
lr_outer_grid TYPE REF TO cl_salv_form_layout_grid,
lr_inner_grid TYPE REF TO cl_salv_form_layout_grid,
lr_label TYPE REF TO cl_salv_form_label,
lr_text TYPE REF TO cl_salv_form_text.
For displaying the top of page m using event TOP_OF_PAGE.
CREATE OBJECT lr_outer_grid.
*Outer grid
lr_inner_grid = lr_outer_grid->create_grid(
row = 1
column = 1 ).
*... create lable information in inner_grid
User ID
lr_label = lr_inner_grid->create_label(
row = 1
column = 1
text = text-h03 ).
*... create text information in inner_grid
lr_text = lr_inner_grid->create_text(
row = 1
column = 2
text = sy-uname ).
*... set label for text
lr_label->set_label_for( lr_text ).
But while m going to do same coding for second parameter its not intializing length so adding extra spaces while displaying second row.
e.g
USERID abcdefghjik
PLANT jhk to hjk
I want that output should look like
USERID abcdefghjik
PLANT jhk to hjk
Please tell me the solution what should i do for avoiding extra spaceHi Neelema,
You could try this sample code.
[http://sap-img.com/fu037.htm]
[http://sap-img.com/abap/sample-alv-heading-in-alv.htm]
Regards,
Amit.
Maybe you are looking for
-
Where can I get an additional power source for my MacBook Pro?
I am travelling to Europe next week and will be travelling on the road quite often. I would like to get some work done during that time. My laptop battery will inevitably run out of power during that time and I would like to carry an additional power
-
problem while trying to update my iphone 4 said would go to restore mode does that mean i loose all my music, texts and photos?
-
I lost the answers to my security question
I would like to rest my secrity question to [email protected] i have lost them or i dont remember what the answers are to them
-
WM : Config node Yard management is missing
Dear all, I have ECC 6.0 implemented. But Yard Management configuration node in SPRO under Logistic Execution is not available. What is missing? Do I need to activate any business function? Since which version the Yard management functionality is ava
-
I'm desperated, cannot install os x, please help
First of all I want to apologize for my english, I´m from Spain. The matter is I`ve 2 macs, one Macbook core duo 1.83ghz and now I´ve bought another macbook corre 2 duo 2ghz, the black one. The last one I bought of second hand and the guy doesn´t gav