Application Development and Automation 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: 
Read only

Editable ALV using OOABAP

Former Member
0 Likes
638

Hi all,

I have one requirement for editable ALV.I have 3 fields in my fieldcatalog .

I have checkboxes before each row and each cloumn.and i have a push button on Application toolbar.

Now my requirement is when i execute the report first time all check boxes are editable from that i selected some fields.and clicked on push button .When i clicked on push button

some user command should be done like calling the transaction .How can i handle this push button.

2.After running the report .then once again i executed the report now the output would be

what ever the checkboxes i checked are should be in disable mode in the last exection.

How can handle these two requirements .These are very urgent.

<b><REMOVED BY MODERATOR></b>

Please give me the answer please.

Thanks,

Message was edited by:

Alvaro Tejada Galindo

4 REPLIES 4
Read only

Former Member
0 Likes
592

What have you done? Have you builded the OO ALV? Are you having troubles with the User Command?

Greetings,

Blag.

Read only

Former Member
0 Likes
592

Hi swapna,

Refer below threads.

Hope it will solve your problem.

<b><REMOVED BY MODERATOR></b>

Thanks & Regards

ilesh Nandaniya

Message was edited by:

Alvaro Tejada Galindo

Read only

Former Member
0 Likes
592

Hi

See the link and do accordingly

Editable ALV using OOPS

<b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20edit%20alv%20grid.doc</b>

see the other links wrt to OOPS ALV

Check this for basic concepts of OOPS

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20...

Tabstrip

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20...

Editable ALV

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20...

Tree

http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm

General Tutorial for OOPS

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20ea...

http://www.sapdevelopment.co.uk/reporting/alvhome.htm

http://www.sap-img.com/abap/what-is-alv-programming.htm

http://www.sap-img.com/abap-function.htm

http://www.geocities.com/mpioud/Abap_programs.html

http://www.sapdevelopment.co.uk/reporting/alv/alvtree%5Calvtree_basic.htm

http://esnips.com/doc/ad20dca9-6182-4903-8d8f-96a66dc8590c/ALV.pdf

http://www.sap-img.com/abap-function.htm

Classical ALV:

http://www.geocities.com/mpioud/Abap_programs.html

OOPS ALV:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a41...

Regards

Anji

Message was edited by:

Anji Reddy Vangala

Read only

Former Member
0 Likes
592

> Hi all,

>

>

> I have one requirement for editable ALV.I

> have 3 fields in my fieldcatalog .

> have checkboxes before each row and each cloumn.and

> i have a push button on Application toolbar.

>

> Now my requirement is when i execute the report

> first time all check boxes are editable from that i

> selected some fields.and clicked on push button

> .When i clicked on push button

> ome user command should be done like calling the

> transaction .How can i handle this push button.

> 2.After running the report .then once again i

> executed the report now the output would be

> what ever the checkboxes i checked are should be in

> disable mode in the last exection.

>

> How can handle these two requirements .These are very

> urgent.

> <b><REMOVED BY MODERATOR></b>

> Please give me the answer please.

>

> Thanks,

>

> Message was edited by:

> Alvaro Tejada Galindo

Hi Tejgda,

I have generated the OO ALV using custom container and grid control .I have written the code .In PAI i am not able to handle the 'BACK' button also.

I have copied the pf-status from the standard program SAPKKBL program.i ahve wiriiten in PAI

*&----


**& Module USER_COMMAND_2000 INPUT

*&----


    • text

*----


MODULE USER_COMMAND_2000 INPUT.

SAVE_OK = OK_CODE.

CLEAR OK_CODE.

CASE SAVE_OK.

WHEN 'EXIT'.

LEAVE PROGRAM.

ENDCASE.

after executing the report i am not able to handle the back button. in pf sttaus my event name is back only.how can i handle can u please expain it clealy

Thanks

tH