how to write BDC with subroutine with session and call trans
Here is my problem. I need to develop a BDC for Tcode FBS1 by using structure and Both Call Trans and Session method.
I need to put all the code in subroutine and Call Trans has to execute first if fails then session has to execute.
i need to use the FBS1 fields in structure there r 19 fields in the structure. I need to include that structure in the itab. I have to use this itab in the subroutine.i am just passing hard code data into itab.
if any one have code please pass to me.
thanks in advance