on 08-08-2011 9:43 AM
Hello,
We have implemented Badi EEWAWA_BA_WEIGHPROC to modify the creation of weighing transactions in EWAWA01.
Now we also want to create new weighing transactions from a customer report. I couldn't find a function module or class for this task.
Any ideas how to do it?
Thank you
Roland
Found it myself. Here's the basic code skeleton:
DATA: lr_bo TYPE REF TO cl_eewa_bo_weighingprocess,
ls_wp TYPE ewa_wa_weighproc.
<... fill ls_wp including weighing number ...>
CREATE OBJECT lr_bo.
CALL METHOD lr_bo->init_structure
CHANGING
par_structure = ls_wp.
lr_bo->insert_data( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.