To through custumize warning messages while creating PO
Hi All,
I want to through some warning message throgh user exit while creating PO is there any standar message id i can use to through warning message i know '00' with number 398 but that is working only for error message.
Regards
Sagar
If you're doing these in an exit, you decide in your code whether A,E,I,W, message type. Beware though, how you present...you might want to do I messages with the "display like E" addition. I utilize message 016 from message class GR a lot...It's just placeholders and you can then issue messages with three or four values, like:
message e016(gr) with
<document> <item> 'text' 'more text'
etc.... mix and match up to four values, literals, constants, text-elements, etc.
Similar Messages
-
General Warning Message while creating po
Hi Gurus,
Good Morning.
I want to pop-up a warning message while creating all types of PO saying that "Contact Person & Email ID text should be filled "
This message should be applicable to all PO .
How to create a message and assign in PO ?
Thanks & Regards,
VikasHi Archit,
Thanks for your reply.
How to create a new Text No. & Message Text ? or if i want to use any existing text no & Message Text how can I change the Text Description ?
Thanks & Regards,
Vikas -
Pop up warning message while creating PO
Hi,
How to give a Genral or a POP up Warning Message while creating and checking a PO in ME21n and ME22n.
Even i tried in changing the local setting in the menu bar, but it doesnt work.
Help and suggestions will be much appreciated.
Thanks & Regards.
Kumar.Hi Jay,
I tired with the BADI ME_PROCESS_PO_CUST in the method IF_EX_ME_PROCESS_PO_CUST~CHECK, but still i am able to display only error message not Warning message.
Any suggestion regarding this.....
Thanks & Regards.
Kumar. -
Error message & warning message while creating PO
Hi,
I have one requirement like when user create PO with 'critical material',while saving PO,user should get message "critical material".
For this ,in the enhancement MM06E005,EXIT_SAPMM06E_012(functional module),
I have written piece of code
*critical Material by Jaheer,ABAP & MM specialist
LOOP AT TEKPO.
IF TEKPO-MATKL EQ '9068'.
MESSAGE ID 'ZMM' TYPE 'W' NUMBER '013' with TEKPO-MATNR.
ENDIF.
endloop.
Here whenever I put message type 'E',I am getting message "critical material".But I donot want error message ,I want only warning message,so when I changed message type as "W",I am not getting any message while checking My PO.
What is the reason?
please,Can somebody throw some light on this?
With Reg,
JaheerHi
Use the badi ME_PROCESS_PO_CUST, method CHECK, with a coding as this
include mm_messages_mac.
data: header type mepoheader,
items type purchase_order_items,
po_line type mepoitem,
line_item type purchase_order_item.
header = im_header->get_data( ).
items = im_header->get_items( ).
LOOP AT items INTO line_item.
IF condition IS TRUE. "critical material (line_item-matnr)
mmpur_message 'W' 'ZMM' '013' line_item-matnr ' ' ' ' ' '.
ENDIF.
ENDLOOP.
I hope this helps you
Regards
Eduardo -
Receiving CO073 warning message while creating PM order for a certain equipment
Hello experts ,
Do you have an idea why i receive a warning message : Valuation data is not maintained for valuation type
While entering a piece of equipment in PM order creation screen ?
Before creating the PM order , I've entered company code and specific cost center in the master data of this piece of equipment.
When I erased cost center from equipment's master data ,warning messages disappeared while creating PM order again.
What configuration has to be done for the CO objects ? maybe MM configuration needs to be done like in automatic account configuration ?
but it is strange thaw , equipment is not a material,thus and has no valuation class in his mater data record ....
another problem is: after passing the warning message , in PM order , Location screen , the cost center is not being copied from equipment master record , which contains the cost center.
Pease advice,
DanielHello
Have you assigned Business Area in Equipment Or Work Order.If yes please try remove that try to create the wo
Br
Rakesh -
Warning to error message while creating a SC
Hi,
How to make a warning message to error message while creating a SC against the Cost Center when the cost center is closed in SRM 4.0.
Currently we are running on SRM 4.0 with ECC 5.0 as back end and user are able to raise a SC and POs even the cost center is closed.We want to make it as error message and stop users to create a SC /PO against those closed Cost centers.
Thanks and Appreciate your inputs.
Regards,
RKUse the BBP_DOC_CHECK_BADI.
1. Get the backend message with a getmessage* FM.
2. Check if it's a closed cost center warning.
3. Add your own error message (can be just a copy of the message you retrieved) as an 'E' error
Because this is a backend warning, you can't influence it in SRM with the message control in SRM unfortunately.
Regards,
Robin -
Warning to Error Message while creating Shopping cart
Hi,
How to make a warning message to error message while creating a SC against the Cost Center when the cost center is closed in SRM 4.0.
Currently we are running on SRM 4.0 with ECC 5.0 as back end and user are able to raise a SC and POs even the cost center is closed.We want to make it as error message and stop users to create a SC /PO against those closed Cost centers.
Thanks and Appreciate your inputs.
Regards,
RKHi Richy,
The cost centre which you have maintained is locked for postings. Try to change the cost center and the warning message should be gone.
If you still want to chnage the message from warning to error,you can do in SPRO-->img->SRM->SRM Server -> Cross app basic settings->message control -> Influence message ctl.
If an entry doesnt exist for this message in SPRO,make an entry in view BBPV_PDMSG (Tranx: SM30).
See these related threads for more pointers:
Re: Error Messages in BBP_PD
Re: How to change an error message to a warning message in SRM
Re: Where can I change type of message BBP_PD 083 from warning to error
BR,
Disha. -
Getting error message while creating Contract through BAPI
Hi
I am getting a 'Specify either address number or address handle' message while creating contract from BAPI BAPI_CONTRACT_CREATEFROMDATA. Can someone please tell me what can be the cause.Hello Bharati,
you need to give the value of the constant by selecting from the source parameter.Hope this answer helps you.
Assigning Points = Thanks in SDN
Thanks & Regards
Jai -
Deletion marked material should give error message while creating proc ord
Hello,
i had marked the material for deletion through T-code MM06 & saved.
Now when i'm creating the process order for the deleated material, System is giving only Warning message that " Material XXXX in plant XXXX has been marked for deletion."
But my requirement is system shold give an ERROR message while creating Process Order for the deleted material.Yes Brahman is Right,
Check the followig..
Go to OMCQ and change the message category to E- Error message instead of W- Waring message in Message no M7 127, but
not M7 121.
and check it,
Regards,
Pavan idlur. -
Getting the Warning message while searching in the Query panel
Hi all,
getting the following warning message while searching something through Query panel.
<SimpleSelectOneRenderer><_getSelectedIndex> Could not find selected item matching value "VwObj_SearchNCCriteria" in QueryRenderer$2[UIXEditableFacesBeanImpl, id=null]
can anybody help me in filtering this warning message
Thanks & Regards,
VeereshHi Frank,
the JDeveloper version is JDeveloper Studio 11.1.1.3.0
I have a View object View_Query for that i have added View critirea as View_Query_Critirea.
I dropped the Critirea as Master-detail table in the page.
when i try to search anything in the master-detail table I am getting the warning message which i mentioned in the original post.
thanks,
Veeresh -
Suppress an error message while creating a return PO ( ZRO type) (ME21n)
Hello All,
I have to write a code in order to suppress the below message while creating a return purchase order (of type ZRO) , transaction ME21n after entering the purchase organization, purchase group, the vendor & the material no :-
"You have no authorization to create without reference to another document".
For users with the below values of parameter ID & parameter value :-
parameter ID = EFB & parameter value = 02 in transaction 'SU3' , under "parameters" tab, this message is getting triggered.
My requirement is to suppress this message.
Please suggest an exit name or a BADI name wherein I can implement the code for this requirement.
Regards,
Rachana.You can remove parameter ID EFB
and for Order type other then ZRO you can put check of doc. reference. -
Unable to capture error message while creating an SO using bapi
Hi,
Can anybody suggest how to capture the error message while creating a SO using BAPI.
I have developed a customeized BAPI and using the BDC format to create the SO.
Note: i am using a call transaction method for the BDC.
I am sending the message into message1.
but i am unable to send the same into an internal table
shyam.Hi Shyam
If my understanding is correct, you are performing BDC process within the customized BAPI...
And you want to collect the messages from BDC to an internal table and pass to the output.
Proceed as below:
1. While calling BDC, use CALL TRANSACTION .... with addition: <b>MESSAGES INTO itab</b>. The structure of itab should be like <b>BDCMSGCOLL</b>.
2. Now the messages will be collected in ita.
3. Prepare the messages using FM: <b>FORMAT_MESSAGE</b>
4. Collect to the returning table.
Hope this helps...
Though i could not understand the reason of creating a BDC within BAPI, you can opt for loading orders via BAPI's like: BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2.
Kind Regards
Eswar -
Error message while creating Appropriation Request
Hey there,
I am getting Error message while creating Appropriation Request.
I have done all the confiig according to SAP Best Practices U30 Investment Management.
When going into transaction IMA11(Create an AR) I can full in all fields but as soon as I click on the Control Tab I get a Run time error. Also when attempting to save the AR without clicking on the Control tab I get this message.
Any help would be greatly appreciated
RAISE_ exception
Runtime Errors RAISE_EXCEPTION
Date and Time 18.07.2011 07:15:07
ShrtText
Exception condition "ERROR_IN_STATUS" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
Error analysis
A RAISE statement in the program "SAPLAIA_TOOL" raised the exception
condition "ERROR_IN_STATUS".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Trigger Location of Runtime Error
Program SAPLAIA_TOOL
Include LAIA_TOOLU11
Row 119
Module type (FUNCTION)
Module Name AIA_TOOL_GET_STATUS
Source Code Extract
Line SourceCde
89 * TYPE = SY-MSGTY
90 * CL = SY-MSGID
91 * NUMBER = SY-MSGNO
92 * PAR1 = SY-MSGV1
93 * PAR2 = SY-MSGV2
94 * PAR3 = SY-MSGV3
95 * PAR4 = SY-MSGV4
96 * IMPORTING
97 * RETURN = ls_return.
98 * endif.
99 * if not ls_return is initial.
100 * append ls_return to return.
101 * raise error_in_status.
102 * endif.
103 *
104 * Füllen der Ausgabetabellen
105 perform fill_output_tables tables lt_status
106 lt_jsto
107 et_appreq_status
108 et_appreqvarnt_status
109 et_appreq_user_status
110 et_appreqvarnt_user_status
111 lt_objnr
112 lt_objnr_varnt
113 lt_return
114 using i_language
115 i_with_text.
116
117 if not lt_return[] is initial.
118 append lines of lt_return to return.
>>>>> raise error_in_status.
120 endif.
121
122
123 ENDFUNCTION.Hi,
You said you are trying to do this stuff in IDES right.
If you are using IDES provided by a company and where many people play on IDES, then you can get many such issues...
This is by our experience. Today you do something in IDES and tommorow that thing or config is screwed up by others.
If you have your own IDES, then check the suggestion given by the forum Guru's.
Regards,
SB -
Error message while creating or editing a report
Hi, we acquire the Crystal reports Ver 2008 type full, and this moment we are having an error message while creating or editing a report, the message suddenly appears saying:
Crw32.exe has enconutered a problem and needs to close.
Is there a patch available or what can we do?
Thanks.Hi Lucus,
This is to general an error, 1st try to reinstal the software, make sure you have admin rights on the PC, and try again. If you still get the error, I would call the support number, and let them help you out. You may need to know, the type of PC or server the software was installed on, the current os, available memory... etc For now, I would go to windows (If that is what you are running ) and re-install or repair the software. -
Error message while creating an inbound delivery to generate an idoc
hi,
i am getting the following error message while creating an inbound delivery(vl31n) where the message has to be sent ot decentralized warehouse mangament using idoc .
." No recipient could be determined for object BUS2015 method SAVEREPLICA"
Procedure for System Administration
The system attempts to determine a recipient for object BUS2015 method SAVEREPLICA using the filter object types WHSE_NO. The system cannot determine a recipient. Define a filter object type WHSE_NO with a valid filter value for recipient determination for object BUS2015 method SAVEREPLICA.
need help
regards
leoInbound delivery is not part of Sales and Distribution. You might want to move your post to either the Logistics Materials Management (MM) forum or the Workflow forum.
Also sometimes search for OSS notes by the message class and number helps.
Maybe you are looking for
-
If a class method exporting a value with the generic type 'data'.
Then how can I get the information? For exmple. cl_my_clss->get_value( exporting ev_data = .... ) . ev_data is a type of data. I can not use DATA : lv_mine type data. because generic data should be used in formal parameter, however , if I use a field
-
Ipod touch 2nd generation won't connect to computer
Just bought a used Ipod touch and I am unable to get it to be recongized by itunes or my computer (MacBook pro using Lion). Computer - Itunes all updated. I tried to restore unit (sleep and hold buttons) but I can't get past he "connect to Itunes" s
-
Inserting Multiple rows in Oracle DB using DB Adapter not working
Hi All, I have a bpel process that reads actually calls the db adapter to insert(only) multiple rows in a table .. This is a very simple process and worked fine on soa 10g After migrating to 11.1.1.3 the invoke throws a strange error " db lock ..batc
-
When I try to purchase in my games I get a message about "enviroment: sandbox", and I can't buy anything. Why?
-
(Error code: 0x5) Need Password
I keep getting this message when I try to access a file on a network: A password is required to synchronize this notebook. Where can I enter a password?