on 06-23-2015 6:44 AM
Dear Gurus,
In maintenance order , if user create break down order , while doing the TECHO, system should ask for the history maintenance check box, if user click the check box , that particular order as to be display in out put as Z code. please help how to do these activity , because im a new to this development.
Regards,
VINAY
OK VINAY,
I understood it so. We all know that that any such enhancements related to TECO (not TECHO) need to utilize user exit IWO10004. Obviously your requirement is not a simple one to be achieved through a simple code. There is a Dialog between user and the system. This can be met in the following way.
DATA: LW_ANS TYPE C.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Conformation'
TEXT_QUESTION = 'You want this Order to be included in the Equipment History?'
TEXT_BUTTON_1 = 'NO'
TEXT_BUTTON_2 = 'YES'
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = ''
START_COLUMN = 25
START_ROW = 6
IMPORTING
ANSWER = LW_ANS.
IF SY-SUBRC <> 0.
ENDIF.
IF LW_ANS EQ 2.
"Here you need to put a code to insert these Order details to the database from where your Z code is bringing the data.
ENDIF.
The above code in include ZXWO1U03 (user-exit IWO10004) triggers this confirmation pop-up .
If you click 'No' it will continue with TECO, If you click 'YES' your code to include this Order in the Z report will function as suggested above.
Now, how you opt to include this order into z report is a different issue. If it is Z-table based report, then the Order information to be inserted to Z table. If this report is from standard table where you want to classify Orders with certain user status like HIST, then your code will be to put this HIST user status to the Order using fm STATUS_CHANGE_EXTERN. (just example, you might have a different situation for Z code)
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinay,
I am not a Techie, If you need Technical Assistance, check in ABAP forum.
You can achieve by using User Exit IWO10004
As of now, there are multiple exits can be used check below link for your resolution
PM-CS User Exits - ERP Operations - SCN Wiki
Regards
Terence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
system should ask for the history maintenance check box, if user click the check box , that particular order as to be display in out put as Z code.
This part i not clear. Explain in detail. (Whether you need some pop-up screen? By 'Z code' what do you mean ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sir,
The Business requirement is , suppose if the user added some high amount of component in order so the user while doing TECHO , he will click the radio button so that order will get in Z.t code. containing the all detail of particular maintenance history .
please help me how to proceed this development.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.