06-15-2010 6:44 AM
Dear experts,
I hve devloped bdc for fb02, after completion of calltrasaction method i am diplaying the belnr documetns by using write satement in the bdc programe which were in flatfile.
My requirement is when i double click on belnr document it should have to display that document via fb02.
please help me.
belo codefyi
'=AE'.
PERFORM bdc_field1 USING 'BSEG-SGTXT'
tab1-sgtxt_008.
CALL TRANSACTION 'FB02' USING bdcdata MODE 'E' UPDATE 'S' MESSAGES INTO messtab.
WRITE:/ tab1-belnr_001 , 'DOCUMENT UPDATED'.
CLEAR: tab1.
ENDLOOP.
regards.
praveen hazare.
regards.
praveen hazare
06-15-2010 7:11 AM
Hi,
Try below code
loop at itab1.
WRITE:/ itab1-belnr_001 , 'DOCUMENT UPDATED'.
hide : itab1-belnr_001.
endloop.
at line-selection.
set parameter id : 'BLN' field itab-belnr_001.
call transaction 'FB02' and skip first screen.
Regards
Vinod
Edited by: Vinod Kumar on Jun 15, 2010 11:42 AM
06-15-2010 7:11 AM
Hi,
Try below code
loop at itab1.
WRITE:/ itab1-belnr_001 , 'DOCUMENT UPDATED'.
hide : itab1-belnr_001.
endloop.
at line-selection.
set parameter id : 'BLN' field itab-belnr_001.
call transaction 'FB02' and skip first screen.
Regards
Vinod
Edited by: Vinod Kumar on Jun 15, 2010 11:42 AM
06-15-2010 8:19 AM
Praveen,
You can try this
loop.
WRITE:/ tab1-belnr_001 , 'DOCUMENT UPDATED'.
At line-selection.
get cursor field tab1-belnr_001 .
call transaction '' using tab1-belnr_001 and skip first screen.
CLEAR: tab1.
ENDLOOP.
Thanks
Bala Duvvuri
06-15-2010 8:20 AM
06-15-2010 8:35 AM
Dear Vinod, Bala
i got it
after endform i write code
thxs very much.