Regarding.SAP-ABAP
hi experts,
I would like to know the SAP-ABAP real time scenarios on topic vise.Can anybody will explain or give some real time examples?
Waiting for your reply....
Hi
Just try to utilize as most as this site sdn.sap.com for your ABAP doubts.
Few more sites also available for developing your skills.
www.help.sap.com
www.sapdevelopment.co.uk
www.planetsap.com
www.sapbrainsonline.com
www.erpgenie.com
www.ittoolbox.com
The last two sites will be more usefull for interview questions.
www.sap-img.com
www.pdftutorials.com
www.abapcode.blogspot.com
Use these links to get more ideas about the ABAP.
You have to search module by module use these links.
Go for Siemens material. Check the following link:
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/ABAP_tutorial.html
very basics
LINK : http://sapabap.iespana.es/sapabap/manuales/learnabap/
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
check with this following link
it is having very good documentation
http://www.sappoint.com/abap.html
few more links...
http://cma.zdnet.com/book/abap/index.htm
http://www.sapdevelopment.co.uk/
http://www.sap-img.com/
http://juliet.stfx.ca/people/fac/infosys/abap.htm
http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://www.sapgenie.com/abap/example_code.htm
http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
http://www.sap-img.com/abap-function.htm
http://www.sapgenie.com/abap/code/abap19.htm
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
http://www.planetsap.com/Tips_and_Tricks.htm
http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
http://www.henrikfrank.dk/abapexamples/index.html
http://sap.ittoolbox.com/documents/document.asp?i=752
http://members.aol.com/_ht_a/skarkada/sap/
http://sappoint.com/abap/
http://members.tripod.com/abap4/SAP_Functions.html
http://members.ozemail.com.au/~anmari/sap/index.html
http://www.planetsap.com/Userexit_List.htm
http://www.planetsap.com/Tips_and_Tricks.htm
http://www.kabai.com/abaps/q.htm
http://www.planetsap.com/Userexit_List.htm
http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
http://www.sapgenie.com/abap/bapi/example.htm
http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
http://www.sap-basis-abap.com/index.htm
http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
http://www.geocities.com/ResearchTriangle/1635/system.html
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.
Similar Messages
-
Regarding SAP ABAP Online Training
Hi All,
I have around 2 years of Exp in SAP Business One as Technical Consultant.
i am planning for SAP ABAP online Training from NIIT Mumbai.
due to my budget constraint i m going for online training.
NIIT is Authorised SAP Education Partner.
Can u please guide me regarding Online training?
i would like to know whether it will be fruitfull or not?
How user friendly it is?
Is it tough to understand the online training?
is it right decision to go for online training for me?
waiting for ur valuable reply....
thanx in advance...
Regards,
Chetan .I would love to start with the development for business one. I have 3 years experience with the "big" SAP (ABAP and stuff) and would like to exchange the knowledge. If you would be interested, please drop me a line on my eml. I wanted to reach you through eml but it is not a public one. Looking forward to hear from you, Otto
-
Hi ALL,
Could anybody give some oops concepts in ABAP with examples.
Thanks & Regards
SAIJAYAJust take case if you want to access element from node in context ...such code by wizard Appears ....
DATA:
zobj_bbp_ior_util TYPE REF TO zcl_bbp_ior_util,
node_ztiornode TYPE REF TO if_wd_context_node,
elem_ztiornode TYPE REF TO if_wd_context_element,
stru_ztiornode TYPE zsior.
navigate from <CONTEXT> to <ZTIORNODE> via lead selection
node_ztiornode = wd_context->get_child_node( name = if_request_ior=>wdctx_ztiornode ).
get element via lead selection
elem_ztiornode = node_ztiornode->get_element( 1 ). -
hi all!!
I am sorry if this is not the right place to put up these kind of questions, however any idea which all companies i mumbai would be hiring abap trained freshers !!!hey anu
u can search the jobs if u want to do in indian in yahoo job search
for usa major seach sites r
www.dice.com
www.monster.com
n try to post ur resume in yahoo job search u will get some calls i think
r u can go with google u can find lot of stuff
Regards
naveen -
Query regarding SAP ABAP ALV List display
Hi All,
Have a requirement where in, when a user double clicks on a particular field as shown below, the particular cell where he has clicked has to be changed to editable and input mode. I am using ALV LIST DISPLAY.
Please reply me if someone has worked on similar requirement.Hi Priya,
Check this link: http://www.saptechnicl.com/Tutorials/ALV/Edit/demo.htm. I think this is exactly what you require.
Hope this helps! Do let me know if you need anything else!!
(rename "technicl" as "technical", my apologies for the typo).
Cheers,
Shailesh. -
Regarding Time Management in SAP ABAP-HR
Hi,
Can anybody provide the link for Time Management . I want to learn Time Management in SAP ABAP-HR. Please do the needful.
Thanks in advance.
Pavan.Hi
http://help.sap.com/saphelp_47x200/helpdata/en/8a/9868bc46c411d189470000e829fbbd/frameset.htm
Regards -
Regarding training and placement program for SAP-ABAP at simens
Dear all,
i am an MCA completed fresher planning to join in simens for SAP-ABAP module. I have quires like
1 After training whether they will provide placement ?
2 How much will be the fees for that module?
and last what is duration for that module.
i welcome all of you for your valuable suggestions......
its urgentHi vishnuvardhan,
Here are answers to ur queries
After training whether they will provide placement ?
No, Simens is just a training partner of SAP.
How much will be the fees for that module?
Cost for certification is 28,000 rs, but if u go for training and certification both it will cost more. Not sure of the exact amount.
what is duration for that module
Duration is 1 month. -
How to log in to the new installed SAP ABAP instance ?
Dear Experts,
In SAP ERP 2005 installation,
I have done central system installation, Now I need to perform postinstallation steps,
Could you please tell me, how to log in to the new installed SAP ABAP instance and do the post installation?
Regards,
Madhavan KHi,
Check the list of post installation steps:
http://www.saptechies.com/post-installation-steps-for-ecc-60/
From my point of view basic post installation steps are:
- Installing SAP License (from http://service.sap.com/licensekeys)
- Setup TMS (STMS)
- Import profiles (RZ10)
- Client Copy (SCC*)
- Create users (SU01)
However further many steps are required as per your requirements. Cehck the link for more detailed steps.
Regards,
Srikishan -
Where do i find daily posted question on sap abap and sap webdynpro abap
Hi
where do we find Daily posted questions on sap abap and sap webdynpro abap in scn sap so that i can go through the questions and answer them .Hi,
Go to the Content tab of any space and click on discussions. Then you can sort them by date created or any other
For ex: This link for WDA discussions: - Web Dynpro ABAP
You can also click on Receive email notifications for any space to get updates on that space.
hope this helps,
Regards,
Kiran -
Hello SAP Cummunity,
I am very much interested in take up SAP course but like everyone very much confused. Firstly let me tell a brief about myself,
- I have graduated in Bachelor of Engineering (Biotechnology)
- After B.E., I took up PGDM (Marketing and Finance).
- As my interest is more inclined towards Marketing, I took up job related to Sales.
- Presently working for FMCG Sector as Sales Executive.
Plz suggest me is SAP ABAP suitable for me ?Hi Harshith,
There´re many SAP Certifications. You can read Frequently
Asked Questions about SAP Certification, and browse The Training
and Certification Shop Catalog. Find a list of currently valid certifications in the
"By
Role". section.
Best regards,
S.Saleem -
Error in ABAP Mapping (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION)
Hi ,
Scenario: Manually Purchase Order is created, automatically Sales Order should be created in the Target System through PI,
I have used Message Mapping which is working fine for single Customer and Vendor,
For Multiple Customers and Vendors i am using one ZTABLE, Only Message Mapping is not sufficient to my requirement.
Now i am using both Message Mapping and ABAP Mapping at a time in Interface Mapping. I created the class and done the development., whene i run the scenario i am getting the error as below,
*<SAP:Stack>Error in mapping program ZCL_SD_IDTO_POSO (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference</SAP:Stack>*
*<SAP:Retry>M</SAP:Retry>*
*</SAP:Error>*
Please let me know.
Best Regards
VamsiHave u seen the ABAP mapping guide?
Refer this series to the ABAP mapping section.https:///people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
It will be very handy and useful. -
hi all,
how to retrieve the data using logical database PCH.we cant use rp-provide here.
so can any one of you give suggestions on this it will be good to have an example prgm using pch,so can any one send me.
i have used select stmts to retrieve the data but while taking data its not taking.Hi
HR:
HR deals with the INFOTYPES which are similar to Tables in General ABAP.
There are different ways of fetching data from these infotypes.
There are different areas in HR LIKE Personal Admn, Orgn Management, Benefits, Time amangement, Event Management, Payroll etc
Infotypes for these areas are different from one another area.
storing of records data in each type of area is different
LDBS like PNP are used in HR programing.
Instead of Select.. we use some ROUTINES and PROVIDE..ENDPROVIDE.. etc
and in the case of Pay roll we use Clusters and we Import and Export them for data fetching.
On the whole Normal ABAP is different from HR abap.
For Personal Admn the Infotypes start with PA0000 to PA1999
Time Related Infotypes start with PA2000 to PA2999.
Orgn related Infotypes start with HRP1000 to HRP1999.
All custom developed infotypes stsrat with PA9000 onwards.
In payroll processing we use Clusters like PCL1,2,3 and 4.
Instead of Select query we use PROVIDE and ENDPROVIDE..
You have to assign a Logical Database in the attributes PNP.
Go through the SAp doc for HR programming and start doing.
http://www.sapdevelopment.co.uk/hr/hrhome.htm
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
sites regarding hr-abap:
http://www.sapdevelopment.co.uk/hr/hrhome.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf
http://www.atomhr.com/training/Technical_Topics_in_HR.htm
http://www.planetsap.com/hr_abap_main_page.htm
You can see some Standard Program examples in this one ...
http://www.sapdevelopment.co.uk/programs/programshr.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?Offer=SAlgwn12604#Certification
http://www.erpgenie.com/faq/hr.htm.
http://www.planetsap.com/hr_abap_main_page.htm
http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/HR_tutorial.html
These are the FAQ's that might helps you as well.
http://www.sap-img.com/human/hr-faq.htm
http://www.sapgenie.com/faq/hr.htm
http://www.planetsap.com/hr_abap_main_page.htm
http://www.atomhr.com/library_full.htm
HR Long texts Upload
Look at the below link
BDC - hr maintain text
sample code
START-OF-SELECTION.
GET pernr.
rp_provide_from_frst p0000 space pn-begda pn-endda.
if pnp-sw-found EQ '1'.
READ TABLE p0001 WITH KEY pernr = p0000-pernr.
if sy-subrc = 0.
write : p0001-plans. " earliest.
endif.
endif.
rp_provide_from_last p0014 space pn-begda pn-endda.
if pnp-sw-found EQ '1'.
READ TABLE p0014 WITH KEY pernr = p0000-pernr.
if sy-subrc = 0.
write : p0014-LGART. .
endif.
endif.
<b>Reward points for useful Answers</b>
Regards
Anji -
Nodes statement in payroll in SAP ABAP hr Report
hi,
i am working in sap abap hr report for payroll.i am using nodes statement in that report.it is showing error that ""PERNR" is not a node of the logical database __S".how can i solve this error.in this report.
NODES pernr .
INFOTYPES: 0000, 0001, 2001.
TABLES: t554s, pcl1, pcl2.
INCLUDE rpclst00.
INCLUDE rpc2rx09. "Payroll results datadefns-Intl.
INCLUDE rpc2rxx0. "Payroll results datadefns-Intl.
INCLUDE rpc2rgg0. "Payroll results datadefns-GB
INCLUDE rpcfdcg0. "Payroll results datadefns-GB
INCLUDE rpcdatg0.
INCLUDE rpc2cd00. "Cluster Directory defns.
INCLUDE rpc2ps00. "Cluster: Generierte Schematas
INCLUDE rpc2pt00.
INCLUDE rpcfdc10.
INCLUDE rpcfdc00.
INCLUDE rpppxd00.
INCLUDE rpppxd10.
INCLUDE rpcfvp09.
INCLUDE rpcfvpg0.
INCLUDE rpppxm00.
TYPES: BEGIN OF t_salrate,
seqnr TYPE pc261-seqnr,
begda TYPE p2001-begda,
endda TYPE p2001-endda,
split(2) TYPE c,
val TYPE p DECIMALS 2,
END OF t_salrate.
DATA: it_salrate TYPE STANDARD TABLE OF t_salrate INITIAL SIZE 0,
wa_salrate TYPE t_salrate.
*Selection screen
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: so_awart FOR p2001-awart.
SELECTION-SCREEN END OF BLOCK block1.
*START-OF-SELECTION.
START-OF-SELECTION.
GET pernr.
get payroll results data
rp-init-buffer.
CLEAR rgdir. REFRESH rgdir.
CLEAR rt. REFRESH rt.
CLEAR: rx-key.
set key to current pernr
MOVE pernr-pernr(8) TO cd-key-pernr.
retrieves payroll results for specific pernr(personnel number)
rp-imp-c2-cd.
IF rp-imp-cd-subrc = 0. "rgdir success
rx-key-pernr = pernr-pernr.
SORT rgdir BY seqnr ASCENDING.
CLEAR rgdir.
ENDIF.
SORT rgdir BY fpbeg fpend ASCENDING seqnr DESCENDING.
RGDIR the table where all payroll results periods are stored
LOOP AT rgdir WHERE abkrs IN pnpabkrs "pay area
AND srtza EQ 'A'
AND void NE 'V'.
IF sy-subrc NE 0.
set key to specific payroll results period(current RGDIR loop pass)
UNPACK rgdir-seqnr TO rx-key-seqno.
Retrieves data for specific payroll results period (current RGDIR
loop pass)
rp-imp-c2-rg.
Loop at wpbp data for specific payroll results period
LOOP AT wpbp.
wa_salrate-seqnr = rgdir-seqnr.
wa_salrate-begda = wpbp-begda.
wa_salrate-endda = wpbp-endda.
wa_salrate-split = wpbp-apznr.
loop at rt data for specific payroll results period
LOOP AT rt WHERE lgart EQ '/010' AND "wage type
apznr EQ wpbp-apznr. "payroll split
wa_salrate-val = ( rt-betpe * ( wpbp-adivi / wpbp-kdivi ) ).
APPEND wa_salrate TO it_salrate.
ENDLOOP.
ENDLOOP.
Process BT table
LOOP AT BT.
ENDLOOP.
Process NIPAY table
LOOP AT NIPAY.
ENDLOOP.
etc................
ENDIF.
ENDLOOP.
*END-OF-SELECTION.
END-OF-SELECTION.Hi,
Have you put a Logical Database in the attributes of the program that you have created ?
Regards,
Samson Rodrigues. -
ALV and Interactive Reports in SAP ABAP?
Hi All,
What type of reports we can generate in SAP ABAP using ALV & Interactive in real time Scenario? Do SAP provides some Standard reports? Plz give some examples?
Thanks in Advance.Hi Mohnish,
You can refer the following ALV sample code :
TYPE-POOLS: slis.
TABLES : afko,afpo .
+-- Data declarations--+
DATA : BEGIN OF it_afpo OCCURS 0,
AUFNR LIKE afpo-AUFNR,
PSMNG LIKE afpo-PSMNG,
WEMNG LIKE afpo-WEMNG,
PWERK LIKE afpo-PWERK,
DAUAT LIKE afpo-DAUAT,
END OF it_afpo.
DATA : BEGIN OF it_afko OCCURS 0,
AUFNR LIKE afko-AUFNR,
GSTRP LIKE afko-GSTRP,
GSTRS LIKE afko-GSTRS,
GSTRI LIKE afko-GSTRI,
GSUZI LIKE afko-GSUZI,
PLNBEZ LIKE AFKO-PLNBEZ,
END OF it_afko.
DATA : BEGIN OF it_makt OCCURS 0,
matnr TYPE matnr,
maktx TYPE maktx,
END OF it_makt.
DATA : BEGIN OF it_output OCCURS 0,
AUFNR LIKE afpo-AUFNR,
PSMNG LIKE afpo-PSMNG,
WEMNG LIKE afpo-WEMNG,
DAUAT LIKE afpo-DAUAT,
GSTRP LIKE afko-GSTRP,
GSTRS LIKE afko-GSTRS,
GSTRI LIKE afko-GSTRI,
GSUZI LIKE afko-GSUZI,
PLNBEZ LIKE AFKO-PLNBEZ,
matnr LIKE makt-matnr,
maktx LIKE makt-maktx,
END OF it_output.
DATA: wa_output LIKE it_output,
wa_afpo LIKE it_afpo,
wa_afko LIKE it_afko,
wa_makt like it_makt.
DATA : wk_date1(10) TYPE c,
wk_date2(10) TYPE c,
wk_datehead TYPE string.
+--Selection screen parameters--+
INITIALIZATION.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_matnr FOR afpo-matnr.
PARAMETERS : p_pwerk type afpo-pwerk OBLIGATORY.
SELECT-OPTIONS: s_dauat for afpo-dauat OBLIGATORY,
s_gstrp for afko-GSTRP OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
--internal tables for alv--
DATA : gt_fieldcat TYPE slis_t_fieldcat_alv, "catalog for alv
gt_heading TYPE slis_t_listheader, "list for header1
gt_sort TYPE slis_t_sortinfo_alv, "Sorting of the
gt_event TYPE slis_t_event,
gt_selfield TYPE slis_selfield,
gv_alv_event TYPE slis_alv_event,
gv_repname TYPE sy-repid,
gs_layout TYPE slis_layout_alv,
gv_save TYPE c.
CONSTANTS gc_forname_top_of_page TYPE slis_formname VALUE
'TOP-OF-PAGE'.
START-OF-SELECTION.
PERFORM get_data.
PERFORM output_data.
PERFORM build_comment USING gt_heading[].
PERFORM eventstab.
PERFORM sub_t_sort_build.
PERFORM build_field_catalog.
PERFORM display_data.
--Data selection--
*& Form get_data
text
--> p1 text
<-- p2 text
FORM get_data.
select AUFNR
PSMNG
WEMNG
MATNR
PWERK
DAUAT
from afpo CLIENT SPECIFIED
INTO TABLE it_afpo
WHERE mandt = sy-mandt
AND matnr IN s_matnr
and pwerk = p_pwerk
and dauat in s_dauat.
select AUFNR
GSTRP
GSTRS
GSTRI
GSUZI
PLNBEZ
from afko CLIENT SPECIFIED
INTO table it_afko
FOR ALL ENTRIES IN it_afpo
WHERE mandt = sy-mandt
AND aufnr = it_afpo-aufnr
and gstrp in s_gstrp.
SELECT matnr
maktx
FROM makt
INTO table it_makt
FOR ALL ENTRIES IN it_afKo
WHERE matnr = it_afKo-PLNBEZ.
ENDFORM. " get_data
*& Form output_data
text
--> p1 text
<-- p2 text
FORM output_data.
loop at it_afko into wa_afko.
LOOP AT it_afpo into wa_afpo
WHERE aufnr = wa_afKo-aufnr.
wa_output-AUFNR = wa_afpo-AUFNR.
wa_output-PSMNG = wa_afpo-PSMNG.
wa_output-WEMNG = wa_afpo-WEMNG.
wa_output-DAUAT = wa_afpo-DAUAT.
ENDLOOP.
loop at it_makt into wa_makt
where matnr = wa_afKo-PLNBEZ.
wa_output-matnr = wa_makt-matnr.
wa_output-maktx = wa_makt-maktx.
endloop.
wa_output-GSTRP = wa_afko-GSTRP.
wa_output-GSTRS = wa_afko-GSTRS.
wa_output-GSTRI = wa_afko-GSTRI.
wa_output-GSUZI = wa_afko-GSUZI.
APPEND wa_output TO it_output.
ENDLOOP.
CLEAR wa_afpo.
CLEAR wa_afko.
CLEAR wa_output.
SORT IT_OUTPUT BY GSTRP GSUZI.
ENDFORM. " output_data
--Header for ALV--
*& Form build_comment
text
-->P_GT_HEADING[] text
FORM build_comment USING p_heading TYPE slis_t_listheader.
DATA : ls_header TYPE slis_listheader.
*--poputale the report header info
ls_header-typ = 'H'.
MOVE : text-002 TO ls_header-info.
APPEND ls_header TO p_heading.
CLEAR ls_header.
ls_header-typ = 'S'.
ls_header-key = text-013 .
"'User:'
ls_header-info = sy-uname.
APPEND ls_header TO p_heading.
CLEAR: ls_header.
ENDFORM. " build_comment
*& Form eventstab
text
--> p1 text
<-- p2 text
FORM eventstab.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = gt_event
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE gt_event
WITH KEY name = slis_ev_top_of_page
INTO gv_alv_event.
IF sy-subrc EQ 0.
MOVE gc_forname_top_of_page TO gv_alv_event-form.
APPEND gv_alv_event TO gt_event.
ENDIF.
ENDFORM. " eventstab
*& Form build_field_catalog
text
--> p1 text
<-- p2 text
FORM build_field_catalog.
DATA ls_fieldcat TYPE slis_fieldcat_alv.
CLEAR ls_fieldcat.
ls_fieldcat-col_pos = 1.
ls_fieldcat-fieldname = 'DAUAT'.
ls_fieldcat-outputlen = 12.
ls_fieldcat-tabname = 'it_output'.
ls_fieldcat-seltext_l = 'Order Type'.
ls_fieldcat-KEY = 'X'.
APPEND ls_fieldcat TO gt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-col_pos = 2.
ls_fieldcat-fieldname = 'AUFNR'.
ls_fieldcat-outputlen = 10.
ls_fieldcat-tabname = 'it_output'.
ls_fieldcat-seltext_l = 'Order Number'.
APPEND ls_fieldcat TO gt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-col_pos = 3.
ls_fieldcat-fieldname = 'MATNR'.
ls_fieldcat-outputlen = 12.
ls_fieldcat-tabname = 'it_output'.
ls_fieldcat-seltext_l = 'Material Number'.
APPEND ls_fieldcat TO gt_fieldcat.
----you can add fields as per your requirement.*----
ENDFORM. " build_field_catalog
*-- Form top of page
FORM top-of-page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = gt_heading.
ENDFORM. "TOP-OF-PAGE
*& Form display_data
text
--> p1 text
<-- p2 text
FORM display_data.
gv_save = 'A'.
gv_repname = sy-repid.
gs_layout-colwidth_optimize = 'X'.
gs_layout-zebra = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gv_repname
is_layout = gs_layout
it_sort = gt_sort[]
it_fieldcat = gt_fieldcat[]
i_default = 'X'
i_save = gv_save
it_events = gt_event[]
TABLES
t_outtab = it_output
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " display_data
*& Form sub_t_sort_build
text
--> p1 text
<-- p2 text
FORM sub_t_sort_build.
DATA ls_sort TYPE slis_sortinfo_alv.
ls_sort-spos = 1.
ls_sort-tabname = 'it_output'.
ls_sort-fieldname = 'DAUAT'.
ls_sort-subtot = 'X'.
ls_sort-up = 'X'.
ls_sort-group = '*'.
APPEND ls_sort TO gt_sort.
ENDFORM. " sub_t_sort_build
Reward points, if helpful
Regards,
Ramneet -
How to get proper breakthrough in SAP ABAP
hi experts ,
i was going through different threads that getting job as SAP ABAP fresher is very tough .If i consider my profile i have only 3.5 years of software development experience .If i do ABAP then i will be fresher in SAP .
1)so how should i proceed to get a proper break through in this domain.
2)When is the Peak time for doing this course.
3)Is Master Degree Essential to get a break through in SAP ABAP.I have B.Sc IT
4)is Genovate /Bangalore / Mumbai is a proper place to get a breakthrough in SAP ABAP
Thanks and Regards
Samit SarkarHello,
Welcome to the world of SAP ABAP! There is plenty of work at the moment, so you've chosen a good time to start.
I've been doing it for over 10 years, and I would recommend it to anybody.
As for your questions:
1) The best way to break into ABAP is do the courses BC400 and BC401. Then try to find a job where you can gain experience
2) These courses are held all the time
3) No special degree is required, you just need to know how to program BEFORE you try to learn ABAP
4) SAP is used all over the world, so don't worry about specific locations
Once you have done the training and have some on-the-job experience, then you should try to achieve certification.
hope this helps
Paul Bakker
Maybe you are looking for
-
Doing PR in PS, had error regarding exchange rate.
while creating PR (External activity) i encountered this error. Error: There is no exchange rate for exchange rate type P on 2/23/2009: USD -> PHP Pls advise on what to do. thanks in advance. Edited by: srm.consultant2 on Sep 29, 2009 10:20 AM
-
IE displays spry submenus (incorrectly) at top of screen
I apologize for asking this question, as it looks like it has been asked before, but I've spent hours trying to get my spry navigation bar to display correctly in Internet Explorer with no luck. My project for school is due tomorrow and this is the
-
The server has encountered an error processing registration. Please try again later"
Hello, I just got my MAC Book Pro and it I can not log into FACETIME it states " The server has encountered an error processing registration. Please try again later" now it is not due to incorrect information entered. However I also have an IPad mini
-
What is the application which is always trying to connect to a server ?
what is the application which is always trying to connect to a server ? My macbook is always trying to connect to one of my Mac which is not on the network ? How to stop with that ? Cheers.
-
PARTNER SHIP_TO ADDRESS NOT FOUND problem in PDP---Please help
Hi all, We are using the plan driven procurement to push our requirements using the RFC user. When running the prgm "BBP_EXTREQ_TRANSFER" to transfer the PR to SRM it shows item transferred, but its getting stuck in the ques in 'SMQ1' transaction wit