‎2007 Jun 26 2:39 AM
1)When i'm runing aprogaram in which i have BAPI
and it is sucessfully updating a record But when
i'm debuging the bapi even then the record is getting updated ??
ANS :Yes it will, provided it doesnt need external commit work.
What is the solution then ????
2)In script we add field in Layout using perform <name> program <programname>
and where do we write form?? as we dont hav access to Driver progaram.
3)Defference between table and template ?
‎2007 Jun 26 3:17 AM
Hi,
3. Template inside a loop will give you the same output as table.Template is static whereas table is dynamic.
Check this link.
In this link,I am explaining both the template and table in detail.
Check this also.
‎2007 Jun 26 3:22 AM
1)When i'm runing aprogaram in which i have BAPI
and it is sucessfully updating a record But when
i'm debuging the bapi even then the record is getting updated ??
ANS :Yes it will, provided it doesnt need external commit work.
What is the solution then ????
You will get status using BAPIRET Structure ,once you call BAPI FM,then you must use<b> BAPI_TRANSACTION_COMITT FM</b>
2)In script we add field in Layout using perform <name> program <programname>
and where do we write form?? as we dont hav access to Driver progaram.
You can write form routine in se38 by creating new program,Note that ITCSY structure important ,by using ITCSY Structure you can pass data from layout to Program
3)Defference between table and template ?
tables contains both physically and logically -> data
template is nothing but structure and it will have data on run time
Thanks
Seshu