cancel
Showing results for 
Search instead for 
Did you mean: 

user exit for order

former_member186967
Participant
0 Kudos
559

Hi Experts

I have a requirement. While creating order from notification in iw22, I want to copy a field from notification to order. Is there any user exit for this?

Please help me out.


Thanks

Ramesh

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

ramesh

  • To be precise, you need user-exit IWO10009.
  • In fact the answer to your query is already documented here: How to default values to Notifications and Orders
  • As said in the Order part of the post, the value will be copied at the time of Order Save (irrespective of whichever value you see in that particular field before Save)
  • This post is sufficient for you (ABAPer) to derive the solution. It will be a few-line code in the include ZXWOCU07.
  • Yet, if you want to have guidance on these code lines, please tell me your field to be copied from Notification to Order.

Regards

KJogeswaraRao

former_member186967
Participant
0 Kudos

Thanks for  you reply.

This exit is triggering while saving the order. But I want to copy the field when we click on the create order shortcut in IW22.

Thanks

Ravi Tej

jogeswararao_kavala
Active Contributor
0 Kudos

That's what was clearly mentioned in the document. It is not possible for Orders to see the value before Save the Order. The notification field value will be copied to Order while Order Save.

Please read the document thoroughly.

Regards

KJogeswaraRao

Answers (4)

Answers (4)

jogeswararao_kavala
Active Contributor
0 Kudos

Found a relevant SAP note.

861919:  Revision Field Not Visible in Notification Screen

This could be your case and I think it should resolve the issue. Get it applied through your BASIS.

jogeswararao_kavala
Active Contributor
0 Kudos

ramesh

It is not understood . Why such need, when Revision value directly copies from Notification to Order in the standard setup.

former_member186967
Participant
0 Kudos

But there is no revision field existing in notification.

Former Member
0 Kudos

Hi Ramesh,

Can you check reference object tab for revision field if it is M2 type  notification.

Regards,

Amol

jogeswararao_kavala
Active Contributor
0 Kudos

Then have it.

  • It is with Screen area 040. i.e., ReqStart / ReqEnd Date/Time screen. Possible that you haven't noticed OR it might have been Hidden throguh OIAL setting. Investigate the OIAL setting well to find the REVNR field in hidden state. If it is so, unhide that and your issue will be resolved.

  • If you are sure that you do not have Screen area 040 in Notification Tabs then take it through SPRO setting shown below. If you do not need other fields (ReqStart/End Date/Time) in this screen area then you may hide them through OIAL spro setting keeping only Revision. I hope you will be able to identify the following picture of Notification settings in SPRO.

KJogeswaraRao

former_member186967
Participant
0 Kudos

I have done it as follows

But could not get the revision field

Is there any other thing to do?

jogeswararao_kavala
Active Contributor
0 Kudos

I already suggested to investigate OIAL settings for REVNR field status (especially in the Influencing settings). If it is in Hide mode get it to Input mode.

former_member186967
Participant
0 Kudos

Checked it sir

It is in input mode.

Former Member
0 Kudos

Hi Ramesh,

Could you please Check with Tab 10\TAB02 ( tab header as reference object) and have screen are 040 & 065 in it.

Regards,

AMol

jogeswararao_kavala
Active Contributor
0 Kudos

We can try Implicit Enhancement point route, if you tell what field to be copied? So far you haven't talked about it. It might be because you asked before you decided upon which field to copy to Order.

former_member186967
Participant
0 Kudos

I have created a zfield in iw22. I want to copy this into a standard field in the order header.

jogeswararao_kavala
Active Contributor
0 Kudos

To which field?

former_member186967
Participant
0 Kudos

revesion

MTerence
Active Contributor
0 Kudos

Hi Ramesh,

Refer below link is the Master piece available for User Exit in SAP PM

PM-CS User Exits - ERP Operations - SCN Wiki

Regards

Terence