2009 Oct 27 4:43 PM
Hello Gurus,
I copied SAP program 'RFBUEB00' into custom program. When I execute the custom report, I see the data lijne by line in ABAP list. I see a deafult 'Select' button on application toolbar.
If I want to add additional custom button on application toolbar on ABAP list display screen, how can I do it ? Please help.
Regards,
Jainam.
Edited by: Jainam Shah on Oct 27, 2009 5:44 PM
2009 Oct 27 5:07 PM
If you set your own PF status... ALV grid options will go away.
What i will do is change the display option to SALV or OOALV (you can find demo examples in the system from se38)... create your own screen and set the PF-status then handle the user command in PAI.
You need to set PF-status in PBO
Hello Gurus,
I copied SAP program 'RFBUEB00' into custom program. When I execute the custom report, I see the data lijne by line in ABAP list. I see a deafult 'Select' button on application toolbar.
If I want to add additional custom button on application toolbar on ABAP list display screen, how can I do it ? Please help.
Regards,
Jainam.
Edited by: Jainam Shah on Oct 27, 2009 5:44 PM
2009 Oct 27 4:48 PM
2009 Oct 27 5:07 PM
If you set your own PF status... ALV grid options will go away.
What i will do is change the display option to SALV or OOALV (you can find demo examples in the system from se38)... create your own screen and set the PF-status then handle the user command in PAI.
You need to set PF-status in PBO
2009 Oct 27 5:14 PM
i guess he is talking about LIST not ALV..
or the program output is ALV??
2009 Oct 27 5:33 PM
In my case it just rights the data in ABAP screen as follows. I can't use ALV grid and stuff because its on older version.
FORM LISTE_SCHREIBEN.
check = '@T9@'.
FORMAT COLOR COL_KEY INTENSIFIED OFF.
WRITE: / SY-VLINE,
check,
BKPF-BUKRS,
BKPF-BELNR,
BKPF-GJAHR.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE: BKPF-BLART,
(8) BKPF-BLDAT DD/MM/YY,
(8) BKPF-BUDAT DD/MM/YY,
BKPF-WAERS,
BKPF-XBLNR,
80 SY-VLINE.
XAUSGABE = 'X'.
HIDE: BKPF-BUKRS, BKPF-BELNR, BKPF-GJAHR, BKPF-BSTAT, XAUSGABE.
IF BKPF-BKTXT NE SPACE.
FORMAT COLOR COL_KEY INTENSIFIED OFF.
WRITE: / SY-VLINE, CHAR4 UNDER BKPF-GJAHR.
FORMAT COLOR COL_NORMAL INTENSIFIED.
WRITE: BKPF-BKTXT UNDER BKPF-BLART,
80 SY-VLINE.
HIDE: BKPF-BUKRS, BKPF-BELNR, BKPF-GJAHR, BKPF-BSTAT, XAUSGABE.
ENDIF.
ENDFORM.I have to select multiple lines and proces them. For one line I know I can use AT-LINE-SELECTION but this is multiple lines...
2009 Oct 27 5:40 PM
use
set PF-STATUS 'ABC'.
double click on ABC. it will ask you to create it.. click ok.. and move on..
2009 Oct 27 6:19 PM
You are right... he was talking about the list.
Unfortunately that report displays only in ALV. .... not sure which SAP version he is on... thanks anyways
2009 Oct 27 6:21 PM
>
> In my case it just rights the data in ABAP screen as follows. I can't use ALV grid and stuff because its on older version.
>
>
FORM LISTE_SCHREIBEN. > > check = '@T9@'. > > FORMAT COLOR COL_KEY INTENSIFIED OFF. > WRITE: / SY-VLINE, > check, > BKPF-BUKRS, > BKPF-BELNR, > BKPF-GJAHR. > FORMAT COLOR COL_NORMAL INTENSIFIED OFF. > WRITE: BKPF-BLART, > (8) BKPF-BLDAT DD/MM/YY, > (8) BKPF-BUDAT DD/MM/YY, > BKPF-WAERS, > BKPF-XBLNR, > 80 SY-VLINE. > XAUSGABE = 'X'. > HIDE: BKPF-BUKRS, BKPF-BELNR, BKPF-GJAHR, BKPF-BSTAT, XAUSGABE. > IF BKPF-BKTXT NE SPACE. > FORMAT COLOR COL_KEY INTENSIFIED OFF. > WRITE: / SY-VLINE, CHAR4 UNDER BKPF-GJAHR. > FORMAT COLOR COL_NORMAL INTENSIFIED. > WRITE: BKPF-BKTXT UNDER BKPF-BLART, > 80 SY-VLINE. > HIDE: BKPF-BUKRS, BKPF-BELNR, BKPF-GJAHR, BKPF-BSTAT, XAUSGABE. > ENDIF. > ENDFORM.>
>
> I have to select multiple lines and proces them. For one line I know I can use AT-LINE-SELECTION but this is multiple lines...
What is your SAP system version?
It seems to be displayed only in ALV. Well, if you can make it to display in LIST ... you can go with set pf-status.
good luck
2009 Oct 27 6:35 PM
first create a button using pf-status.
put a check box beside your each line.. mark them and process them using at user-command.
2009 Oct 27 7:15 PM
2009 Oct 27 7:17 PM
that is the reason why i couldnt execute report in list view. Please see Soumyaprakash
reply. That should do it
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |