Skip to Content
0
Former Member
Aug 02, 2007 at 05:22 AM

F101 Post the entries from Z program

29 Views

Hi,

My requirement is to do BDC for F101 screen ...

F101 screen has input values and after that if we execute its displaying a ALV report.After display of ALV grid , if i click POST it will post the entries.

BDC is not possible for ALV grid.

So I tried to give input vzlues and submit this to that program.

wa_rspar-selname = 'KONTOART'.

wa_rspar-kind = 'S'.

wa_rspar-sign = 'I'.

wa_rspar-option = 'EQ'.

wa_rspar-low = 'D'.

APPEND wa_rspar TO rspar.

clear wa_rspar.

wa_rspar-selname = 'DKONTO'.

wa_rspar-kind = 'S'.

wa_rspar-sign = 'I'.

wa_rspar-option = 'EQ'.

wa_rspar-low = '0230000011'.

APPEND wa_rspar TO rspar.

clear wa_rspar.

submit SAPF101 using Selection-screen '1000'

WITH SELECTION-TABLE rspar.

its working fine and its displaying the ALV grid also.In that I have to click POST manually to post the entries.

here my question is, i have to post the entries from my Z program.After display of ALV it should go for posting.No need to show the ALV to user. it should post the entries.

How to do this.

Anyone plz help me with a solution.

Message was edited by:

Sumi Vasu