Adding a dialog after an address check
Hello dear members,
I use SAP CRM 5.0 and have to implement an address check in transaction BP.
I'd like to know which possibilities are there to realize the following:
After having integrated an address check into the transaction BP, which is carried out when the check-button or the save-button is pressed, i'd like to know how to insert a dialog into the transaction itself or better into the BAdi i've implemented.
The dialog should appear when the check revealed some mistakes and asks the user if he'd like to save the data anyway.
So the questions are is there a dialog component (like in delphi or c#) which can do that and if not how can one implement such a component, where should the dialog be invoked (in the BAdi itself, somewhere after the BAdi or somewhere in the PBO)
Thank you very much in anticipation and greetings,
Paul
Thank you for the hint. I did so and tried to exit the processing when no and cancel are pressed but i failed.
Within the method "IF_EX_ADDRESS_CHECK~ADDRESS_POSTAL_CHECK" as an implementation of the ADRESS_CHECK BAdi Interface i coded the following:
" do some checks and write status codes
if status eq 'e'.
call function 'POPUP_TO_CONFIRM'
EXPORTING
text_question = text-001 "Do you really want to save the erroneous data ?
IMPORTING
answer = w_answer
EXCEPTIONS
text_not_found = 1
others = 2.
if sy-subrc <> 0. " Function call failed.
endif.
if w_answer ne '1'.
errorline-MSG_TYPE = 'S'.
errorline-MSG_VAR1 = 'Addressdata erroneous!'.
append errorline to CH_T_ERROR_TABLE.
exit.
elseif w_answer eq '1'.
errorline-MSG_TYPE = 'S'.
errorline-MSG_VAR1 = 'Erroneous addressdata will be saved!'.
append errorline to CH_T_ERROR_TABLE.
endif.
endif.
Could anyone tell me how i can abort the processing of the whole program/transaction and prevent the saving of the data when i'm already within the BAdi and not the Dynpro anymore?
Regards.
Similar Messages
-
With the new OSX system, whenever I send an email with multiple recipients, I need to physically add a comma after each address. I never needed to do that with all the other older systems, it was done automatically. How can I fix this frustrating glitch?
option discovered in preferences. Really this and any feature that moves deletes or edits a users data should as far as possible be OFF BY DEFAULT. It shouldn't by default and without the users specific say do this dangerous and unnecessary thing without even letting the user know what it's doing!!! And then cause me a few hours (as i'm new to mac) searching for the option so as to switch it off. If i hadn't noticed the status cage declaring that it was copying files then i might never have twigged that this insane thing was occurring. And if i hadn't of noticed i would have been left maintaining the contents of the folder i copied the files to, the folder which as far as i was informed and so believed was also the location of the music files i was playing. How does Apple justify this 'genius' piece of software non-design? Surely it will hurt no one if this was off by default for new users - overall at least i dare say it would cause a lot less distress in the future for the unsuspecting public at large. Thanks for the support.
-
'"Connection Failed" : The server "rrnas01" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again' message keeps displaying whenever I try to open any Adobe CS5 applications (except for Adobe Acrobat Pro). It displays until I click "OK" about 15-20 times or so and then will finally let my program open.
I have tried deleting files within my Library/Preferences folder and turning off/deleting login items within my system preferences as other forums suggested but nothing happened. Spending 3.5 hours on the phone with Adobe and completely uninstalling and then reinstalling the entire CS5 Master Collection didn't work either.
Also, it may be helpful to know that my programs worked fine for about three weeks then when we got internet and changed the password (the join, not the adminstrative password) with the wireless network "ScubaSteve" (which I've used with no problems at my old apartment) it started acting up. I have never seen "rrnas01" before so I don't know at all where it came from. I also installed the free 30 day trial of Suitcase Fusion 3 recently, but thinking that could also be the cause I have uninstalled it, and still no help.
Please help me! And please keep in mind I don't know all the computer lingo that a lot of the people in these forums seem to know. Thanks in advance for ny help you can give me.It may not be possible .. there is a major bug between Mountain Lion and the TC where the TC disk goes off the radar of the computer.
Lion is also affected but not as badly.
7.6.4 seems worse than earlier firmware.. so back to 7.6.1 or 7.5.2 if that is possible.
Obviously that is not a solution for a later Gen5 TC.
Reset to factory after the firmware downgrade. .use all network names that are short, no spaces and pure alphanumeric.
If the TC is the main router set the dhcp to a very short lease time.. eg 30min.. and see how it goes, or try a longer lease like 99days.
I prefer the very short lease but response has been mixed.
Use ethernet not wireless.. ethernet is always more reliable and stable than wireless.
And last .. a nightly electric timer that powers off every night at midnight for 1min.. would not be the first device we have suggested a fix that amounts to beat the unit to the punch by forcing it to reboot since it is unstable. -
Every single website url address, or url address within a website page is being added to my location bar/address bar drop down menu.
I don't want everything added or saved in the location bar. Only urls that I used a lot used to be saved there but now every single url (and url within a url)I visit is being added to it.
How can I stop this? This just started happening.
I'm sure it's a simple browser setting but I've checked and nothing gives an option to control this.
Firefox 3.0.17
Windows XP
== User Agent ==
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.17) Gecko/2009122116 Firefox/3.0.17A possibility is to open the links via the right-click context menu or a middle-click in a new tab to make sure that Firefox sees them as regular links.
-
I downloaded new os for my daughter's ipod touch. I remember during setup after that I checked off my husband's email account and now she is receiving his texts. How do I fix this. The "icloud"/ "messages" buttons are both greyed out under settings
Forgotten RESTRICTIONS Passcode
- Restore from a backup that was make before you added the Restrictions passcode. If you restore from a backup made with the Restrictions passcode the Restrictions passcode is also restored.
- Restore to factory settings/new iPod.
- If you are up to file manipulation see:
How to reset forgotten Restrictions...: Apple Support Communities -
I am trying to figure out how to display a second dialog after a button click in my main dialog. I have done the following to add a new dialog, but when I click my main button, nothing happens and InDesign crashes. Can anyone tell me what I am doing wrong. Is there a good description or code snippet that shows how to implement multiple dialog boxes?
..in the __ID.h file, I add a new dialog boss class, new controller and observer Impl, new dialog widget ID, and define a new rsrc id for the second dialog.
.. I create the new observer and controller files and add them to the project creating a new interface using the new Impl's.
..in the __.fr file, In the class description table I add a new class for the second dialog based on kDialogBoss and implementing the new controller and observer Impl. Create a new resource type based on Dialog using the new dialog boss. Then create a new resource of the new type with the new widget Id.
..In the observer code of the main dialog, I use CreateNewDialog based on a rsrcSpec using the resource id of the new dialog.
(Could this be any more complicated?)Hi Liz,
The steps you have used for creating New dialog are correct.
Try adding following code in your __.fr file where kSecondDialogResourceID is the resource id of the new dialog.
resource LocaleIndex (kSecondDialogResourceID)
kViewRsrcType,
kWildFS,k_Wild, kSecondDialogResourceID + index_enUS
You also make the dialog Type as Modeless in CreateNewDialog()
IDialog* dialog = dialogMgr->CreateNewDialog(dialogSpec,
IDialog::kModeless);
Pls reply if your problem is solved. -
We added an dialog abap instance to a system consisting of 3 DI and one CI
We added an dialog abap instance to a system consisting of 3 DI and one CI.
When trying to switch instance from new instance in sm51 to old instance while being logged to an new instance directly this is possible
However when trying to switch instance in sm51 to new instance while being logged to an old instance this is not possible.
What could be the reason?jan,
My first thought is whether the hostname of the new instance is availble to the old Dialog Instances (via the services file or DNS) ?
Failing that, can you answer these questions...
1) if you use SM51 to connect to an old instance from the new instance, can you then use SM51 to connect back to new instance ?
2) When you access the new system from SM51, how does the logon fail ?
invalid user / password ?
Load balancing failure ?
Connectivity failure ?
You'll probably find the answer to your problem if you investigate down these three lines. However, a more arcane cause could be the network topology...
Are the instances on the same IP subnet ?
Are the instances on the same domain or subdomain ?
Check that there's nothing strange going on with the IP subnet mask.
Good luck -
Vendor Open Item Was Not Offset After a Replacement Check
Hi FI Guru,
We have an issue with vendor replacement check. Our vendor open item still apears in FBL1N after a replacement check is paid. We initially issued a check against a vendor invoice and we had to void that check because due to check printing problem. The check was cancelled in FCH8. We then issued a replacement check in F110. When I displayed open items for the vendor in FBL1N, the vendor invoice still showed up. The replacement check already sent to our vendor. So we have to apply the payment to the vendor's invoice. It seems the second transaction (for the replacement check) is incomplete because I dont't think it hits our bank account.
Here are my questions:
1) Is there another transaction our user needs to offset vendor invoice?
2) If we have to fix it manually, what is the best option to offset the open vendor invoice and still be able to hit our bank account.
Any help is appreciated.
Thanks!!
ReilingHi,
In order to change the Open Item Management for a G/L account using
ZFSEPA02 the line item total(Total of open items)for this account
should match/tally with the account balance for this account (FS10),
otherwise the open item activation will not be possible.
Unfortunately as per note 175960 you find reports RFSEPA02/ RFSEPA03
are no longer supported as of release 4.5A.
ALTHOUGH you can find a possible solution on how to tally the line items
to the balance in the NOTE 403744.
1. Active New General Ledger
This note applies ONLY WITH RESTRICTIONS to Release ERP 2004 or ERP
2005 with activated New General Ledger and activated document
splitting.
In these releases, it is not currently possible to subsequently
activate the open item management under the specified conditions.
The only option currently available is to set up a new account with
open item management and to use this instead of the original
account.
However, it is also possible to deactivate the open item management
using report ZFSEPA03 under the prerequisites described below.
2. Migration to the New GL:
If you are planning to migrate to the new General Ledger using a
migration type that enables the use of document splitting, ensure
that in Phase 1 and Phase 2 NO changes are make to the open item
management. Phases 1 and 2 indicate the period between the migration
date and the end of the actual migration (the "Migration Completed"
indicator is set) -
Hi Experts,
I would like to retain the old schedule lines after the ATP/GATP check in the sales order for certain conditions.
I don't want to change XVBEP,IVBEP,VBEP contents in the user-exit..
Is there any standard sub-routine or function module to reatain old schedule lines in the sales order so that the schedule lines will not update with the new values after the ATP check ?
Thanks
RayuduIn Include LV03VFMM, you have:
* Userexit availability
PERFORM USEREXIT_AVAILABILITY_IN USING DA_ATPPR.
There may be an option to implement some logic in here. However, I tried changing the value of MVERF_POS-EINTEIL[1]-VFPKZ to initial. This will ensure that when FM AVAILABILITY_CHECK_CONTROLLER is called that the following IF statement is untrue:
CHECK NOT P_ATPCSX[] IS INITIAL.
as P_ATPCSX[] Table[0x648].....
However, this will just mean that the 2nd confirmed schedule line (assuming we have > 1 schedule lines) will have a confirmed quantity to zero.
EXIT_SAPLATPC_001 could also be used. However, when I removed the "X" from CHKFLG, I get the same result; the 2nd schedule line will revert to zero.
They were the only tests I tried; I cannot think of any other ways around this.... -
Adding multiple e-mail alias addresses to an account
Can someone please tell me how to add another e-mail address to my Mail account. I have tried using info from the Mail Help file, both "adding another account" and "adding multiple e-mail alias addresses to an account". Each time when I try to send a test message to or from the added e-mail address, I get the same message: "Cannot send message using the server mail.bellsouth.net. Use the Pop-up menu below to try a different outgoing mail server". The only pop-up is smtp .Mac.
I have tried both methods shown in the HELP file and get the same message. I would really appreciate your help.Are you trying to add a second email account to Mail, or just add a second "(apparently) from" address to an existing account?
If the former, we need to know some more detail, like:
(1) who is the existing account, .mac or bellsouth?
(2) Which are you trying to add, .mac or bellsouth?
(3) I assume your ISP is Bell South?
(4) What are the names of the smtp servers and what are their respective smtp server port numbers?
(5) Are either of them using SSL on the smtp server?
(6) I don't remember whether Tiger Mail has it or not, but in Leopard Mail, on the menu bar under "Window" there is a selection "Connection Doctor." If applicable to Tiger Mail, what does it say about your connections?
(7) Which account can you send mail through and which one can't you send mail through?
(8) Are your receiving mail okay through either or both accounts? Which one(s)?
Now if you are trying to add a second "(apparently) from" address to an existing account, in Mail Prefs > Accounts > mail account > Email Address, just add a second email address separated by a comma like so:
[email protected], [email protected]
You could have an issue with bellsouth or .mac requiring the domain name in the apparently from email address to match the domain name of the smtp mail server. -
Today I deleted a gmail account using my computer. I also added a new work gmail address. Now I want to sync my phone and tablet with the new email address. I've looked all over and can't find out how to do it.
PegHi there T&P63385!
Look no further! I have the answer for you! You can add a new email account to your android device by following these steps: http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=31401
Now I do want to let you know that your phone has a "main" gmail account. If this "main" gmail account was the one you deleted it may be best that you reset your phone and activate it to your new gmail address.
The reason I recommend doing this is all of your purchased application information is also tied to your gmail.
Ensure your personal information is backed up (contacts, pictures, etc) and follow these steps to Hard Reset your phone:http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=31308
Let me know if you have any other questions!
Thanks,
MelissaM_VZW
Follow us on Twitter @vzwsupport -
BADI for Address Check in PA30 in ECC6.0
Hi Friends,
Is there any BADI for Address Check in PA30 in ECC6.0 similar to what we have in BP transaction in ECC6.0.
Thanks,
Pradeepcheck these...
Enhancement/ Business Add-in Description
Enhancement
PBASRP01 PA: User exit distributed reporting
PBAS0002 PA: Enhancements for Personnel Administration - Menu
PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
PARA0001 Enhancement for Determining the Number of Periods
HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
HRPC0001 HR: PC download authorization
HRPBAS01 User Exit for HR Master Data
Business Add-in
HRPAD00_PREM Definition of User Exit for Collective Search Help PREM
HRPAD00_RECOG_SCREEN Employee Recognition Screen
HRPADUS_PBAS_0001 Customer Exit for Message handling
HRPAD_SUBTY_CHECK HR: Master Data, Subtype Check
HR_F4_GET_SUBTYPE HR: Entry help for subtypes
HR_FAST_ACTION_CHECK Check fields on the fast entry screen
HR_INDVAL HR: Indirect wage type valuation
HR_SET_PKGAB
HRPAYXX_DELETE_PERNR BAdI for Reports Deleting Personnel Numbers
HRPAD00_PAPM Definition of User Exit for Collective Search Help PAPM
HRPAD00_GET_AF_0008 Additional Fields for Basic Pay Infotype (0008)
HRPAD00_ENTRY_LEAVE HR_ENTRY_DATE and HR_LEAVING_DATE
HRPAD00_ADRS HR: Address formatting
HRPAD00MGEACTIVATION Activation Action BAdI for Global Employees
HRPAD00INFTY Update / Infotype maintenance
HRPAD00AUTH_TIME Time Logic in the PA Authorization Check
HRPAD00AUTH_RECORD Spanish Data Privacy Law: Exit for Recording
HRPAD00AUTH_CHECK HR: Authorization Check
HRIV_REDUCE_AMOUNT Reduction within Indirect Valuation
No.of Exits: 8
No.of BADis: 19 -
Need to enter invoice and payment in the system after a manual check issued
Client Need to enter invoice and payment in the system after a manual check is issued for some urgent transactions.
Please suggest few ways to do this .Hi,
If client can maintain a separate check book sequence for manual issue, we can configure a separate payment document with the same sequence and later record the invoice and generate payment ....
Regards,
Ivruksha -
How to get the only the changed or newly added entries in AFTER SAVE.
I have created table maintenance generated for a table,I want to get the newly added or changed entries while saving thats why im using AFTER SAVE event for the same,can anyone please tell me how to get the only the changed or newly added entries in AFTER SAVE.
Hi,
Welcome you post on the forum.
I have moved your thread here because it is in English and should not in the language specific forum. What is your system version?
Thanks,
Gordon -
Double sided printing, adding blank page after two different groups
Post Author: adepper
CA Forum: General
I have created a report that is structured as such:
Group 1 - Based on formula, groups by type
Group 2 - Based on formula, groups by use
Group 3 - use (pulled directly from Database)
Group 4 - ID
I have the report printing an extra page after group 3. I used this formula in the Section Expert - New Page After
remainder(pagenumber,2)=0
I also use that formula to reset the page number
What I would like to do is print a second blank page if group 2 does not start on the top of the page, meaning I do not want either group 3 or group 2 to start on the back of a page, so that this report can be placed in a binder, with dividers.
I have group 3 giving me a blank page with no issues, it is just group 2.
Any help and/or suggestions would be appreciated. If I did not give enough details, I am sorry.
Thanks!Post Author: adepper
CA Forum: General
After a lot of blood, sweat and tears, not to mention a lot of curse words directed at the computer, I was able to get this to work. Now I just have to do it for three groupings instead of two (deliver the impossible to your bosses, and they turn around and move the brass ring right out of reach again!)
In case anyone is interested in how I was able to manage this (I found many sites where people asked this question, but not one complete answer), this is what I did:
In the footer section:
Group 4 - ID (database field)
Group 3 - PrimeUse (database field)
3a - Contains data
3b - Contains data
3c - New Page After, Keep Together, and Reset Page Number After are all checked. In the condition for Reset Page Number After I also have this formula:
remainder(pagenumber,2)=0
3d - New Page After, Keep Together, and Reset Page Number After are all checked. In the condition for New Page After I have this formula:
remainder(pagenumber,2)=0
Group 2 - Suppressed
Group 1 - Grouped by Store Type -
1a - Suppressed, New Page After and Keep Together are all checked.
1b - New Page After and Keep Together are checked. In the condition for New Page After I have to following formula:
remainder(totalpagecount,2)=1
If anyone sees any errors, or if you think you can get it so that I get another page blank, after Group 1, if the Group starts on an even numbered page, I would appreciate the help.
Thanks!
Maybe you are looking for
-
Addiing additional data in header of excel output of alv excel dowload.
Hi Experts, I want to set(print) some additional data in header(with table header) of excel output of alv standard functionality(Export to Microsoft Excel) in webdynpro abap. any suggesions... Reg, Rajesh.
-
Can't send mail with Signatures or Attachments
Since installing the Update 10.4.6, I have been unable to send email to my pop account which has either a signature or an attachment. I have cleared the caches using tiger cache cleaner (the reboot took forever and I had to cancel and restart so I'm
-
Curl in java (needs Java files in JCurl_code)?
HI, I am new to java,So I hav used curl functions in php.But in java I hav to use same curl function to connect URL thru java pgm.So I hav i Got JCurl .But i dont have Curl java files & Curl Glue etc.For installing curl in java any dll files must be
-
Hi, can any one explain me how to create Plants in EBP if we go for Standalone Scenario. kindly mention those which objects i need to create Locally and Which objects i need to replicate from FI backend system. subhash
-
Cant play any videos from you tube and dailymotion
hello i have upgraded from win to windows 8 pro x64.i have the next problem:i cant play any video from you tube and dailymotion with IE 10,with firefox i have not any problem.what can i do?