In this program, we connect a ftp server and read file to itab.
Author Archives: aykutsag
Add Image Button to An Abap Program
You can add an image in a container and display that. In this article , I show how to specify clickable the image.
Step 1 Upload *BMP File
Step 2 Create program
Continue reading
Find Badi
Put break point in FM : SXV_GET_CLIF_BY_NAME and than go to your standart program and run it.
E.G :
Put the bp and go to me21n . In debug mode , you can see badi’s name.
Maintenance Table SM30 Screen FM
CALL FUNCTION ‘VIEW_MAINTENANCE_CALL’
EXPORTING
action = ‘U’
view_name = ‘Z_TABLE_NAME’
EXCEPTIONS
client_reference = 1
foreign_lock = 2
invalid_action = 3
no_clientindependent_auth = 4
no_database_function = 5
no_editor_function = 6
no_show_auth = 7
no_tvdir_entry = 8
no_upd_auth = 9
only_show_allowed = 10
system_failure = 11
unknown_field_in_dba_sellist = 12
view_not_found = 13
maintenance_prohibited = 14
others = 15.
if sy–subrc <> 0.
message id sy–msgid type sy–msgty number sy–msgno
with sy–msgv1 sy–msgv2 sy–msgv3 sy–msgv4 .
endif.
Finding Assigned T-Code
For maintence table
You can get that details from TSTCP table.
Give tcode as Z* and parameters as SM30your ztable* and execute.If you don’t find you can use SM31 instead of SM30.
For program
You can get that details from TSTC table.
Screen Shot :

Charts in Abap Program via Javascript
1- Download JS file and upload your SAP Web Repository(T-code : smw0).
Select Binary data .
Continue reading
PUT SIGN IN FRONT (CLOI_PUT_SIGN_IN_FRONT)
Below fm puts sign front of giving value.
FM : CLOI_PUT_SIGN_IN_FRONT
EX.
How to read text with READ_TEXT FM
Most of text in SAP are stored in STXH and STXL tables.
We can read text by read_text fm. If you can not find input parameters of the fm , you can use STXH tables.
Example :
Error message in BADI (Ex. mm_messages_mac)
Hello,
If you want to give error message in badi , You must use message include .
For example for mm message you can use “mm_messages_mac” include.