2010 Dec 28 12:45 PM
dear Experts
i have problem while uploading the data into the CN22 transaction
i t is updating frontend mode 'A' but not updating with backend when 'N'
please tell me the solution.
perform bdc_dynpro using 'SAPLCOKO' '2000'.
perform bdc_field using 'BDC_CURSOR'
'CAUFVD-AUFNR'.
perform bdc_field using 'BDC_OKCODE'
'=LIST'.
perform bdc_field using 'CAUFVD-AUFNR'
wa_data-aufnr.
perform bdc_dynpro using 'SAPLCOVG' '2000'.
perform bdc_field using 'BDC_OKCODE'
'=EINF'.
perform bdc_field using 'BDC_CURSOR'
'AFVGD-VORNR(01)'.
perform bdc_field using 'RC27X-FLG_SEL(01)'
FLG_SEL_01_002.
perform bdc_dynpro using 'SAPLCOVG' '2000'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'AFVGD-ARBPL(01)'.
perform bdc_field using 'AFVGD-VORNR(01)'
wa_data-vornr.
perform bdc_field using 'AFVGD-LTXA1(01)'
wa_data-ltxa1.
perform bdc_field using 'AFVGD-DAUNO(01)'
wa_data-dauno.
perform bdc_field using 'AFVGD-ARBPL(01)'
wa_data-arbpl.
perform bdc_dynpro using 'SAPLCOVG' '2000'.
perform bdc_field using 'BDC_CURSOR'
'VSNETEXT-NPLNR'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
*perform bdc_transaction using 'CN22'.
call transaction 'CN22' using it_bdcdata
OPTIONS FROM wa_CTU_PARAMS
messages into mess_tab.
dear Experts
i have problem while uploading the data into the CN22 transaction
i t is updating frontend mode 'A' but not updating with backend when 'N'
please tell me the solution.
perform bdc_dynpro using 'SAPLCOKO' '2000'.
perform bdc_field using 'BDC_CURSOR'
'CAUFVD-AUFNR'.
perform bdc_field using 'BDC_OKCODE'
'=LIST'.
perform bdc_field using 'CAUFVD-AUFNR'
wa_data-aufnr.
perform bdc_dynpro using 'SAPLCOVG' '2000'.
perform bdc_field using 'BDC_OKCODE'
'=EINF'.
perform bdc_field using 'BDC_CURSOR'
'AFVGD-VORNR(01)'.
perform bdc_field using 'RC27X-FLG_SEL(01)'
FLG_SEL_01_002.
perform bdc_dynpro using 'SAPLCOVG' '2000'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'AFVGD-ARBPL(01)'.
perform bdc_field using 'AFVGD-VORNR(01)'
wa_data-vornr.
perform bdc_field using 'AFVGD-LTXA1(01)'
wa_data-ltxa1.
perform bdc_field using 'AFVGD-DAUNO(01)'
wa_data-dauno.
perform bdc_field using 'AFVGD-ARBPL(01)'
wa_data-arbpl.
perform bdc_dynpro using 'SAPLCOVG' '2000'.
perform bdc_field using 'BDC_CURSOR'
'VSNETEXT-NPLNR'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
*perform bdc_transaction using 'CN22'.
call transaction 'CN22' using it_bdcdata
OPTIONS FROM wa_CTU_PARAMS
messages into mess_tab.
2010 Dec 28 2:02 PM
Hi,
First check the messages in intenal table mess_tab in debugging mode with mode N.
Recording looks ok.
Regards
Praveen
2011 Jan 07 1:48 PM
HI
Check the internal table messages table i.e mess_tab, if there is any warning messages.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |