2007 Jan 25 9:36 AM
Hi,
I am using me12 BDC prog to change the price and in my case i cant able to change the valied on date and amount at same time.ican able to chance only the amount.but i want to change both the amount and valied on date also.pls help to solve the issue. the problem is in the below code.
perform bdc_dynpro using 'SAPMV13A' '0201'.
perform bdc_field using 'BDC_CURSOR'
'KONP-KBETR(01)'.
perform bdc_field using 'BDC_CURSOR'
'RV13A-DATAB'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KONP-KONWA(01)' I_UPLOAD-WAERS.
tt_A905-konwa.
perform bdc_field using 'KONP-KBETR(01)' i_upload-netpr.
' 8888.00'.
perform bdc_field using 'RV13A-DATAB' I_UPLOAD-ERDAT.
'12.11.2006'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
CALL TRANSACTION 'ME12' USING BDCDATA MODE 'N' update 'S'.
Pls help to solve the issue.
Thanks,
Rajendra.
Hi,
I am using me12 BDC prog to change the price and in my case i cant able to change the valied on date and amount at same time.ican able to chance only the amount.but i want to change both the amount and valied on date also.pls help to solve the issue. the problem is in the below code.
perform bdc_dynpro using 'SAPMV13A' '0201'.
perform bdc_field using 'BDC_CURSOR'
'KONP-KBETR(01)'.
perform bdc_field using 'BDC_CURSOR'
'RV13A-DATAB'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KONP-KONWA(01)' I_UPLOAD-WAERS.
tt_A905-konwa.
perform bdc_field using 'KONP-KBETR(01)' i_upload-netpr.
' 8888.00'.
perform bdc_field using 'RV13A-DATAB' I_UPLOAD-ERDAT.
'12.11.2006'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
CALL TRANSACTION 'ME12' USING BDCDATA MODE 'N' update 'S'.
Pls help to solve the issue.
Thanks,
Rajendra.
2007 Jan 25 9:53 AM
Hi,
write this code,
Data: S_date type SY-DATUM.
L_DATE(10) type c,
perform bdc_dynpro using 'SAPMV13A' '0201'.
perform bdc_field using 'BDC_CURSOR'
'KONP-KBETR(01)'.
perform bdc_field using 'BDC_CURSOR'
'RV13A-DATAB'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KONP-KONWA(01)' I_UPLOAD-WAERS.
tt_A905-konwa.
perform bdc_field using 'KONP-KBETR(01)' i_upload-netpr.
' 8888.00'.
<b>MOVE I_UPLOAD-ERDAT to S_date.
Write S_date to L_DATE.</b>
perform bdc_field using 'RV13A-DATAB' <b>L_DATE.</b>
'12.11.2006'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
CALL TRANSACTION 'ME12' USING BDCDATA MODE 'N' update 'S'.
Regards
Sudheer
2007 Jan 26 1:41 AM
Hi Sudheer,
I tryed by using as you ask me change also but still the same problem i couldt able to change the amount,and validate on date at a time.but if i do only the amount is possible.so what will be the solution to solve the issue pls help it.
Thanks,
Rajendra.
2007 Jan 26 6:19 AM
Go to su3 and see the user Date format and then use date format FM
I think it will work techinal wise but functional whether it will accept only current date or document date please check out
2007 Jan 26 7:37 AM
Hi Babu,
The date is in userformet only,But the functional consultant asking me that the price change date (validdate on ) also modify.means the change price will be effective on the new updated date not the current date .so how to do that.
Thanks,
Rajendra.
2009 Sep 17 2:51 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |