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: 

FI Dunning note enhancement of selection screen sapf150v

Former Member
0 Kudos

Hello

Maybe somebody has dealt with such problem

I need to enhance the screen parameters in transaction SAPF150V (screen: 111)

I'm working in 6.0, these fields are mostly needed only for printout,

some data from this screen must be printed on the form.

The problem is that I do not now how to modify this screen without

doing hard modification of program (i.e. F150- ZF150)

Anybody has an idea?

Best regards Bogumila

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi!

I understood you, but you said, how can this performed, without modifying the standard program. This is a way to it, use 4 different SO10 text elements, if the user fills them, it will be printed, if the user deletes them, it will be not printed.

I didn't find any customer exits in the program SAPF150V, so the other ways are the standard modification, or the standard copy to a Z program.

Regards

Tamá

3 REPLIES 3

Former Member
0 Kudos

Hi!

If the data is constant text, you might use standard texts with SO10 transaction. Even the users can maintain this text.

The other way, is to use a PERFORM from the dunning SAPScript, and you can write your ABAP code here.

It's working like this:

Definition in the SAPscript form:

/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO

/: USING &PAGE&

/: USING &NEXTPAGE&

/: CHANGING &BARCODE&

/: ENDPERFORM

/

/ &BARCODE&

Coding of the calling ABAP program:

REPORT QCJPERFO.

FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY

OUT_PAR STRUCTURE ITCSY.

DATA: PAGNUM LIKE SY-TABIX, "page number

NEXTPAGE LIKE SY-TABIX. "number of next page

READ TABLE IN_PAR WITH KEY ‘PAGE’.

CHECK SY-SUBRC = 0.

PAGNUM = IN_PAR-VALUE.

READ TABLE IN_PAR WITH KEY ‘NEXTPAGE’.

CHECK SY-SUBRC = 0.

NEXTPAGE = IN_PAR-VALUE.

READ TABLE OUT_PAR WITH KEY ‘BARCODE’.

CHECK SY-SUBRC = 0.

IF PAGNUM = 1.

OUT_PAR-VALUE = ‘|’. "First page

ELSE.

OUT_PAR-VALUE = ‘||’. "Next page

ENDIF.

IF NEXTPAGE = 0.

OUT_PAR-VALUE+2 = ‘L’. "Flag: last page

ENDIF.

MODIFY OUT_PAR INDEX SY-TABIX.

ENDFORM.

Regards

Tamá

0 Kudos

Hello you do not understand my question I need to enhance screen 111 in transaction F150 (program sapf150v) with a couple of new fields

- radiobuttons, and 4 additional others fields, user enters there something and than I print this information on the layout.

Best regards Bogumila

Former Member
0 Kudos

Hi!

I understood you, but you said, how can this performed, without modifying the standard program. This is a way to it, use 4 different SO10 text elements, if the user fills them, it will be printed, if the user deletes them, it will be not printed.

I didn't find any customer exits in the program SAPF150V, so the other ways are the standard modification, or the standard copy to a Z program.

Regards

Tamá