on 05-04-2011 4:39 AM
Hi experts,
I need to upload BOM entries. I have done done BDC recording for the same with 15 records and generated funtion module for that. The user have to upload large no (more than 500)
of BOM entries to upload their data. Now can i use this funtion module in a wda program and run this in a loop to upload BOM.
Thanks & Regards,
Monishankar C
Technically you can do what you describe, but if you do such a large number form WDA you will likely experience a timeout. For a large data load, why would you use a WDA? Why wouldn't you instead write this as a background job? You could perhaps upload the file via WDA and use the WDA to submit the background job, but I wouldn't recommend trying to do that large a batch of updates in WDA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use FM in WD and loops as well. Check below example code, it is working fine.
DATA : HUKEY TYPE BAPIHUKEY-HU_EXID,
wa_hukey TYPE BAPIHUKEY-HU_EXID.
loop at lt_pack_mat into ls_pack_mat.
wa_hukey = ls_pack_mat-HANDLING_UNIT.
MOVE wa_hukey TO hukey.
endloop.
CALL FUNCTION 'BAPI_HU_DELETE_FROM_DEL'
EXPORTING
DELIVERY = del
HUKEY = HUKEY
TABLES
RETURN = Return1.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think there is no issues in using function modules and loop in WDA as in normal ABAP Programs.
Regards
Shaira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.