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

Adding New fields

Former Member
0 Likes
1,201

hi all,

I have a question, I want to add one new field in the std transaction code(ME21n). But you knw if you are using a screen exits or BADI's which is going to create a new screen, My client don't want to do that way. They want to add one new field in the same tab(subscreen) exactly below one particular field. How can I achieve this?

Shall i get the access key to modify the particular screen and modifying the standard Program. Does SAP allows this?(Here i have a small doubt, we can customize upto some extent, what is that) And how does this standard program will behave when upgrading the system.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,173

It is not good that adding new field to screen,because once you modify sap standard,SAP Will not give support.

Talk to ur company people and try to use Screen exit for Purchase order

Thanks

Seshu

11 REPLIES 11
Read only

Former Member
0 Likes
1,174

It is not good that adding new field to screen,because once you modify sap standard,SAP Will not give support.

Talk to ur company people and try to use Screen exit for Purchase order

Thanks

Seshu

Read only

0 Likes
1,173

Will that is the only problem(SAP will pull off support for the particular program)? Is there anything missing?.........I will try convincing.........thanks a lot.

Read only

0 Likes
1,173

Ok Seshu,

if you are creating a screen exit which is going to give you a new tab, sometimes the user might forget to go to that tab and entering the value there, or else they don't know they are missing some value to enter, in the particular tab, which might lead to ambiguity.

Though you use user exit for validation, which will happen only at the time of exit or save, we have a workflow triggering when you are entering the value in the particular field, So i want the field to be there in the particular tab(existing one), how can i do that?

Read only

0 Likes
1,173

Yes Feddi ,SAP Will not give support to Changed program ,I would say do not change .

Thanks

Seshu

Read only

0 Likes
1,173

Hi

In this case you can change the program only.

Check which objects you need to change and get the acces keys for them.

Perhaps create a document where indicate all objects modified and which changes were done.

In this way it'll be easier the maintenance.

Max

Read only

0 Likes
1,173

Yes Feddie,There is solution.

Create new screen which will be in new tab...

Use exit - MM06E005 ,FM - EXIT_SAPMM06E_017 -> this FM will Trigger when user enters the value in item level,here you can keep validation,suppose there is no data at your new screen,then keep condition.

I am not against to change SAP Standards,but it is risky to change,if you go upgrade,you will get major issue since you changed SAP Standards.

Thanks

Seshu

Read only

0 Likes
1,173

Hi

That enhancement offers the same opportunities of the BADI, you can use it instead of the BADI.

All validations will be done only if the user goes to new tab, if I understand the problem, the client wants to place the new fields in the main tabs in order not to forget to insert the value in the new fields.

If it uses a new tab and the user doesn't go there, it can raise an error only while document is being saved or checked so at the end: Feddie client doesn't want it does it?

I believe Feddie can change only the std program in this case.

Max

Read only

0 Likes
1,173

Max,

You are right. There is where i have struck, Even i am not ready to do modifications for the standard program. I am still searching for some other options in that case, am discussing with my client to get some more inputs(Exactly what they want to do, I will keep posting you guys).

Seshu, thanks a lot for your inputs.

Read only

0 Likes
1,173

Hi

Yesterday I was working on 4.6C, so I couldn't see the BADI ME_PROCESS_PO_CUST, today I'm using 4.7 so I can see in this BADI there's the method PROCESS_ITEM and It could be triggered as soon as the item is changed.

So it could create a new tab for the new fields but insert the control in that method, in this way the user should go to the new tab, but the controls are triggered as soon as an item is changed.

Max

Read only

Former Member
0 Likes
1,173

Hi

SAP allows it, u can obtain the access key registering the object in the OSS of your customer, but u should consider after changing std program SAP does not guarantee the maintenance and the correctness of the execution of the program.

So it'll have to apply all notes manually in the future.

U should explain this to your client in order to take the best decision.

Max

Read only

Former Member
0 Likes
1,173

Thanks to all of you guys. I am closing the thread. I am going to use BADI's for this purpose.