Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV report

Former Member
0 Kudos

hi,

1. wht is the function module for placing the buttons on a ALV report.

2. wht r feild symbols and where do we use this .

3. wht is the advantage of LSMW over Batch input.

which method is used mostly and why?

can any one send me one real time ALV report on SD with some

discription about that.

bye

3 REPLIES 3

Former Member
0 Kudos

hi,

1. There is not a function module for placing buttons on a ALV. You have to create a PFstatus, better if you do it from a copy of the standard ALV, and adding all the options you need in the pfstatus: menu, submenu, options, shortcut keys and buttons. One you have create your own PFstatus you have to pass it as a parameter of the ALV creation function module.

2. Field symbols are like C pointers. Your field symbol always refer to a variable that is in your program and while running you can refer to different ones base on the logic you require.

3. LSMW is a data conversion tool. LSMW can use multiple techniques, for uploading data, like: Direct input, Batch Input, BAPI, etc..

So LSMW can not be compare to batch input because a batch input can be used inside the tool LSMW. However, people normaly refers to Batch Input as a Z program, for uploading data, that simulates the flows of the standard screen of a transaction. Batch Input has advantages and disadvantages. Is really easy to use as can be automatically generated by recording it while simulating the use of the transaction to record. However is better to use other alternatives if there are available, due to: Changes of configuration, releases or OSS notes application may change the way the transaction works and the batch input may stop working. Also, it is the slowest data conversion technique.

0 Kudos

LSMW is a SAP tool to load data into SAP.

LSMW works either with BDC, BAPI or IDOC.

So BDC is a part of LSMW .

You can BDC in LSMW to upload data into SAP with easy steps. Hope this would clear your second question.

Regards

vivek

<b> reward points for all the useful answers </b>

Former Member
0 Kudos

Hi,

1. Copy the standard GUI Status STANDARD in the program SAPLKKBL and add your own buttons..

Check this program for capturing the events when the button is pressed.

http://sap-img.com/abap/an-interactive-alv-report.htm

2. Field-symbols - At runtime, you can assign a concrete field to it using the ASSIGN statement

Example..

FIELD-SYMBOLS <FS>.

DATA: V_VALUE(10) VALUE 'V_DATA'.

DATA: V_DATA(10).

V_DATA = '1234567'.

ASSIGN (V_VALUE) TO <FS>.

write: / <fs>.

3.

http://sap-img.com/general/what-are-the-methods-to-migrate-data-from-a-legacy-system-to-sap.htm

Thanks,

Naren