2006 Sep 26 4:00 AM
I can use the function 'PRELIMINARY_POSTING_FB01' to generate parked account document, it need to be posted by transaction 'FBV0' manually, but how can it be posted automatically thru this function or other one, please advise, thanks!!!
2006 Sep 27 2:41 PM
If you don't find any FM, try with this little BDC:
*
PERFORM comptabiliser-annuler
USING '=STER'.
*
modus = 'N'.
CALL TRANSACTION 'FBV0'
USING bdcdata
MODE modus.
*
IF sy-subrc EQ 0.
.
.
.
&----
*& Form COMPTABILISER-ANNULER
&----
text
----
-->BDC_OKCODE text
----
FORM comptabiliser-annuler
USING p_okcode TYPE okcode.
*
REFRESH bdcdata.
*
Dynpro 0100
*
PERFORM bdc-dynpro
USING 'SAPMF05V' "Program SAPMF05V
'0100'. "Dynpro 0100
PERFORM bdc-field
USING 'BDC_OKCODE' "Okcode - ENTER
'/00' '' ''.
*
*
PERFORM bdc-field
USING 'RF05V-BUKRS'
t9fac_h-bukrs '' ''.
PERFORM bdc-field
USING 'RF05V-BELNR'
t9fac_h-belnr '' ''.
PERFORM bdc-field
USING 'RF05V-GJAHR'
t9fac_h-gjahr '' ''.
*
Dynpro 0700
*
PERFORM bdc-dynpro
USING 'SAPLF040' "Program SAPLF040
'0700'. "Dynpro 0700
PERFORM bdc-field
USING 'BDC_OKCODE' "Okcode - Book
p_okcode '' ''.
*
ENDFORM. " COMPTABILISER-ANNULER
Nota: the fields called t9fac_h- are part of one of my application tables
I can use the function 'PRELIMINARY_POSTING_FB01' to generate parked account document, it need to be posted by transaction 'FBV0' manually, but how can it be posted automatically thru this function or other one, please advise, thanks!!!
2006 Sep 27 2:41 PM
If you don't find any FM, try with this little BDC:
*
PERFORM comptabiliser-annuler
USING '=STER'.
*
modus = 'N'.
CALL TRANSACTION 'FBV0'
USING bdcdata
MODE modus.
*
IF sy-subrc EQ 0.
.
.
.
&----
*& Form COMPTABILISER-ANNULER
&----
text
----
-->BDC_OKCODE text
----
FORM comptabiliser-annuler
USING p_okcode TYPE okcode.
*
REFRESH bdcdata.
*
Dynpro 0100
*
PERFORM bdc-dynpro
USING 'SAPMF05V' "Program SAPMF05V
'0100'. "Dynpro 0100
PERFORM bdc-field
USING 'BDC_OKCODE' "Okcode - ENTER
'/00' '' ''.
*
*
PERFORM bdc-field
USING 'RF05V-BUKRS'
t9fac_h-bukrs '' ''.
PERFORM bdc-field
USING 'RF05V-BELNR'
t9fac_h-belnr '' ''.
PERFORM bdc-field
USING 'RF05V-GJAHR'
t9fac_h-gjahr '' ''.
*
Dynpro 0700
*
PERFORM bdc-dynpro
USING 'SAPLF040' "Program SAPLF040
'0700'. "Dynpro 0700
PERFORM bdc-field
USING 'BDC_OKCODE' "Okcode - Book
p_okcode '' ''.
*
ENDFORM. " COMPTABILISER-ANNULER
Nota: the fields called t9fac_h- are part of one of my application tables
2006 Sep 27 3:13 PM
HI,
please see this <b>BAPI BAPI_INCOMINGINVOICE_PARK</b>
or try with <b>MRM_INVOICE_PARK</b>
Regards
Sudheer
2006 Sep 27 3:23 PM
hi ,
use BAPI_INCOMINGINVOICE_PARK
rgds
anver
pls mark hlpful answers
2006 Oct 13 6:39 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |