‎2010 Sep 20 9:25 AM
dear all
i have added a new screen in an exit
EXIT_SAPLMEL0_001 but i dnt know wat to write in the PAI module
can anybody guide me plz?
‎2010 Sep 20 9:57 AM
‎2010 Sep 20 9:58 AM
Hi,
you can write the logic for whatever processing u want to do with the data.......
‎2010 Sep 20 10:00 AM
we shoudl be able to enter new values on the screen and save the data but i dnt know how to code that
can you help plz?
‎2010 Sep 20 10:44 AM
hi,
Before creating screen First read about working of Dialog Programming Basics .
This will help you understand working of PAI and PBO .
In user exit you might have Called Sceen .
1) Click on screen number .
2) it will ask for creating sceen having PAI and PBO module .
3) Declare Fields required for Input in user exit itself .
4) then go to se51 open that screen program Layout .
5) Press F6 it will open get program field scrren
6) find field declared in user exit which you want to save in table
7) you can also create on e button so that it will be called in PAI
on that event you can write your logic to save code .
Regards
Deepak.
‎2010 Sep 20 11:03 AM
dear deepak
ive already created the screen, the fields and all that
wats left is to let the user enter values in the fields and save
only that bit of coding, im not knowing how to write
‎2010 Sep 20 11:36 AM
HI ,
You can give one button on screen Name that Button as SAVE and also give function name SAVE
and in PAI call module
module SAVE .
1)after clicking on Module save
2) it will create MODULE endmodule for that SAVE
3) check for sy-ucomm when button press
write code for saving such as
case sy-ucomm .
when 'SAVE' .
insert or updaTE .
ENDCASE .
insert or Update using that passing values .
commit work .
that is .
Regards
Deepak.
‎2010 Sep 20 11:07 AM
Hi,
The enhancement MM06L001 which encompasses the function module exit is invoked during the calculation of the scores for the subcriteria. It doesn't have the screen exit to add. Is the coding in the correct place?
Sujay