Totals and Sub-totals for columns in ALV:
Amount fields to type NUMC 18 instead of kwetr
gw_layout-numc_total = 'X'.
gw_fieldcat-do_sum
= p_0916.
ABAP code for submit direct input program:
http://scn.sap.com/thread/686622
Table Field is visible in Data browser but not in display table
https://scn.sap.com/thread/1607538
e.g. t134
its text table t134t
Debug a popup:
[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand
+++++++++++++++++++++++
Code review;
> sequence of fields in where clause in select stmt
> read sorted before read & read binary search
> constants, text elements
> move-corresponding?
SLIN:
> no exception sy-subrc will always be zero
> set parameter id
Memory ID ZIB Not in the Table TPARA
http://scn.sap.com/thread/1514243 -Venkat O
dont code review codes which are used in multiple , preexisting codes, old codes which are used in
multiple programs
don't delete unused performs of old programs theere might be dynamic call to it or call from other
custom program
message ' text...extends till end of line' &
'second text'
>gets taken as a single text
+++++++++++++++++++++++++++
'Material Status Extract is sent in an Email. See Attachent'
& 'achent'(068) .
SELECTION-SCREEN BEGIN OF BLOCK fil WITH FRAME TITLE text-s01.
s01 text symbols
functional ppl do not have id in development client
dev 100 - testing client they have access and id
dev 200 client development they do not have id in it
SALV_DEMO_TABLE_COLUMNS
Include type instead of field catalog
http://scn.sap.com/thread/1317072
http://zevolving.com/tag/salv-table/page/2/
http://zevolving.com/2008/09/salv-table-1-normal-alv-table-display/
wiki:
http://wiki.scn.sap.com/wiki/display/ABAP/ALV+Grid+Report++with+Object+Oriented+SALV+Classes
multiple header lines:
http://scn.sap.com/thread/1588852
Option 2 for multipke header lines:
http://scn.sap.com/thread/1006299
Multiple headers not possible in AALV but possible in WDA
SAP EDIT on EDIDC:
not possible to change status/created/updated date/time using we02
unable to change anything in se16n for edidc
inside do loop its sy index
SE16n > we can do f8 and get the result..if we double click any row>
> it will take us to a popup which has both column description and column technical name
> it will show the 1 row of data in popup
Sapgui:
add servers to favorites in sap logon pad..it goes directly to favorites instead of searching for the
server in the list of servers
Lock mode:
Defines how to synchronize table record access by several users.
The following modes exist:
Exclusive lock 'E' Write
The locked data can be read or processed by one user only. A request for another exclusive lock or
for a shared lock is rejected.
Shared lock 'S' Read
Several users can read the same data at the same time, but as soon as a user edits the data, a
second user can no longer access this data. Requests for further shared locks are accepted, even if
they are issued by different users, but exclusive locks are rejected.
Exclusive but not cumulative lock 'X'
Exclusive locks can be requested by the same transaction more than once and handled successively,
but an exclusive but not cumulative lock can only be requested once by a given transaction. All other
lock requests are rejected.
seltext
_s 10
_m 20
_l 40
Steps to configure FTP:
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=318442535#TheSAPFTPLibraryFTPProgramminginABAP(UnderConstruction)(A)UploadingatextfilefromanSAPsystemtoanFTPServerwithSAPData:
If to see how t find if the pgm is used in dashboard:
Go to its transaction > where-used list > chk Area menus> the search result will list all the
Dashboards its used in.
Lock X exclusive not cumulative
If the session is closed the lock is deleted.
FTP:
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=318442535#TheSAPFTPLibraryFTPProgramminginABAP(UnderConstruction)(A)UploadingatextfilefromanSAPsystemtoanFTPServerwithSAPData:
http://scn.sap.com/thread/1477997
Uploading from Application server:
Tab delmited text file:
http://scn.sap.com/thread/994822 - venu gopal
http://scn.sap.com/thread/133492 - guest
Pipe('|') delimited text file:
http://scn.sap.com/thread/1351248 - Jayanthi
error handling while uploading from app server:
http://scn.sap.com/thread/1045459
f4 on app srv/file exist:
http://wiki.scn.sap.com/wiki/display/Snippets/F4+for+files+on+presentation+or+Application+Server
screen-invisible/active/input
http://scn.sap.com/thread/209648 - Sudheer Junnuthula
http://scn.sap.com/thread/92669
http://scn.sap.com/thread/1812716
http://scn.sap.com/thread/227950 - Ajith Prakash
FTP:
http://scn.sap.com/people/community.user/blog/2007/01/15/transferring-data-from-sap-to-othersystems
http://scn.sap.com/people/ashim.chowdhury/blog/2008/03/25/wrapper-function-module-for-ftpfrom-abap-program
Also
http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+solution+to+implement+FTP+transactions
http://wiki.scn.sap.com/wiki/display/SCM/APO+to+FTP+Folder
F110
Screen 200 on value request for laufi laufd
Using dynp_values_update for the other field.
Download to Appln srv: http://scn.sap.com/message/949610#949610 -
Anindya Banerjee
Tcode FILE
ABAP Query: http://jelajahsap.files.wordpress.com/2008/01/abap-query.pdf
tcode CG3Z to upload your file into application server from your PC
Dynamic programming using field-symbols:
http://scn.sap.com/thread/2006709
http://scn.sap.com/thread/1106181
also:
http://scn.sap.com/thread/93587
http://scn.sap.com/thread/805799
Debugging scripting:
http://scn.sap.com/docs/DOC-10249
Auth group for Custom Tables:
Table> Utilities > Assign Auth group
After that we have to manually include in TR
http://scn.sap.com/thread/1708249
table view > Transport > save
Activate the table then.
Move files in application server:
http://scn.sap.com/thread/1619002 - stphane mouraux
Events:
http://saptechnical.com/Tutorials/ABAP/BackgroundJob/OnEvent.htm
http://scn.sap.com/thread/1531544 - Sourabh Batwara
alv grid:
http://scn.sap.com/thread/1034955
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=37002
length of string:
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb33d9358411d1829f0000e829fbfe/content.htm
custom sap area menu:
http://wiki.scn.sap.com/wiki/display/Retail/Custom+Area+Menu+Creation
http://scn.sap.com/thread/110868
if we sort by wrong field and read table using binary search
then we get sy-subrc as 8 and no record found.
Talble creation underscore not permitted in 2
nd
rd
or 3 position
Data types:
http://help.sap.com/saphelp_nw73EhP1/helpdata/en/cf/21f2e5446011d189700000e8322d00/content.htm?frames
et=/en/4f/991f82446d11d189700000e8322d00/frameset.htm
predefined type p equivalent
http://scn.sap.com/thread/1090030
ABAP Dictionary type FLTP is not allowed for
screen element got error when going from se11 to sel scrn
creating new perform in PAI of table maintenance screen 0100 for
validations.
u must in in change mode
in the se11 table . so go in display mode and
then in table maintenance and change the mode