Issue warning message when duplicate material are enter on a purchase order
Hi All,
Is there any possibility to give a message in me21n if we enter a material which in already maintained as one line item to create PO. To issue messages in sales order there is an exit. I tried with the badi ME_PROCESS_PO_CUST. I was struck here. Please suggest me good idea how to do this.Thanks to all.
In Sales order i resolved in this way.
LOOP AT xvbap
WHERE matnr EQ vbap-matnr
AND posnr NE vbap-posnr
AND kwmeng NE 0.
MESSAGE 'Material is already on the order' type 'I'.
ENDLOOP.
ENDFORM.
Regars,
Madhu.
closed.
Similar Messages
-
Hi all,
I have created a form with one data block MATURED_FD_DTL which looks like below:
ACCT_FD_NO
CUST_CODE
FD_AMT
FD_INT_BAL
TDS
CHQ_NO
ADD_FD_AMT
P_SAP_CODE
P_TYPE
CREATE TABLE MATURED_FD_DTL
ACCT_FD_NO VARCHAR2(17 BYTE) NOT NULL,
CUST_CODE NUMBER(9),
FD_AMT NUMBER(15),
FD_INT_BAL NUMBER(15),
TDS NUMBER(15),
CHQ_NO NUMBER(10),
ADD_FD_AMT NUMBER(15),
P_SAP_CODE NUMBER(10),
P_TYPE VARCHAR2(1 BYTE)
For MATURED_FD_DT.ACCT_FD_NO, Trigger: KEY_NEXT_ITEM, I have written the following code:
DECLARE
V1 NUMBER;
V2 NUMBER;
BEGIN
V1:=:MATURED_FD_DTL.ACCT_FD_NO;
MESSAGE('V1:'||V1);
MESSAGE(' ');
END;
GO_ITEM('MATURED_FD_DTL.CUST_CODE');
This is just a dummy code.
When ever i enter the value in the field of ACCT_FD_NO, it pops up a message saying "V1:Value of ACCT_FD_NO",
So i want to store that value .
Compare them & if it is egual, it should pop up a message saying duplicate value is entered and must not allow to enter, at form_level.
So how can I compare the ACCT_FD_NO value between FIRST_RECORD and NEXT_RECORD ??
Help Me .
Thank You.
Oracle Forms 6i.
Oracle 9i.Thank You HamidHelal.
Actually before posting the code, I went through the first link you have mentioned. I tried also, it is quite tedious procedure, however i dint get the proper result, may be i have done some mistake. Anyways , can you tell me how do i check in database table, if a value exists OR IF VALUE FOUND & then message and raise form trigger failure; something like below.
IF :MATURED_FD_DTL.ACCT_FD_NO EXISTS
THEN MESSAGE('YOU HAVE ENTERED AN EXISTING OR DUPLICATE VALUE');
MESSAGE(' ');
RAISE FORM_TRIGGER_FAILURE;
END;
OR
IF :MATURED_FD_DTL.ACCT_FD_NO FOUND
THEN MESSAGE('YOU HAVE ENTERED AN EXISTING OR DUPLICATE VALUE');
MESSAGE(' ');
RAISE FORM_TRIGGER_FAILURE;
END;
Is there any equivalent in the form in oracle forms 6i?? Please let me know how do i do this?? -
I just updated Firefox but can't get it to display the message when a pop-up is blocked. Most times I want them blocked but sometimes I need them enabled.
You can see a pop-up block icon in the right corner of the Status Bar if you have chosen to hide the information bar at the top.
You can left-click that pop-up block icon on the Status Bar and remove the check mark from "Don't show info message when pop-ups are blocked"
You can look at these prefs on the '''about:config''' page and reset them via the right-click context menu:
Status bar icon: browser.popups.showPopupBlocker
Info bar at the top: privacy.popups.showBrowserMessage
To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page. -
Can we get error message when a component is entered twice in BOM??
Hi,
I have a BOM with around 150 components.
Can we get an error or warning message when ever a component is entered twice in the component list????
Thanks for your views.
Naveen.In addition to the above points about enhancement PCSD0005, here is some more information that you may find useful.
- The enhancement is called when you press enter after inserting a component.
- The component name is stored in field rc29p-idnrk
- Your programmer should know if it is possible to transfer this name to a table where it can be retained. Then when you add the next component, the exit can check against the previously inserted components. With a lot of components, you may get performance problems doing this though....
Exit is called here:
SAPLCSDI FORM MATERIAL_PRUEFEN
CALL FUNCTION 'EXIT_SAPLCSDI_006'
call customer-function '006'
exporting "note 611155
i_rc29p = rc29p "note 611155
importing
msg_data = msg_tmp
t_msg_data = lt_msg "note 942798
tables
mat_bom_allocation = mastb_tmp
changing -
In iphoto how to get the gold you delete a photo warning message when you check the box not ask
in iphoto how to get the gold you delete a photo warning message when you check the box not ask
Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
(On 10.7 or later: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
(Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
What's the plist file?
For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101. -
How to issue warning message in BADI ME_PROCESS_PO_CUST
Hi Guys,
I have already checked the forum regarding this. There are lots of threads. Unfortunately none of them helped me. I must be missing some thing in my code.
I tried issuing warning message in BADI ME_PROCESS_PO_CUST and method PROCESS_ITEM.
First i tried with normal message statement
MESSAGE w001(00) WITH text-001 text-002.
Didn't worked.
Next tried calling standard macros
DATA:mmmfd_cust_01 TYPE mmpur_metafield VALUE 90000000.
call method cl_contextfield_mm=>set_current_field
exporting im_field = mmmfd_cust_01.
mmpur_metafield mmmfd_cust_01.
mmpur_message_config 'W' 'X' ' '. "Tried all permutations here
mmpur_message_forced 'W' '00' '001' text-001 text-002 '' ''.
Still no solution
Tried with macro mmpur_message also
Can some one helpme out to solve this issue.
Thanks,
Vinod.Hi all,
Thanks for the responce.
Not sure whether you have looked into BADI documentation or not. Please check below.
"Further notes
The above-mentioned macros are defined in the program MM_MESSAGES_MAC. Please include this program in your own application.
Never issue messages in BAdI ME_GUI_PO_CUST! This is the task of the business logic and must therefore be done via the BAdI ME_PROCESS_PO_CUST.
"Never use the ABAP statement MESSAGE in the BAdI ME_PROCESS_PO_CUST. Please use the macro mmpur_message_forced only. This macro only writes a message in the message collector.
If you wish to mark the business object as invalid in order to prevent posting, you must additionally use the INVALIDATE ( ) method of the relevant interface. In this connection, see also the code example in the PROCESS_ITEM method of the BAdI ME_PROCESS_PO_CUST.
I have tried almost all macros including mmpur_message_forced 'E' 'ME' '083' l_text ' ' ' ' ' '.
Not sure where i am missing:(
If i give error using MESSAGE statement it is working perfectly i.e. give error and save the PO. Only wanted to know if there are any implications.
Thanks,
Vinod -
Revision: 1594
Author: [email protected]
Date: 2008-05-07 11:10:27 -0700 (Wed, 07 May 2008)
Log Message:
Update the warning message when outbound throttle policy of REPLACE is used one more time. Now the warning says this. . .
Throttle outbound policy 'REPLACE' found on message destination 'MESSAGE_DESTINATION'. The 'REPLACE' throttle outbound policy has been deprecated. Please remove it from your configuration file.
Modified Paths:
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageDestination.javahamish72 wrote:
You can still download as much as you can only a lot slower during peak times off peak will not be restricted.
Thanks for this explanation. I had taken it that it was at all times.
As I said in the first place it will be great if they throttle me to 1Mb at peak times as it will be better half the time than I am getting anyway!!!!!!!!!
hamish72 wrote:
Have you chased up why your line is so bad, long way from exchange and so on
Posting your router stats may get advice from someone
enter for homehub for other routers will differ
192.168.1.254 in browser click A to Z top right
then ADSL enter pas and click MORE DETAIL
POST RESULTS
Also post results of test at ( best done from master test socket)
http://speedtester.bt.com/
Connection Information
Line state
Connected
Connection time
6 days, 11:57:55
Downstream
5,760 Kbps
Upstream
448 Kbps
ADSL Settings
VPI/VCI
0/38
Type
PPPoA
Modulation
G.992.1 Annex A
Latency type
Interleaved
Noise margin (Down/Up)
5.7 dB / 21.0 dB
Line attenuation (Down/Up)
44.6 dB / 24.0 dB
Output power (Down/Up)
8.9 dBm / 1.6 dBm
Loss of Framing (Local/Remote)
0 / 0
Loss of Signal (Local/Remote)
0 / 0
Loss of Power (Local/Remote)
0 / 0
FEC Errors (Down/Up)
25279 / 134
CRC Errors (Down/Up)
700 / 196
HEC Errors (Down/Up)
5427 / 142
Error Seconds (Local/Remote)
477 / 102 -
Error/warning messages when trying to add a lookup field
I have gotten error and warning messages when I attempt to put a lookup field on a form. Based on a Municipality Code match in the Account table, I want to add to the form the Municipality Name from the Municipality Table.
After taking out a lookup field that was not looking up coreectly, I get this warning message and 3 simailar ones:
The referenced assembly "System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it has
a dependency on "System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted
framework or consider retargeting your project.
I got this response on the message board:
I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
Because the issue is on ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum
THANKS. -
I have just bought Lightroom 5. I get a Warning message when I try to open <Lightroom_5_LS11.dmg> that it is not recognized. I have 0SX vs 10.8.5. How do I open this?
Surrpent please try downloading a fresh copy of the Lightroom 5 installation files at Adobe - Lightroom : For Macintosh : Adobe Photoshop Lightroom 5.5. The update contains the full installer for Lightroom 5.5.
-
J2SE 6 warning message when using type casting
With Java SE 5 and 6 version, there's always an annoying warning message when I write the following code:
LinkedList<MyBean> cart0 = (LinkedList<MyBean>) session.getAttribute("cart");The warning message is because I use the type casting with the getAttribute method and thus this is not type-safe. So how do I get around the warning message and write standard code that sticks to the J2SE 6 standards? Thank you.Add a @SuppressWarnings annotation to the method. A bit intelligent IDE will provide you a quickfix option for it.
Keep in mind: it's a warning, not an error. The sessionMap is cannot be specifically parameterized and will never be, it should be able to store any object to your taste. Further on this has not much to do with JSF at itself. -
Error message during duplicate Pur Requisition creation for same Sale Order
Dear Experts,
I need your help to sort out a issue related to Stock Transport Order.
Our scenario is as below:
1) Sales order is raised first.
2) Stock transport requisition raised off in the background of a sales order automatically.
3) This PR turned into an Stock Transport Order PO manually.
4) Create delivery for STO from supplying plant and then GR is done in receiving plant. Create inter-company invoice.
5)Create delivery for sales order to issue the stock to end-customer and raise invoice.
This is standard scenario.
Problem comes when some smart uses manually creates another stock transport requisition again for same SO, which is turned into an STO. Means there is a duplication of STO PO.
My question to you experts, is there any standard way to prompt error or warning message, when users try to create purchase requisition manually for the same SO.
Account assignment category in PR is M - Ind. cust. w/o KD-CO.
Please suggest.
Regards,
PraveenHi!
Is it possible to create / configure a seperate PR document type for PRs created automatically from SO and don't give authorization to any user to create / amend the same manually?
Regards,
Riju -
Hi! I'm getting a "not currently available" message when trying to download old itunes music purchases to new "authorized" computer. I was able to download the first 500 songs no problem, but now I keep getting the "not currently available" message. Can u help? Thnx!
Hey SDGardella,
Thanks for the question. I understand that you are receiving error 499 when attempting to download purchases from the iTunes Store. The following resource outlines this error message:
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
"Error 499"
This alert occurs due to security software. Follow iTunes for Windows: Troubleshooting security software issues.
Thanks,
Matt M. -
I keep getting a message when trying to download apps saying your purchase could not be completed contact apple store. What can I do to resolve this?
You will need to contact iTunes Support, which you can do so via this link and ask them why the message is appearing (we are fellow users on these forums, we won't know why the message is appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
-
Material Statuses based on the Purchase order Document type
Hi Experts,
We need to maintain the Plant material status based on the purchase order document type.
Example - If I am using NB for normal purchase orders and ZB for STO procurement then, there should be a material status which should give warning message - 'do not use ' for ZB STO purchase orders and it should allow to create NB purchase orders for that same materials.
Please advise what are the possibilities?
Thanks
Regards
MMHi Gurus,
Thank you for your reply, Please find my replies below
@@ - Mallinath - We need this restrictions for some type of materials ( with specific Material types) which should not be procured through inter company STO process, buying plant should use the normal purchase. for other Material types they should be able to use the inter company STO process.
@@ DEV - We are already using the Spl. Procurement keys for inter company STO process.
Example - Material type ZXYX should not use the inter company STO process, but it should be allowed all other processes.
Please advise how we can control this process?
Thanks
Regards
Raja -
Can we find the material code against whom no purchase order is created.
Guru's
Can we find the material code against whom no purchase order is created.
I want to collect only those material against whom no PO is created.
Plz guide how to do so?
Regards,
VibhutiHi,
Table EKPO id Purchase order detail table,
write a select query on this table, if that particular material is ther in ekpo it means PO is done for that.
Take one internal table and select all materials from MARA table , then loop it
and for each material got the table EKPO.
select single * from EKPO where matnr = wa-matnr.
if sy-subrc <> 0.
append wa to it_table.
endif.
Maybe you are looking for
-
How to export a file keeping the original timecode
Hello all, I'm struggling to find out the way to do the following: I have an entire footage file and from that I need to cut specific interviews to be translated however I must keep the original timecode where I extracted these interviews from so the
-
When synchronizing my iPhone 4G with Outlook 2007 in my Windows 7 PC I get duplicated folders of Contacts and Calendars in both. How can I solve it?
-
Mod_jk configure can't find apxs - ?!?
A developer has asked me to build an Apache 2 instance with mod_jk. This is on Solaris 8 with gcc 3.4.2. Apache2 builds, no problems. First question: Why is mod_jk 2 deprecated while mod_jk 1 is actively being developed. Is it because the most recent
-
Halo frnds, In MIRO if i have passed a bill for 2 GRs .... and the base amount of both the GRs are different. When the base amount is different , the tax amount of each line item will differ. In BSET , we get tax info, but i wanna differentiate taxes
-
FCP Splits QT movie file into several files... problem and solution.
Hi All, I was having problems exporting a QT movie (Video Only) of a 20 min Reel within a Feature Film I edited. The Database was quite large - the film was 2Hrs and Footage was about 12X. FCP would split the QT movie file into several files - only o