‎2006 Sep 19 10:28 AM
Hi all,
while GR , material number & serial number is comming to SAP database table EQUI & OBJK.these serial numbers r also present in IQ01.
let i received 10 serial numbers while GR but i want to deliver 5 serial numbers(i.e materials) to my vendor by VT01n.
from those 10 serial numbers, 5 serial numbers should come to the delivery automatically.how can i do this thing?
any help really appreciated
Regards
smita
‎2006 Sep 21 7:59 AM
Hello Pabitra,
Did you put the break point exactly at line number 25 in the method GET_INSTANCE ?.
Regs,
Venkat
Message was edited by: Venkat Ramanan Natarajan
‎2006 Sep 19 10:29 AM
Hello,
I would suggect you to go for BADI's.
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Regs,
Venkat Ramanan N
‎2006 Sep 21 5:54 AM
hi venkat,
i set break point in get_instance. but while pressing the button 'post goods issue', the control is not going to that program. so where i am doing mistake?
Regards
pabitra
‎2006 Sep 21 7:59 AM
Hello Pabitra,
Did you put the break point exactly at line number 25 in the method GET_INSTANCE ?.
Regs,
Venkat
Message was edited by: Venkat Ramanan Natarajan
‎2006 Oct 04 12:41 PM
hi venkat,
i have tried to put break points on line number 25.line number 25 is 'ELSE'.but i can not put break points on line 25.
while doing PGI, i am not getting any BADI.
in se19, i tried to create one badi relating to PGI. but it seems, the method is not present for that badi.
plz suggest me any method to handle this?
any idea will be highly appreaciated.
Thanks very much
Regards
pabitra
‎2006 Oct 04 12:52 PM
Method - GET_INSTANCE does not have any ELSE statement.
I can see CASE sy-subrc statement at line 25 as said by venkat.
regards
Vivek
‎2006 Oct 04 12:57 PM
Hello,
The line 25 is this,
CASE sy-subrc. -
>Line 25
WHEN 1.
RAISE no_reference.
WHEN 2.
RAISE no_interface_reference.
WHEN 3.
RAISE no_exit_interface.
WHEN 4.
RAISE data_incons_in_exit_managem.
WHEN 5.
RAISE class_not_implement_interface.
ENDCASE.
Please check again and let me know.
Regs,
Venkat Ramanan N