2008 Aug 27 1:17 PM
hi ,
i am getting some problem in BDC for VA01, when i am executing from my system it updating fine, when i am trying from other system it giving error that
field RV45A-MABNR(4) does not exist in the screen SAPMV45A 400
i am using the code like this. and i am working in ECC 6.0.
v_cnt1 = 01.
loop at i_matnr into wa_matnr
where sold = wa_upload-sold
and bstnk = wa_upload-bstnk.
concatenate 'RV45A-MABNR( ' v_cnt1 ')' into v_matnr.
concatenate 'RV45A-KWMENG(' v_cnt1 ')' into v_kwmeng.
perform bdc_field using 'BDC_CURSOR'
v_kwmeng.
perform bdc_field using v_kwmeng
wa_matnr-qty.
perform bdc_field using 'BDC_CURSOR'
v_matnr.
perform bdc_field using v_matnr
wa_matnr-matnr.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
v_cnt1 = v_cnt1 + 1.
if v_cnt1 > 10.
perform bdc_field using 'BDC_OKCODE'
'P+'.
clear: v_cnt1.
v_cnt1 = 01.
endif.
clear: wa_matnr, v_matnr, v_kwmeng.
endloop.
how to correct it please suggest me how to correct that.
thanks in advance,
chinnu.p
2008 Aug 27 1:22 PM
Chinnu
VA01 screen layout varies depending on the configuration settings... So, I would suggest you to go for BAPI BAPI_SALESORDER_CREATEFROMDAT2 instead of BDC.
See BAPI Documentation for more details.
Thanks
Amol Lohade
hi ,
i am getting some problem in BDC for VA01, when i am executing from my system it updating fine, when i am trying from other system it giving error that
field RV45A-MABNR(4) does not exist in the screen SAPMV45A 400
i am using the code like this. and i am working in ECC 6.0.
v_cnt1 = 01.
loop at i_matnr into wa_matnr
where sold = wa_upload-sold
and bstnk = wa_upload-bstnk.
concatenate 'RV45A-MABNR( ' v_cnt1 ')' into v_matnr.
concatenate 'RV45A-KWMENG(' v_cnt1 ')' into v_kwmeng.
perform bdc_field using 'BDC_CURSOR'
v_kwmeng.
perform bdc_field using v_kwmeng
wa_matnr-qty.
perform bdc_field using 'BDC_CURSOR'
v_matnr.
perform bdc_field using v_matnr
wa_matnr-matnr.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
v_cnt1 = v_cnt1 + 1.
if v_cnt1 > 10.
perform bdc_field using 'BDC_OKCODE'
'P+'.
clear: v_cnt1.
v_cnt1 = 01.
endif.
clear: wa_matnr, v_matnr, v_kwmeng.
endloop.
how to correct it please suggest me how to correct that.
thanks in advance,
chinnu.p
2008 Aug 27 1:21 PM
check whether
field RV45A-MABNR(4) does not exist in the screen SAPMV45A 400
exists in the system...
If it is a table control values you should handle the scenario in a different way..
2008 Aug 27 1:22 PM
Hi,
This is the problem with the Screen Resolution of desktop. There is not the problem with your bdc. To avoid this do page down one every record.
-Alpesh
2008 Aug 27 1:22 PM
Chinnu
VA01 screen layout varies depending on the configuration settings... So, I would suggest you to go for BAPI BAPI_SALESORDER_CREATEFROMDAT2 instead of BDC.
See BAPI Documentation for more details.
Thanks
Amol Lohade
2008 Aug 27 1:25 PM
Hi ,
I think you are using an existing code on the new server.
I will suggest you to do a recording again using transaction SHDB. You will get the field names and exact screen numbers with screen flow for the server you are working with.
THnx!
Harry
2008 Aug 27 1:28 PM
Hello chinnu
Sometimes what happed is when we create our BDC through SHDB the resolution of system is different
that runs fine in that system in other system as the resolution changes and it doesnot fint the particular field then BDC gives these kind of errors .
For these issues there is option called default size which is being check when you create recording
so when you pass options in call transaction in options make default size option as checked
Hope it solves your issue
Regads
HItesh
2008 Aug 27 1:43 PM
ya i tried that also for every record i am extending the page but i am unable to process same error i am getting can any one send me sample code....for this............
2008 Aug 27 1:56 PM
hey chinnu
no need to extend the page ok do onething
declare a data type of CTU_PARAMS
data : opt type table of CTU_PARAMS .
opt-DEFSIZE = 'X'
Please check call transaction syntax and add options to it .
hope it soles your problem .
2008 Aug 28 5:55 AM
2012 Feb 24 7:00 AM
Hi chinnu,
I am also getting the same type of error.
can i know the solution that you got.
Regards,
kk
2012 Feb 24 7:42 AM
Hi,
Use -
opt-DEFSIZE = 'X'.
as specified by many people above.
Regards,
Harsh Bansal
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |