09-29-2006 7:24 AM
Dear all
I have a question, in WORKORDER_UPDATE BADI it has a interface called 'NUMBER_SWITCH'.
Description says it swaps Tempory Order Numbers with Final Order Numbers, but it's not doing it because importing parameter is forbidden for changing.
So how can I use this interface to swap parameter?
Regards
Toshi
09-29-2006 10:45 AM
u have to Implement this Defination in SE19 , and u have to use METHOD 'NUMBER_SWITCH'.What u are doing is not the right way.
check this link.
http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7d00940e11d295df0000e82de14a/frameset.htm
u have to make use of
I_AUFNR_NEW , I_AUFNR_OLD.
I_AUFNR_NEW = 'PRABHU0001'.
Regards
Prabhu
Message was edited by: Prabhu Peram
09-29-2006 10:45 AM
u have to Implement this Defination in SE19 , and u have to use METHOD 'NUMBER_SWITCH'.What u are doing is not the right way.
check this link.
http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7d00940e11d295df0000e82de14a/frameset.htm
u have to make use of
I_AUFNR_NEW , I_AUFNR_OLD.
I_AUFNR_NEW = 'PRABHU0001'.
Regards
Prabhu
Message was edited by: Prabhu Peram
09-29-2006 11:15 AM
Hello Prabhu,
Thanks for your reply, I've already done SE19 to define implementation.
The problem is that how I can write a code in the method 'NUMBER_SWITCH' to swap both numbers. It seems impossible to swap numbers because there are only importing parameters...
Do anyone has an idea?
Thanks and regards
Toshi
10-03-2006 12:22 PM
Hello again, Prabhu
You mentioned I_AUFNR_NEW = 'PRABHU0001'. however it's not allowed to change I_AUFNR_NEW with a new data.
How can I avoid the error?
Toshi
10-03-2006 12:34 PM
Hello again, Prabhu
You mentioned I_AUFNR_NEW = 'PRABHU0001', however it is not allowed to chage the value of I_AUFNR_NEW in your way.
Is there any other way to change the value?
Thanks and regards
Toshi