on 06-26-2009 10:14 AM
Hi Gurus,
We developed a BDC program for the mass uploading of vendor list.
Seems that there is no "Page Down" function in BBPAVLMAINT.
Since we need to upload more than 22 vendors then we need a functionality to go to the next page. Unfortunately, page down is not working.
Also, I have tried using BBP_PD_AVL_CREATE, BBP_PD_AVL_UPDATE and BBP_PD_AVL_SAVE function modules and did COMMIT WORK AND WAIT, but nothing happened.
Please guide me on how to make this work.
Regards,
Kezia
Mass Upload Vendor List using BBPAVLMAINT almost impossible because the "Page Down' button not available.
To make this possible, just simply modify BBPAVLMAINT to add the control button (Top, PgUp, PgDn, End).
To do this, follow this step-by-step:
- TCode SE80
- Function Group: BBP_AVL_ITS
- Go to screen 220
- Go to Layout
- Add control button (Top, PgUp, PgDn, End)
- Add code in PBO :
LOOP AT gs_maint_items
WITH CONTROL ctrl_maint_i
CURSOR ctrl_maint_i-current_line.
MODULE modify_screen.
*{ INSERT 1
module ctrl_maint_i_get_lines. "<<<<<<<<<
*} INSERT
ENDLOOP.
- Add code in PAI:
PROCESS AFTER INPUT.
items
LOOP AT gs_maint_items.
...
...
ENDLOOP.
*{ INSERT 1
module ctrl_maint_i_user_command. "<<<<<<<<<<
*} INSERT
*=======================================================================
PROCESS ON VALUE-REQUEST.
...
...
*----
data: ok_code like sy-ucomm,
g_ctrl_maint_i_lines like sy-loopc.
*OUTPUT MODULE FOR TC. GET LINES OF TABLECONTROL
module ctrl_maint_i_get_lines output.
g_ctrl_maint_i_lines = sy-loopc.
endmodule. "CTRL_MAINT_I_GET_LINES OUTPUT
*----
module ctrl_maint_i_user_command input.
ok_code = sy-ucomm.
perform user_ok_tc using 'CTRL_MAINT_I'
'GS_MAINT_ITEMS'
'VENDOR_NO'
changing ok_code.
sy-ucomm = ok_code.
endmodule. "CTRL_MAINT_I_USER_COMMAND INPUT
*----
Edited by: Jack4ever on Jun 27, 2011 10:37 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.