cancel
Showing results for 
Search instead for 
Did you mean: 

Script(payment advise)

Former Member
0 Kudos

Hi gurus,

I have to prepare payment advise.I have script for that . I need to get data to that layout. Could u pls anyone give me guidence?

Accepted Solutions (1)

Accepted Solutions (1)

former_member187457
Active Contributor
0 Kudos

check standard script F110_prenum_chck

for the fields

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks alot gurus i have done...

Former Member
0 Kudos

Dear All,

Thanks a lot gurus for valuable inf . i got item details. Now i has to count items in that particular doc. I have following statments in my form.

/:DEFINE &FLAG&= '0'

/:PERFORM COUNT_VALUE IN PROGRAM

/:ZFI_PAY_ADVICE

/:USING &REGUH-VBLNR&

/:USING &REGUH-ZBUKR&

/:USING &REGUD-GJAHR&

/:USING &REGUH-LAUFD&

/:CHANGING &COUNT&

/:ENDFORM.

Could u pls any one help to write code in subroutine? pls its urgent.

former_member187457
Active Contributor
0 Kudos

use Describe statement to get the total no of line items...

Former Member
0 Kudos

Hi,

Thanks for reply...could pls exp little bit deeply i didn't get pls..

Former Member
0 Kudos

In your subroutine, you just write a statement :

DESCRIBE TABLE <internal table> LINES ln.

Here ln isa variable of type I. After executing this line , ln'll give you the no. of lines of your internal table .

former_member187457
Active Contributor
0 Kudos

in suroutine

populate the data in the internal table ...

and

use

Describe table itab lines g_count.

here gc_count will contain the total no of line items in the itab...

or u can use field sy-dbcnt...

Former Member
0 Kudos

payment advices

F110_D_AVIS

F110_ES_AVISO

F110_ES_AVISO

F110_FR_AVIS

F110_FR_AVIS

F110_IN_AVIS

F110_IT_AVVISO

F110_IT_AVVISO_B

F110_JP_AVIS

F110_US_AVIS

F110_PRENUM_CHCK

FPAYM_NL_ADVIES

J_1B_AVIS

Reward points if useful.