Problem after raising an Error message in VA01
Requirement: I need to raise an error message when a particular item and sold to party combination is not having any live contract.
What I did: In USEREXIT_MOVE_FIELD_TO_VBED.
1. XVBAP having item details
2. VBAK structure having header details (I will get sold to party here)
3. VAPMA structure having the contract detail if any contract is exist.
Here I raised an error message and its getting raised properly.
Problem: Once the error message came I cant able to clear or delete that line item (in va01 screen), I am getting an error message No item category is available only I can go back without saving.
And I have tried in USEREXIT_MOVE_FIELD_TO_VBAP. Here I am not able to access the contract details from VAPMA (coming as blank)
Please help me to clear this problem
Use the form-exit USEREXIT_MOVE_FIELD_TO_VBAP.
You can retrieve the VAPMA data as:
SELECT * FROM VAPMA WHERE MATNR = US_MATNR AND
VKORG = US_VKORG AND
TRVOG = US_TRVOG AND
VTWEG = US_VTWEG AND
SPART = US_SPART AND
KUNNR = US_KUNNR.
You will find this code in form VAPMA_SELECT in include MV45AFDB_VAPMA_SELECT
Similar Messages
-
Problem after raising application error
Hi,
I would really appreciate any insight on this issue. Thanks.
I have a page that has fields that submit when entered. There is no problem there.
I have a button that when clicked runs a process and if certain condition happens to occur then it calls the raise_application_error.
I click OK and it takes me back to the previous page.
Problem doesn't go away if I fix the problem and press enter.
What do I have to do to reset to the submit button (which by the way is hidden) and not the print button which also submits the page.
Thanks in advanceThanks Scott
I had a few things happening. But I figure out how to prevent it by getting some correct values to begin with.
The issue about the button and getting the error over and over is something related to a value on a field that is not reset. I'm not using collections.
Solve this issue I'm just telling the customer to do a refresh and that gets rid of the negative values that raises the error.
Thanks -
Raise an Error message in ME21N
Dear All,
I am using user exit (SRVDET: EXIT_SAPLMLSP_040) to raise an Error message, it will terminate ME21N by the Error message. Did anyone know how to make it return to ME21N after an Error message...
I try to set screen to 500, 210...etc. but it seems make the program hung after leave screen. Any idea? Thanks a lot!
BR,
WellHi
Try to use the BADI ME_PROCESS_PO_CUST
and raise the error message
see the sample code
BAdI Name: ZCHECK_PO_LINE_ITEM (Implementation name) PO Account assignment
Definition Name: ME_PROCESS_PO_CUST
Interface Name : IF_EX_ME_PROCESS_PO_CUST
Implementing Class: ZCL_IM_BADIN_ACCOUNT_ASSGN
Method : PROCESS_HEADER
METHOD if_ex_me_process_po_cust~process_header .
DATA : re_data TYPE mepoheader.
*get the item data
CALL METHOD im_header->get_data
RECEIVING
re_data = re_data.
re_header = re_data.
IF ( re_data-bsart NE 'ZOC' AND re_data-bsart NE 'ZPC' ).
IF ( re_data-bsart <> 'ZIC' AND re_data-bsart <> 'UB' ).
IF re_data-bukrs NE '1001'.
MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'Use only Sipchem Company'
'Code for External Procurement'.
ENDIF.
ENDIF.
ENDIF.
ENDMETHOD.
Method : PROCESS_ITEM
METHOD if_ex_me_process_po_cust~process_item .
DATA: v_menge TYPE bamng, " PR Quantity
v_statu. " PR Status
DATA : re_data TYPE mepoitem,
re_data1 TYPE mepoaccounting,
re_accountings TYPE purchase_order_accountings ,
header TYPE purchase_order_accounting.
*get the item data
CALL METHOD im_item->get_data
RECEIVING
re_data = re_data.
IF ( re_header-bsart NE 'ZOC' AND re_header-bsart NE 'ZPC' ).
IF re_header-bsart EQ 'ZRL'.
IF re_data-konnr EQ space.
MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant create a Release order'
'without a reference to Outline Agreeement'.
ENDIF.
ENDIF.
IF ( re_data-banfn EQ space AND re_data-anfnr EQ space ).
MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You can create a Purchase order'
'only with reference to a PR or RFQ'.
ENDIF.
IF re_data-knttp NE 'K' AND re_data-pstyp NE '9' .
IF syst-cprog EQ 'RM_MEPO_GUI'.
IF re_data-uebto IS NOT INITIAL OR
re_data-uebtk IS NOT INITIAL OR
re_data-untto IS NOT INITIAL.
MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant change delivery settings'.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDMETHOD.
<b>Reward points for useful Answers</b>
Regards
Anji -
The adapter "SQL" raised an error message. Details "Login timeout expired".
Hi All
Please help me to understand "Login timeout". All feedback is welcome.
BizTalk Server 2009 on Windows Server 2008 R2 64 bit
SQL Server 2008 SP1 64 bit
BizTalk Adapter Pack 2.0
Event Viewer -> Windows Logs -> Application
The adapter "SQL" raised an error message. Details "Login timeout expired".
The adapter failed to transmit message going to send port "ALL.Exceptions" with URL "SQL://xxxxxxxxx/EsbExceptionDb/". It will be retransmitted after the retry interval specified for this Send Port. Details:"Login timeout expired".
Regards
SteveHi Abhishek,
Thank you for your input.
I found errors in the Table [EsbExceptionDb].[dbo].[Fault] relating to the write to the target Oracle database
Microsoft.ServiceModel.Channels.Common.MetadataException: Metadata resolution failed for OperationId:ATHENA/Table/WO_ADDITIONAL/Delete ---> System.TimeoutException: Timeout Expired at
The BizTalk send port timeout has been increased from 1 minute to 30 minute and all is well
Regards
Steve -
TMG events and raising an error message
I have written the code in TMG events and raising an error message for a certain condition.Whenever the error message is getting triggered it is making all the fields read only.So the user is not be able to change the value.
Any Solutions Please.?Hi,
It TMG events will be triggered after entering values in other field and -> press enter
Follow the steps.
Go to se11 check table maintanance check box under
attributes tab
utilities-table maintanance Generator->
create function group and assign it under
function group input box.
also assign authorization group default &NC& .
select standard recording routine radio in table
table mainitainence generator to move table
contents to quality and production by assigning
it to request.
select maintaience type as single step.
maintainence screen as system generated numbers
this dialog box appears when you click on create
button
save and activate table
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
One step, two step in Table Maintenance Generator
Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
please check the link for getting information about table maintenance generator !
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=use%20of%20table%20maintenance%20generator&cat=sdn_all
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
Regards,
Raj. -
How to raise multiple error messages at a time in a BADI
Hi all,
I'm using CHECK method of BADI ME_PROCESS_PO_CUST for some validation in ME21N/ME22N. I want to raise multiple error message at a time, when user clicks on Check button or Save button. Please let me know, is there any function module for this or is there any particular procedure for this?
Thanks in Advance,
Siva Sankar.Hi,
Raising messages from within BAdis is not a good choice and from the look of it , it appears to be causing a dump.
Look if the BAdi interface has any exceptions defined for the method, if so, raise the exception with your message like:
MESSAGE e002(sy) WITH 'Error' RAISING <badi_exception>.
Otherwise call the FM POPUP_TO_CONFIRM To show msgs to user
Regards
Kiran Sure -
My problem - when syncing and error messages comes up: iTunes could not sync calendars to the iPhone because an error occurred while margin data." I've tried turning the phone off and back on, & tried both USB ports but get the same thing. What can I do next since it doesn't give me even one clue as to what the error would be?
Before I started to resync calendars one by one as suggested in the troubleshooting article, I remembered something that came up in a sync when I first attempted : a 'which one do you want to keep' message about a repeating calendar event, which came up with three options, one from Calendar, and two from iCal on the phone. I deleted that event, then went through the calendar resync one by one, and all seems OK now.
In Music there is a way to find 'ghost' items that show up as grayed-out on the menus, so that you can try to reassociate or delete them. It would be nice to have a similar way to work with Calendar!
Thanks for pointing me to the right article. -
updated iTunes to 12.0.1 on XP after updated recieved error message "The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link dll" "itune not installed correctly error 7 (windows 127). reinstalled same error. Tried suggested steps
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (if this won't uninstall press on)
Bonjour
Apple Application Support
Still getting same error message. Can anyone help meFor general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
tt2 -
How to enable the screen after triggering the error message
Hi All,
we have a tcode IW31, in that one field(WBS element -PROID) is not mandatory. so we have written the following code to make it mandatory in a user exit EXIT_SAPLCOIH_010.It's triggering the error message, but it is going into disable mode. Please sugget me how to enable the screen after getting the error message triggering.
if not caufvd_imp-proid is initial.
select single * from t350 into wa_t350
where auart = caufvd_imp-auart
and imord = 'X'.
if sy-subrc is initial.
pspel = caufvd_imp-proid.
else.
call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
exporting
input = caufvd_imp-proid
importing
output = l_posid.
concatenate text-t10 l_posid text-t11
into l_textline1 separated by space.
message i208(00) with l_textline1.
endif.
else.
message e208(00) with 'Please maintain WBS element in Location Tab'.
endif.
ThanksHi,
Instead of error message use status message like
message s208(00) with 'Please maintain WBS element in Location Tab'.
Leave to screen sy-synnr.
This will allow to move to the screen and have in enable mode.
WIth Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Feb 13, 2009 7:46 AM -
What do I need to do to fix a problem such as an error message stating "iTunes has stopped working"?
Hello westerboy,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues
http://support.apple.com/kb/ts1421
Best of luck,
Mario -
Problem installing i tunes Error message in Dialoque Box
Problem installing i tunes Error message in a Error Box "Installation source for this product not available, verify source exisits , - The feature you are trying to use is on a network resourse that is unavaialble
Also message reads Installation source for this product is not available, verify source exists
I have tried to unistall I tunes using Revo Uninstaller, and get the same message box as when I'mtrying to install I tunes
I have downloaded the latest version, but cannot install it, I have tried to re -install from my computer an old version, but a message come back stating a newer version is already installed, have selected the two boxes in the Dialoque box and the same message comes back
Please help"Installation source for this product not available, verify source exisits , - The feature you are trying to use is on a network resourse that is unavaialble
Which particular .msi file (or files) does the message (or messages) go on to say cannot be found? (Several different .msi files might be mentioned in this context: itunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.) -
How do I open safari after quit unexpectedly error message?
How do I open safari after quit unexpectedly error message?
Force quit Safari if required, then reopen while holding the Shift key.
Check the links below for options to remove the Adware
http://www.adwaremedic.com/index.php
Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support -
User exit for change warning message to Error message in va01
hi,
I want to change a warning message to as a Error Message in VA01 t-code,
how can i proceed for this. where i need to change
( without changing standard code)
thanks in advance.*& Report ZUSEREXIT *
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen. -
Calendar schedule blank. All appts disappeared from 3g iphone calendar synced to yahoo. After Yahoo corrected error message on their website and I re-synced my iphone, calendar reappears but will not allow edit from iphone. I can't find settings within Yahoo or within my iphone to alter editing options.
How can I get access to edit and delete the Yahoo calendar from my iphone? I never schedule anything from the Yahoo webpage. All my appointments and reminders are scheduled from the iphone.
iOS 4.2.1 (8C148a)My Yahoo email account worked just fine on my iPhone 4S for the last 2 months. Then this morning I started receiving the apple.imap.mail,yahoo error. I tried all of the steps above in solving the yahoo email issue including numerous hard re-sets and deletions of my yahoo account settings without any success. So I gave up trying to use the default Yahoo setup option. I added my Yahoo account back as an "other" type email account and then had the option to choose to set it up as a "POP" account instead of an IMAP type. I then just used the server settings recommended from Yahoo Help for a Yahoo Plus Email POP (or just google yahoo plus email pop settings). This works and I am back in business.
I'm not sure if this will work for yahoo mail classic accounts.
Frustrating that this issue seems to have been going on for quite awhile and Apple still as not made any acknowledgement of this issue or proposed a fix for those of us that can not resolve the issue with a reset. -
Tried iTunes Store directive for reporting a problem. Got an ERROR message every time. Stuck with a NY Times app that won't recognize my subscription.called Apple and was told by an automated message to...use the ITunes Store directive.
Can someone point me in the right direction.Hello atransient,
Thanks for the question, that definitely sounds frustrating to encounter errors at the most important times.
Let's see if the online Report a Problem works any better for you:
http://reportaproblem.apple.com
Thanks,
Matt M.
Maybe you are looking for
-
Transporting Process Chain - error Source system does not exist
Hi, I tried to transport a local PC by itself (not including its main meta chain) since I have only done modifications in the local PC only. In the PC, there are PSA Processing, ODS Processing, ODS Activation, ABAP Program w/ variants and Infocube Ro
-
Have tried to DL versions 3.5.13, 3.6.9, and 3.6.10 (not in that order). Only have Safari 4.1.2 as basic browser. Automatic installer never opens, and when I double-click on the .dmg icon, I get error message 0xe00002c9.
-
Can I mirror one desktop to the tv and have a different desktop running on the mac book?
All i want to do, is to be able to play a movie on the apple tv through one desktop, and do other tasks on my laptop with the movie or video playing simultaneously. Is this possible in any way?
-
I am trying to move across & view my home movie clips from my old PC to my new Mac but I am unsure what software I need to view them. They are from a Canon video camera originally. Please advise how this is done!
-
Stop displaying EVERY image file in the Photo Well..
I've just started using the Starter Edition 3 and so far have cataloged 1600 images. When I open PsASE, it displays thumbnails for every one of the 1600 images. How do I stop this? When I get up to 10,000 images, this won't be practical. Thanks, Davi