‎2006 Dec 01 12:06 PM
hello all,
I have created dynpro to update data in ztable.
on selection screen i have to enter parameter for customer no. (kna1-kunnr).
Now everything is working fine. but after saving data , on selection screen when
i enter customer no and press F8 immediately programme is throwing out.
so at a time i can enter data for single customer only.
can anyone suggest me what should i write for recursive routine.
thanks & regards,
viraj
‎2006 Dec 01 12:38 PM
santhosh,
this is my coding.
selection-screen begin of block b1.
PARAMETERS: p_kunnr TYPE kna1-kunnr obligatory.
selection screen end of block b1.
START-OF-SELECTION.
CALL SCREEN 100.
END-OF-SELECTION.
(NONE)
******
regards
raj.
‎2006 Dec 01 12:24 PM
hi,
after ur database statement i guess insert use commit work.
hope that helps.
santhosh
‎2006 Dec 01 12:30 PM
santhosh,
data updation is not a problem.
i am asking for recursive routine like migo. you enter material document & do data entry & save . then in the same screen you can again enter material document &
do data entry & save.
MIGO is not throwing out at menu level after each material document, you know.
i want to do same in my dynpro.
thanks,
raj
‎2006 Dec 01 12:32 PM
hi,
ok..well after ur update statement in the last screen.
call screen 100. r what ever ur screen, should agn take u to the same screen (the initial screen) so that u make a new entry. I hope i gt ur question rite.
santhosh
‎2006 Dec 01 12:38 PM
santhosh,
this is my coding.
selection-screen begin of block b1.
PARAMETERS: p_kunnr TYPE kna1-kunnr obligatory.
selection screen end of block b1.
START-OF-SELECTION.
CALL SCREEN 100.
END-OF-SELECTION.
(NONE)
******
regards
raj.
‎2006 Dec 01 12:41 PM
hi,
selection-screen begin of block b1.
PARAMETERS: p_kunnr TYPE kna1-kunnr obligatory.
selection screen end of block b1.
START-OF-SELECTION.
do.
CALL SCREEN 100.
if sy-ucomm = 'EXIT'.
exit.
santhosh
endif.
enddo.
END-OF-SELECTION.
Message was edited by:
Kaluvala Santhosh