We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] Add New Mandatory Field in PO Creation ME21N

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from TerryB on Jul 9 at 11:10 AM
Often, issuing an error message (type 'E') in a user exit disrupts the flow of the transaction. Try issuing the message as a type 'S' with the "DISPLAY LIKE 'E'" addition, then an EXIT.
Cheers,
TerryB

---------------Original Message---------------
From: deg876559
Sent: Wednesday, July 09, 2014 5:08 AM
Subject: Add New Mandatory Field in PO Creation ME21N

Hi ABAP Expert,

We have a request to change text header as mandatory field for special document type (PO return),

after a long search on Google we found that we can't customize this in SPRO.

So we decided to develop this on ABAP.

We are using EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018 exit function.

Everything is okay, just one problem

We have added one condition for the field to be mandatory in EXIT_SAPMM06E_016

""""""""&qu ot;"

IF I_CI_EKPO-ZTEXT IS INITIAL AND I_EKKO-BSART = 'ZIAD'.

message 'thanks to fill PO return explenation field' TYPE 'E' .

ENDIF.

""""""""&qu ot;

But the problem is, when we go to Customer field after this message we got a popup displaying the error and after pushing enter or click cancel SAP exit from the program and back to main menu.

Can someone help us to resolve this problem?

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
TerryB  

10 achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language