Is there any options there in fieldcatalog ?
hi friends..
i am using ALV report using fieldcatalog..
in that i dispaly the field with output length 10..
but i want that output length as optimised one...
ie based on the maximum digitsin the field it get vary..
is there any options there in fieldcatalog ?
Hi see This program .
REPORT zn_alv_complex .
TABLES : vbrk .
TYPE-POOLS : slis .
CONSTANTS : gc_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
TYPES : BEGIN OF ty_vbrk ,
vbeln TYPE vbrk-vbeln ,
vkorg TYPE vbrk-vkorg,
vtweg TYPE vbrk-vtweg,
kunrg TYPE vbrk-kunrg,
END OF ty_vbrk,
BEGIN OF ty_vbrp,
vbeln TYPE vbrp-vbeln,
posnr TYPE vbrp-posnr,
matnr TYPE vbrp-matnr,
netwr TYPE vbrp-netwr,
END OF ty_vbrp,
BEGIN OF ty_final,
vbeln TYPE vbrk-vbeln ,
posnr TYPE vbrp-posnr,
matnr TYPE vbrp-matnr,
netwr TYPE vbrp-netwr,
vkorg TYPE vbrk-vkorg,
vtweg TYPE vbrk-vtweg,
kunrg TYPE vbrk-kunrg,
END OF ty_final .
DATA : it_vbrk TYPE TABLE OF ty_vbrk,
it_vbrp TYPE TABLE OF ty_vbrp,
it_final TYPE TABLE OF ty_final ,
wa_vbrk TYPE ty_vbrk,
wa_vbrp TYPE ty_vbrp,
wa_final TYPE ty_final ,
git_event TYPE slis_t_event,
git_layout TYPE slis_layout_alv,
git_fieldcat TYPE slis_t_fieldcat_alv,
gwa_fieldcat TYPE slis_fieldcat_alv.
SELECT-OPTIONS : s_vbeln FOR vbrk-vbeln,
s_vkorg FOR vbrk-vkorg,
s_vtweg FOR vbrk-vtweg.
START-OF-SELECTION .
SELECT vbeln vkorg vtweg kunrg
FROM vbrk
INTO TABLE it_vbrk
WHERE vbeln IN s_vbeln
AND vkorg IN s_vkorg
AND vtweg IN s_vtweg .
SELECT vbeln posnr matnr netwr
FROM vbrp
INTO TABLE it_vbrp
FOR ALL ENTRIES IN it_vbrk
WHERE vbeln = it_vbrk-vbeln .
LOOP AT it_vbrp INTO wa_vbrp .
READ TABLE it_vbrk INTO wa_vbrk WITH KEY vbeln = wa_vbrp-vbeln .
wa_final-vbeln = wa_vbrk-vbeln.
wa_final-posnr = wa_vbrp-posnr.
wa_final-netwr = wa_vbrp-netwr.
wa_final-matnr = wa_vbrp-matnr.
wa_final-vkorg = wa_vbrk-vkorg.
wa_final-vtweg = wa_vbrk-vkorg.
wa_final-kunrg = wa_vbrk-kunrg.
APPEND wa_final TO it_final.
CLEAR : wa_vbrk , wa_vbrp , wa_final .
ENDLOOP .
PERFORM sub_fieldcatalog.
PERFORM sub_layout_init CHANGING git_layout.
PERFORM sub_build_event USING git_event[] .
PERFORM sub_alv_display.
*& Form SUB_FIELDCATALOG
text
FORM sub_fieldcatalog.
REFRESH git_fieldcat.
gwa_fieldcat-col_pos = 0.
gwa_fieldcat-fieldname = 'VBELN'.
gwa_fieldcat-tabname = 'IT_FINAL'.
gwa_fieldcat-outputlen = 14.
gwa_fieldcat-seltext_l = 'Billing Doc.' .
gwa_fieldcat-seltext_m = 'Billing Doc.' .
gwa_fieldcat-seltext_s = 'Billing Doc.' .
APPEND gwa_fieldcat TO git_fieldcat .
gwa_fieldcat-col_pos = 1.
gwa_fieldcat-fieldname = 'POSNR'.
gwa_fieldcat-tabname = 'IT_FINAL'.
gwa_fieldcat-outputlen = 5.
gwa_fieldcat-seltext_l = 'Item.' .
gwa_fieldcat-seltext_m = 'Item' .
gwa_fieldcat-seltext_s = 'Item' .
APPEND gwa_fieldcat TO git_fieldcat .
gwa_fieldcat-col_pos = 2.
gwa_fieldcat-fieldname = 'VKORG'.
gwa_fieldcat-tabname = 'IT_FINAL'.
gwa_fieldcat-outputlen = 14.
gwa_fieldcat-seltext_l = 'Sales Org' .
gwa_fieldcat-seltext_m = 'Sales Org' .
gwa_fieldcat-seltext_s = 'Sales Org' .
APPEND gwa_fieldcat TO git_fieldcat .
gwa_fieldcat-col_pos = 3.
gwa_fieldcat-fieldname = 'VTWEG'.
gwa_fieldcat-tabname = 'IT_FINAL'.
gwa_fieldcat-outputlen = 14.
gwa_fieldcat-seltext_l = 'Dist. Ch.' .
gwa_fieldcat-seltext_m = 'Dist. Ch.' .
gwa_fieldcat-seltext_s = 'Dist. Ch.' .
APPEND gwa_fieldcat TO git_fieldcat .
gwa_fieldcat-col_pos = 4.
gwa_fieldcat-fieldname = 'MATNR'.
gwa_fieldcat-tabname = 'IT_FINAL'.
gwa_fieldcat-outputlen = 18.
gwa_fieldcat-seltext_l = 'Material' .
gwa_fieldcat-seltext_m = 'Material' .
gwa_fieldcat-seltext_s = 'Material' .
APPEND gwa_fieldcat TO git_fieldcat .
gwa_fieldcat-col_pos = 5.
gwa_fieldcat-fieldname = 'NETWR'.
gwa_fieldcat-tabname = 'IT_FINAL'.
gwa_fieldcat-outputlen = 14.
gwa_fieldcat-seltext_l = 'Price' .
gwa_fieldcat-seltext_m = 'Price' .
gwa_fieldcat-seltext_s = 'Price' .
gwa_fieldcat-do_sum = 'X' .
APPEND gwa_fieldcat TO git_fieldcat .
ENDFORM . "SUB_FIELDCATALOG
*& Form sub_alv_display
text
FORM sub_alv_display .
DATA : gv_repid TYPE sy-repid .
gv_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gv_repid
i_callback_user_command = 'USER-COMMAND'
is_layout = git_layout
it_fieldcat = git_fieldcat
i_save = 'A'
it_events = git_event[]
TABLES
t_outtab = it_final
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM . "sub_alv_display
*& Form
text
FORM sub_layout_init CHANGING xyt_layout TYPE slis_layout_alv.
CLEAR xyt_layout .
xyt_layout-colwidth_optimize = 'X'.
xyt_layout-zebra = 'X' .
ENDFORM. "SUB_LAYOUT_INIT
*& Form SUB_BUILD_EVENT
text
-->XT_EVENT text
FORM sub_build_event USING xt_event TYPE slis_t_event .
DATA : lwa_event TYPE slis_alv_event .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = xt_event
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
READ TABLE xt_event WITH KEY name = slis_ev_top_of_page INTO
lwa_event.
lwa_event-form = gc_top_of_page.
IF sy-subrc EQ 0 .
MODIFY xt_event FROM lwa_event TRANSPORTING form WHERE name =
gc_top_of_page.
ENDIF.
ENDFORM. "SUB_BUILD_EVENT
*& Form TOP_OF_PAGE
text
FORM top_of_page .
CONSTANTS : lc_s TYPE char01 VALUE 'S'.
DATA : lv_ecfld(250) TYPE c ,
lwa_header TYPE slis_listheader ,
lv_date(10) TYPE c,
lv_user(10) TYPE c,
lit_alv_header TYPE slis_t_listheader .
CLEAR : lv_user , lv_date .
CLEAR : lwa_header .
lwa_header-typ = 'S'.
lv_ecfld = 'User'.
lwa_header-key = lv_ecfld .
lwa_header-info = sy-uname.
APPEND lwa_header TO lit_alv_header .
CLEAR : lwa_header .
lwa_header-typ = 'S'.
lv_ecfld = 'Date'.
lwa_header-key = lv_ecfld .
lwa_header-info = sy-datum .
APPEND lwa_header TO lit_alv_header .
CLEAR : lwa_header .
lwa_header-typ = 'S'.
APPEND lwa_header TO lit_alv_header .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = lit_alv_header.
ENDFORM . "TOP_OF_PAGE
Regards,
Nihar Swain.
Similar Messages
-
Hi, im from Colombia And: I would like to know, why is it that my iPhone's flash lights every time I recieve a notification??? is there any option to turn it off?
(iPhone 4s)
Or is it a hardware problem?
Thanks for your help!Settings/general/accessibility - turn off "LED Flash for Alerts".
Then go read the manual - http://support.apple.com/manuals/ -
i am unable to create a itunes since i dont have a credit card. is ther any options to register in itunes without having a credit card? pls help. am unable to install any app
hey thanks lizdance40 and dilbert41. thanks for your concern and this really helped me using the appstore.. thanks a lot cheers!!
-
Is there any option to install SQL server in mac os 10.9
is there any option to install SQL server in mac os 10.9
Hi PREM,
If I understand correctly, you want to use SQL Server Authentication log to SQL Server Integration Services.
Based on my research, only Microsoft Windows Authentication is available for SSIS. So we cannot use SQL Server Authentication log to SQL Server Integration Services. Besides, we can only add OS users in the DCOM Config permission area.
Reference:
Connect to Server (Integration Services)
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Actually i am using an off-line form to load very large XML file and using firefox to load that form. But, its taking more time to load and some time the browser crashed. through DOM parsing this XML file to my form. Is there any option to increase DOM handler size in firefox
Thank you for your suggestion. I have a question,
though. If I use a relational database and try to
access it for EACH and EVERY click the user makes,
wouldn't that take much time to populate the page with
data?
Isn't XML store more efficient here? Please reply me.You have the choice of reading a small number of records (10 children per element?) from a database, or parsing multiple megabytes. Reading 10 records from a database should take maybe 100 milliseconds (1/10 of a second). I have written a web application that reads several hundred records and returns them with acceptable response time, and I am no expert. To parse an XML file of many megabytes... you have already tried this, so you know how long it takes, right? If you haven't tried it then you should. It's possible to waste a lot of time considering alternatives -- the term is "analysis paralysis". Speculating on how fast something might be doesn't get you very far. -
SCF /SCANNOW - is there any option to exclude some files for the scan?
Hi,
please let me know is there any option to exclude some files in SCF /SCANNOW command?
Appreciate your help!
Regards,
PrabuPrabu,
Did your question answered? How is the current situation? Have you tried to replace that file manually successfully?
Please give us a reply in order to know if you need further help.
Karen Hu
TechNet Community Support -
For starting macbook without battery, is there any option in OS??
Hi
Unfortunately i m not able to start my macbook without battery.
My question is that is there any option in operating system which i suppose to on for this or it doesn't required any OS interaction!!??
RegardsYour MacBook will reduce the processor speed while it is operated with the battery out of it. See Mac Support article http://support.apple.com/kb/HT2332 and http://www.gearlog.com/2008/11/applenotebooks_take_hugeperf.php
-
Is there any option to display selection screen text in bold or big font?
Hi all,
Is there any option to display selection screen text in bold letters or with increase font size?
Thanks n RegardsHi,
Just give atry in this way..
open the same program ans selection-screen screen no will be 1000 in se51 screen painter,
go to properties of the texts u want to change then go to display tab and check the checkbox bright.
it may or may not work but this will work in module pool .
just give a try...
Regards,
Suresh. -
Hi...
Is there any option to know what is the actual field that has been updated / changed in the AR Invoice document.
ADOC and ADO1 Contains the history of the updated documents .....
but i need what is the exact field that has been changed....?
Is there any option.....?Hi Gopi,
Please check below links.
http://help.sap.com/saphelp_sbo882/helpdata/en/45/06b97f7d720487e10000000a155369/content.htm
Queries off the Change Log
Query for Change Log
In above links, You can Modify Query as per your requirement.
Hope this help
Regards::::
Atul Chakraborty -
Is there any option to recover a file we saved with the same name that other by mistake in a MAC PC
is there any option to recover a file we saved with the same name that other by mistake in a MAC PC
There's a slim chance. +*Stop using the drive IMMEDIATELY.+*
Then see: [Data Recovery|http://web.me.com/pondini/AppleTips/Recover.html]. -
Is there any option in ANT to configure Standalone-adapters?
Hi frends,
i need to move the entair code from development server to test and production server. os i need to configure Connection Pools, Data Sources and Standalone-adapters. is there any option in ANT to configure Standalone-adapters?
thanks in advance
Best Regards
Hari MNo, unless you write your own ant script to create / update your Oracle AS installation.
Or if you use Weblogic you could use WLST scripting for Datasource etc.
Marc
http://orasoa.blogspot.com -
Is there any option in captivate to capture tool tips
Hello Friends
I'm using Captivate 4 .is there any option in captivate4 to record the mouse movement so that i can capture the Tool Tips in the software which i am making the Demo.Hope some one will help me..
CrazdobeHi there,
My preferred method would be to capture the initial screens using Adobe Captivate 4, use an screen grabbing application such as SnagIt or the built-in Windows Vista / Windows 7 Snipping Tool to grab just the tool tips and then insert these as images in Adobe Captivate. This method gives you full control over the tool tips which can be faded in and out using Adobe Captivate's Transition Effects (see screen shot below).
Another way would be to capture the tool tips using FMR (Full Motion Recording). To do this you would simply press F9, roll over the object that includes the tool tip and then press F10 to exit FMR mode. However, it is important to stress that FMR is real-time video and may not be the best solution.
HTH
Best - Mark -
Is there any option in JTable to add the column number
Hi,
I am using JTable to show some data read from database.
I want to add the column number autometically.(Without by talking a variable and incrementing that by 1.After that add that to the first column.)
I want just like a auto increment row number.
Is there any option in JTable?
Thanksfor(int i = 0; i < table.getRowCount(); i++){
table.setValueAt(i, i, 0);
} -
Hi, is there any option how I can edit duration of multiple video clips (not stills) in iMovie 11, lets say if I want them 2 seconds long? Many thanks for any advice... Tom
Yes.
iMovie 11 tutorials:
http://help.apple.com/imovie/
http://www.apple.com/ilife/tutorials/#imovie
and also these:
http://www.kenstone.net/fcp_homepage/imovie_09_stone.html
http://www.kenstone.net/fcp_homepage/imovie_09_stone.html#interface -
Hi, in Creative Cloud the copy of files will be saved in the cloud? If yes then is there any option to disable it? Thank you.
Ron,
I too need to make "Real Copies" of images and hate doing anything directly from the OS because of the chance that my LR catalog gets out of Sync with the actual images on the computer. So I make the copies inside LR with an export routine and then move the copies inside of LR with the normal drag and drop. Once the export preset is created it can be executed from the Library Grid by right-clicking on the image (or selected images) to make the copies. My settings are as follows in case you are interested:
This is the first time I have posted an image before and I am not sure if you will be able to read it or not. The contents from the export preset in the image above are as follows if that helps:
s = {
id = "3AF0E3D2-BC6A-4D53-A7BE-B7A6C4D673AC",
internalName = "Make Real File Copy",
title = "Real File Copy",
type = "Export",
value = {
collisionHandling = "overwrite",
exportFilters = {
exportServiceProvider = "com.adobe.ag.export.file",
exportServiceProviderTitle = "Hard Drive",
export_colorSpace = "sRGB",
export_destinationPathSuffix = "",
export_destinationType = "sourceFolder",
export_useSubfolder = false,
extensionCase = "lowercase",
format = "ORIGINAL",
includeVideoFiles = false,
initialSequenceNumber = 1,
jpeg_limitSize = 100,
jpeg_useLimitSize = false,
metadata_keywordOptions = "lightroomHierarchical",
minimizeEmbeddedMetadata = false,
outputSharpeningLevel = 2,
outputSharpeningMedia = "matte",
outputSharpeningOn = false,
reimportExportedPhoto = true,
reimport_stackWithOriginal = true,
reimport_stackWithOriginal_position = "below",
renamingTokensOn = true,
size_doConstrain = false,
size_resolution = 300,
size_resolutionUnits = "inch",
tokenCustomString = "RC",
tokens = "{{image_name}}_{{custom_token}}",
tokensArchivedToString2 = "{{image_name}}_{{custom_token}}",
useWatermark = false,
watermarking_id = "<simpleCopyrightWatermark>",
version = 0,
Let me know if you have any questions.
Jeff
Maybe you are looking for
-
After yesterday upgrading from Mavericks to Yosemite I can no longer find in Mail the icon (looks like the Add To Contacts icon without the + mark) I used to press in order to obtain an e-mail address from my contact list. What procedure should I use
-
How to change the position of my report in the web browser?
when I create a report by HTMLDB, the report is always on the left side of the browser. how to move it to the center? I tried to use other templates, but it did not work.
-
how to unlock my iphone 5s online free.........................
-
I am attempting to install Mac OS 9.0.4 on my iMac G3 with a full retail disk, not an update disk, as it is not marked as such. Anyway, whenever I press "C," the screen turns light gray, then back to dark gray and a flashing "Where's the System Folde
-
Here is the report coming up. Process: Adobe Illustrator [847] Path: /Applications/Adobe Illustrator.app/Contents/MacOS/Adobe Illustrator Identifier: com.adobe.illustrator Version: 367 (14.0.0) Code Type: X86 (Na