‎2006 Nov 22 4:45 AM
hi abaper,
Please help me in my object,
1. This is MODULE POOL PROGRAM,
i have a selection screen with fields 1. process order 2. material 3. description 4. batch 5. quantity etc.
when i enter the PROCESS ORDER number by scanning the remaining fields on the selection screen must be filled with revelant data.
and when i click PROCEED push button on the same screen it should call a transaction COWBPACK and all the above data should appera there.
thanks
baleeq ahmed
‎2006 Nov 22 4:48 AM
Hi,
In the event PBO fill up the fields when the process order is entered..
Thanks,
Naren
‎2006 Nov 22 4:53 AM
in the PAI u need to get the related material desc batch qty etc for that process order and move them to the screen fields in the PBO
and regd the PUSH button i suppose u need to do the recording of that transaction after which only u will be to pass those data. u need to write a BDC for that.
all this shoudl be handled in the user command of that screen. by handling the function code of that PUSH Button.
Regards
- Gopi
‎2006 Nov 22 4:57 AM
Hi,
check for sy-ucomm = 'ENTER' in your PAI and call a MODULE where you populate the remaining fields based on process order,
Ensure that you don't clear these fields in your PBO, after you have populated the values in PAI.
Regards,
Raghavendra
‎2006 Nov 22 5:02 AM
declare the module in pai screen flow logic.
field <process order> module m1 on request.
in abap code.
module m1.
select the data you need.
endmodule.
in pbo fill the screen field.
and in pai by using user command pass your value to the call transaction.