Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Script

Former Member
0 Likes
673

Hello friends,

I have developed a script and the driver program.

Right now I am using a selection screen as an input for the order number for my Initial development.

However in real,

This program needs to be triggered from Transaction IW32.

What should I do for this and what would be the changes for the print program for my select query.

Thanks in Advance.

Ster.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
639

ANy Suggestions.

Ster

6 REPLIES 6
Read only

RaymondGiuseppi
Active Contributor
0 Likes
639

You don't have to change your form and driver, in IW32 exit you will submit the record with order as a parameter.

SUBMIT <your report> AND RETURN WITH p_aufnr  = xxxx-aufnr.

Regards

Read only

0 Likes
639

Thanks Raymond.

You would still suggest mr to use the select-options in the program.

However my question is how will data come into my selection screen and how would it be executed.

In your reply,

p_aufnr( I am assuming it as a pramater in theselection screen) = xxxx-aufnr( what does XXXX refer to).

Thanks .

Ster

Read only

0 Likes
639

HOwever If I make changes to any Exit as suggested by You i guess the script would always be triggered.

The user wants it to be configured so that he can choose from Iw32 and print if he needs it.

Ster

Read only

RaymondGiuseppi
Active Contributor
0 Likes
639

For the question, where to call, depending of your need, choose your user-exit:

IWO10001 Create a PM sub-order
IWO10002 PM maintenance order: Customer check for order release
IWO10004 Maintenance order: Customer check for order completion
IWO10005 Maintenance order: Cust.-specif. determination of profit ctr
IWO10006 Maint. order: Fcode exclusion through cust. enhancement
IWO10007 Maint.order: Customer enhancement - permits in the order
IWO10008 Cust. enhancement: Determination of tax jurisdiction code
IWO10009 PM Order: Customer Check for 'Save' Event
IWO10010 Maint. order: Cust. enhancement for determining WBS element
IWO10011 Maint. order: Customer enhancement for component selection
IWO10012 Maintenance order: Priority handling on central header
IWO10015 Maintenance order: F4 Help for user fields on operation
IWO10016 PM Order: Cust. enhancement to check operation user fields
IWO10017 Determine external order number by customer logic
IWO10018 Maintenance order: User fields on order header
IWO10020 Maintenance order: Automatically include task list
IWO10021 Automatic task list transfer when creating order from notif.
IWO10022 Determine calendar from user exit
IWO10023 Service order: Change header data for advance shipment doc.
IWO10024 Service order: Changes to items for advance shipment
IWO10025 PM/SM order: Finding responsible cost center
IWO10026 User check on setting status 'Do not perform'
IWO10027 User exit: Generate user-defined settlement rule
IWO10029 Inclusion of bill of material in PM/SM order
IWO10030 Preset Fields for Event Object
IWO10031 Hide personnel number in PM/SM order
IWO10033 Customer-Specific Authorization Check Maint./Service Order
IWO10034 Operation status based on the status of capacity reqs
IWO20001 PM order: User exit to pass routing to order
IWOC0001 Create PM/SM notification: Determine reference object
IWOC0002 PM/SM notification: Check whether status change is allowed
IWOC0003 PM/SM authorization check of ref. object and planner group

Regards

Read only

Former Member
0 Likes
640

ANy Suggestions.

Ster

Read only

0 Likes
639

The configuration has to be done in OID1.

However you will have to calla from ENTRY in your program.

Let me know for further questions.

Shreekant