[9165] in SAPr3-news

home help back first fref pref prev next nref lref last post

Re: BDC ABAP Problem

daemon@ATHENA.MIT.EDU (Alberto Onieva Onieva)
Wed Dec 9 10:17:27 1998

To: sapr3-news@MIT.EDU
Date: 9 Dec 1998 15:01:30 GMT
From: "Alberto Onieva Onieva" <aonieva@ree.es>

	Hi James,

	Whenever you code one BDC program like this, you must follow the rule:
You've got to insert one line with DYNBEGIN = 'X' in two cases:
1) As the first line of the BDC table.
2) Always after a line with the field BDC_OKCODE.

	So, the solution to your problem would be inserting de code:

> INT_BDC-PROGRAM = 'SAPL0SAP'.
> * move 'SAPLSVIM' to int_bdc-program.
> INT_BDC-DYNPRO = '0020'.
> INT_BDC-DYNBEGIN = 'X'.
> APPEND INT_BDC.
> 
> MOVE 'BDC_OKCODE' TO INT_BDC-FNAM.
> MOVE '/5' TO INT_BDC-FVAL.
> APPEND INT_BDC.

* BEGIN OF INSERTION 
> INT_BDC-PROGRAM = 'SAPL0SAP'.
> INT_BDC-DYNPRO = '0020'.
> INT_BDC-DYNBEGIN = 'X'.
> APPEND INT_BDC.
* END OF INSERTION

> INT_BDC-FNAM = 'v_tcurr-kurst'.
> INT_BDC-FVAL = 'M'.
> APPEND INT_BDC.
> 
> 

Alberto Onieva
aonieva@ree.es

home help back first fref pref prev next nref lref last post