|
|
Basit kullanımı ile try ile hata yakalamak aşağıdaki gibidir. ty ile yakalayıp catch ile içeriği yazdırabilirsiniz. TRY. CALL METHOD o1->m1. PERFORM f1. CATCH cx_root. “Handler for all exceptions ” ABAP code(What to do when error occures)…….. ENDTRY. FORM f1 RAISING cx_my. TRY. IF …… RAISE EXCEPTION TYPE cx_my2. ENDIF. CALL METHOD o1->m3. CATCH cx_my1 cx_my3 INTO ex. RAISE EXCEPTION TYPE cx_my4. CATCH cx_my4. “Handler for exceptions of type cx_my4 ” ABAP code(What to do when error occures)…….. CLEANUP. “Cleanup section, used to restore to a consistant state ” ABAP code…….. ENDTRY. ENDFORM.
[..]Devamını Oku
Merhabalar konun başlığı biraz ilginç oldu farkındayım. Abap, abapçı hemen akıllarda birmeslek olduğunu andırıyor.Zaten biz türklerin ürettiği bir meslek. Normal şartlarda ERP devlerinden SAP firmasının ERP mpdüllerindeki geliştirme programlama dili olan ABAP – Advanced Business Application Programming kısaltılmasıdır se37 transaction ile veya se80 tcode (transaction code) ile ABAP workbanch editoru ile geliştirmeler yapılmaktadır. Bu dil ile sap sistemlerine program geliştiren developerlar ABAP specialist olarak geçer , dış dünyada en azından böyle bu meslek türkiye de icra edilirse adı tabiki bir türk jargonuna tabi tutulur mesklerle ilgili ekide aldımı ABAPÇI olarak türetilir zaten Türk dili bildiğiniz gibi eklemeli bir dildir.
[..]Devamını Oku
Merhabalar, Sap sistemine özel programlama dili olan ABAP ile alv nasıl yazılıra bakacağız . öncelikle abap nedir bakalım Dünya liderleri arsında yer alan sap sistemine üzerinde geliştirme yapmaya olanak sağlayan ABAP WROKBENCH programı üzerinde abap dili ile sap sisteminde sizi tatmin etmeyen geliştirmeleri (rapor, program, var olan bir programda değişiklik, sistem funsiyonuna eklenti yapmak, user exit, vs) yapabilmenize olanak sağlayan bu dili kullanacağız. seviye oalrak c diline syntax olarak biraz benzemektedir, mantik biraz farklıdır, native sql kullanılabilir. en çok sevdiğim özelliği ise Db ve table ayrıca connection string yazmamamızdır. open source kaynaklı sap sistemi gnu gibi olmasada, sonuçta ticari bir yazılımdır ticari sahiibine yani lisans ücretini ödeyene open source dur diyebiliriz. Sistemdeki tüm standart uygulamaların kodları görünmetdir bu kodlarda herhangi bi değişiklik yapılmamaktadır aslında yapılabilmektedir şöyleki, sap sistemi geliştiricileri bazı yerleri açık bırakmıştır yani bazı functionlara ek geliştirmeler ülke değişiklikleri, şirket kültürüne uymayan standart modül geliştimelerini user exit denen erişim sağlanan kod function class larında yapabilirsiniz.
[..]Devamını Oku
FUNCTION Zdate_to_day. DATA: day_p TYPE p. day_p = date MOD 7. * DAY_P enthält 0 für Samstag, 1 für Sonntag, etc.. und muß * der Kalendernotation: 1 für Montag, 2 für Dienstag, etc., * angepaßt werden. IF day_p > 1. day_p = day_p – 1. ELSE. day_p = day_p + 6. ENDIF. CASE day_p. WHEN 1. weekday = text-dmo. WHEN 2. weekday = text-ddi. WHEN 3. weekday = text-dmi. WHEN 4. weekday = text-ddo. WHEN 5. weekday = text-dfr. WHEN 6. weekday = text-dsa. WHEN 7. weekday = text-dso. ENDCASE. ENDFUNCTION.
[..]Devamını Oku
SAPgui is the application most folks use to interact with SAP. It provides a graphical way to enter vouchers, receipt inventory, process sales orders, etc. It’s also the tool generally used to configure and manage SAP.
To get around in SAP, either use the menu or enter a transaction next to the green check.
[..]Devamını Oku
REPORT ZUNIX_FILE_BROWSE_COMMAND_PROMPT DATA UNIXCMD(50) TYPE C. DATA: BEGIN OF ITAB occurs 0, LINE(200), end of ITAB. PARAMETERS UNIXCOMM LIKE UNIXCMD DEFAULT ‘ls -ls /usr/sap/’ LOWER CASE. * Executing the system commands witin ABAP. call ‘SYSTEM’ id ‘COMMAND’ field UNIXCOMM id ‘TAB’ field ITAB-*SYS*. EDITOR-CALL FOR ITAB DISPLAY-MODE.
[..]Devamını Oku
sudo gedit /etc/apt/sources.list apt-cache search jdk apt-get update apt-get upgrade ubuntu permission https://help.ubuntu.com/community/FilePermissions
http://basishowto.blogspot.com/2008/09/installation-and-configuration-of.html
http://forums.sdn.sap.com/thread.jspa?forumID=189&threadID=194324
http://www.linuxfellaz.net/doku.php?id=blog:howtos:ubuntu:sap-gui
http://ubuntuforums.org/archive/index.php/t-232847.html
ftp://ftp.sap.com/pub/sapgui/java/720/
http://forums.sdn.sap.com/thread.jspa?threadID=1605467&tstart=0
java -jar PlatinGUI-Linux-700.jar http://packages.ubuntu.com/karmic/ http://www.sdn.sap.com/irj/sdn/sap-gui?rid=/library/uuid/409011e2-0ef8-2a10-3b96-cd490895cbdc
Name Type Content sy-abcde c(26) Contains the Latin alphabet. Can be used to access individual letters directly by specifying the offset/length, regardless of the code page. sy-batch c(1) Set to “X” in an ABAP program that runs in the background, otherwise initial. sy-binpt c(1) Set to “X” during processing of batch input sessions, and in ABAP programs called using CALL TRANSACTION USING. Otherwise initial. sy-calld c(1) Contains a blank character in the first program in a call sequence, otherwise contains the value “X”. Is set to “X” after calls using CALL TRANSACTION, CALL DIALOG, or SUBMIT … AND RETURN. Empty if the program was started using LEAVE TO TRANSACTION or a transaction from the screen. A call using SUBMIT (without AND RETURN) assumes the value of the calling program. sy-callr c(8) When printing lists, contains a value that displays where printing was started – for example, NEW-PAGE for program-controlled printing, or RSDBRUNT for printing from the selection screen. sy-colno i Current position during creation of a list in the list buffer. Counting begins at 1. In non- Unicode systems, this position also corresponds to the column in the displayed list. In Unicode systems, this is only guaranteed for the lower and upper output limits applicable to each output, as one character may take up more columns in the list than positions in the list buffer. sy-cpage i Page number of the page displayed at the top of the list for which a list event was triggered. Counting begins at 1. sy-cprog c(40) In procedures called externally, the name of the calling program, otherwise the name of the current program. If a procedure called externally calls another external procedure, sy-cprog contains the name of the framework program, and is not set to the name of the framework program of the subsequent calling program. sy-cucol i Horizontal cursor position in the display on a dynpro. Counting begins at column 2. sy-curow i Vertical cursor position on the screen display of a screen. Counting begins at line 1. sy-datar c(1) At PAI, contains “X” if at least one input field of a screen has been changed by a user or by further data transfer, otherwise initial. sy-datlo d Local date of the user – for example, “19990723″. Can be set using GET TIME. sy-datum d System date (local date of the AS ABAP). Can be set using GET TIME. sy-dayst c(1) “X” during summertime, otherwise initial. sy-dbcnt i SQL statements set the content of sy-dbcnt to the number of processed table lines.
[..]Devamını Oku
TYPES: BEGIN OF t_datatab, ebeln LIKE ymtil_cons_po-ebeln, ebelp LIKE ymtil_cons_po-ebelp, END OF t_datatab. DATA: it_datatab TYPE STANDARD TABLE OF t_datatab,
[..]Devamını Oku
*———————————————————————-* * Report ZPRUEBA_MML_13 * * Export an internal table to XML document * * NO BORRAR ESTE CODIGO * *———————————————————————-* REPORT ZPRUEBA_MML_13. *———————————————————————-* * PANTALLA SELECCION * PARAMETERS: GK_RUTA TYPE RLGRAP-FILENAME. * PANTALLA SELECCION * *———————————————————————-* *———————————————————————-* * TYPE TURNOS * TYPES: BEGIN OF TURNOS, LU LIKE T552A-TPR01, MA LIKE T552A-TPR01, MI LIKE T552A-TPR01, JU LIKE T552A-TPR01, VI LIKE T552A-TPR01, SA LIKE T552A-TPR01, DO LIKE T552A-TPR01, END OF TURNOS. * TYPE TURNOS *
[..]Devamını Oku
Toplam 2 sayfa, 1. sayfa gösteriliyor.12»
|
Uzaktan Destek-Yardım
|