OADialogpage:......and code not Executing in if loop..........help me out

if("linkRepairOrder".equals(pageContext.getParameter(EVENT_PARAM)))
String csdRepairNumber=pageContext.getParameter("csdRepairNumber");
oracle.apps.fnd.common.MessageToken tokens[] =
{ new MessageToken("csdRepairNumber", csdRepairNumber) };
OAException mainmsg =
new OAException("CSD", "START CLOCK", tokens);
String yes="OA.jsp?page=/oracle/apps/csd/ro/mgmt/webui/HvrRepairMainPG";
String No="OA.jsp?page=/oracle/apps/csd/ro/mgmt/webui/HvrRepairMainPG";
OADialogPage dialogpage =
new OADialogPage(OAException.INFORMATION, mainmsg, null, "Yes", "No");
dialogpage.setOkButtonItemName("DeleteYes");
dialogpage.setOkButtonToPost(true);
dialogpage.setNoButtonToPost(true);
dialogpage.setPostToCallingPage(true);
dialogpage.setOkButtonLabel("Yes");
dialogpage.setNoButtonLabel("No");
java.util.Hashtable formParams = new java.util.Hashtable(1);
formParams.put("csdRepairNumber", csdRepairNumber);
dialogpage.setFormParameters(formParams);
pageContext.redirectToDialogPage(dialogpage);
if(pageContext.getParameter("DeleteYes")!=null)
pageContext.setForwardURL("OA.jsp?page=/oracle/apps/csd/ro/mgmt/webui/HvrRepairMainPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrums
OAWebBeanConstants.IGNORE_MESSAGES);
this is not working
System.out.println("hi before OABodyBean.........");
OABodyBean body=(OABodyBean)pageContext.getRootWebBean();
String csdRepairNumber = pageContext.getParameter("csdRepairNumber");
String page1 ="/oracle/apps/csd/ro/search/webui/ClockRunning&retainAM=Y&addBreadCrumb=Y&csdRepairNumber={@csdRepairNumber}";
String destURL = APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP + "?"+ OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT+ "=" + page1;
OABoundValueEmbedURL jsBound = new OABoundValueEmbedURL(body,"openWindow(self, '", destURL, "' , 'longTipWin', {width:"+200+", height:"+500+"}, true); return false;");
System.out.println("In OABodyBean....");
body.setAttributeValue(UIConstants.ON_LOAD_ATTR,jsBound);
upto hear
else
//pageContext.setSkipProcessFormRequestForMessageLevel((byte)0);-------does this work
pageContext.setForwardURL("OA.jsp?page=/oracle/apps/csd/ro/mgmt/webui/HvrRepairMainPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrums
OAWebBeanConstants.IGNORE_MESSAGES);
}

Hi,
to open a data set, you need to have the path for the application server file, to see the application server files. goto AL11 transaction code, there you will find the directories then inside it you will find sub directories then you will find the file names, there you need to open the file using the open datasets ..
you have written DATA : FNAME(90) VALUE 'j:/ hai.txt'. , but this is not a application server file name, just goto AL11 then you will find the file names and give the correct path
Regards
Sudheer

Similar Messages

  • Remote procedure call failed and did not execute response after changing contents

    Hey Hey!
    I have reviewed the other posts related to this issue but have not found a solution.
    I have done myself quite a mischief and hope someone here can help me out!
    I'm running an old ACER laptop with Windows 7. This PC belonged to an old colleague and therefore all of the folders and user names were still under his name, so I decided to try to change them all to my name. The main issue was the USER folder which had
    the locked symbol next to it but it wasn't locked at all. I googled how to delete this folder and one bright spark suggested I create a new folder with my name, copy all of the folders from the other 'locked' user's folder into my folder, and then delete the
    old user's folder. 
    That was fine. All seemed well. When I tried to delete the old folder the computer sat around thinking saying it was 'moving' but not doing anything. So, I cancelled the operation in the Task Manager. When I attempted to open any folder from the start menu
    or desktop or task bar I was presented with a bunch of numbers and letters and the message "REMOTE PROCEDURE CALL FAILED AND DID NOT EXECUTE."
    I quickly googled the message realising I'd made a major error and the first response was to type in services.msc or something to that effect, so I typed that into the Start Menu search bar and hit enter and nothing came up. So, I tried again, but now I
    couldn't type anything into the search bar, I could not even select any programs from the Start Menu. 
    So, I can't access the Start Menu, search bar, or any of the folders unless I open uTorrent, select open containing folder, and from there I can access what I need.
    I'm too afraid to reboot the PC. I can't locate my copy of Windows 7 anywhere. I'm freaking out!!
    Before I pour my lowly student wage into getting a professional to fix it, could someone please offer some suggestions??
    Greatly appreciated in advance. 
    Paris, Texas. 

    Hi,
    Based on your description, for this question is more related to NetQueryDisplayInformation() API, in order to get better help, we may ask for suggestions in the following MSDN forum.
    MSDN Forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Besides, we can try to use a script to get all domain users. Regarding this point, the following script can be referred to as reference.
    How to list all active directory users in a particular domain using PowerShell
    https://gallery.technet.microsoft.com/office/How-to-list-all-active-0d9be7ce
    In addition, for scripts, we can also ask for help in the following forum.
    The Official Scripting Guys Forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Best regards
    Frank Shen 

  • Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update

    Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update.
    How/Where to increase the relationship count?
    The message which I can see :
    Warning:
    This specification has exceeded the number of parent relationships allowed by Where Used. The Where Used tool only supports up to 500 parent relationships.
    Thanks

    This really brings up a larger topic around change management.
    The questions you should start with is
    1. What kind of change is happening to the raw material? 
    2. Will this change affect anything upstream inside or outside of PLM4P? (Will this change affect nutrition, compliance, the ingredient statement, the label etc?)
    3. Who needs to approve this change?
    If they are non-material changes (changes that don't affect theoretical calculations, the ingredient statement, labeling, upstream systems that need to be notified etc) then you should be using get latest revision instead of global succession.   Get Latest Revision will automatically switch out the material with the latest approved version.  This logic is also configurable in case you need to add additional guard conditions.   We can also provide guidance around locking the get latest revision lock once a specification has reached the retired/obsolete state so changes won't occur for specifications in those statuses.
    If the changes to the raw material are material changes (changes that affect calculations, labeling etc) then the change should be reflected with a copy of the specification.  Dependent specifications then need to be re-issued so calculations can be performed and the appropriate workflow reviews can occur.   Smart Issue allows for filtering based on status and should let you re-issue in smaller blocks. 
    Let me know more about your change management strategy, how often large material changes happen and maybe example causes for those mass changes.  We can also schedule a change management training session for everyone where we can share our vision and tools available for change management.  This topic is quite large and generally requires a lot of business process discussion beyond just the tools available. 
    Thanks
    Kelly

  • HT204389 I just got an iPhone 4S model number MD439LL/A still have the box that it came in along with other info. I can not find Siri. I have looked in settings general and  settings general restrictions. Can anyone help me out?

    I just got an iPhone 4S model number MD439LL/A still have the box that it came in along with other info. I can not find Siri. I have looked in settings>general and  settings>general>restrictions. Can anyone help me out?

    That model is an iPhone 4, not a 4S.
    http://support.apple.com/kb/HT3939

  • I think pesimo customer service three days, I'm looking for someone I can ayudr activation problem with my CC and can not find anyone who can help me.

    I think pesimo customer service three days, I'm looking for someone I can ayudr activation problem with my CC and can not find anyone who can help me.

    Online Chat Now button near the bottom for Activation and Deactivation problems may help
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • Hi i have updated the 8.1 in my i phone 4s . then i got in my home screen i tunes and charging symbol only . its not getting on . can you help me out to solve the issue with my phone ?? thanks.

    hi i have updated the 8.1 in my i phone 4s . then i got in my home screen i tunes and charging symbol only . its not getting on . can you help me out to solve the issue with my phone ?? thanks.

    Hi vijayanandhtkp,
    It sounds like you are getting the Connect to iTunes screen as discussed in this article.
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    If so, please check out this article as linked from there.
    Use iTunes to restore your iOS device to factory settings - Apple Support
    Thank you for using Apple Support Communities.
    Nubz

  • I have been getting this message " no sim installed " too many times then my phone goes off , its iphone 4S , its really a problem i cant get calls or anything and im not sure how to take the SIM out then insert it again , what to do ??

    i have been getting this message " no sim installed " too many times then my phone goes off , its iphone 4S , its really a problem i cant get calls or anything and im not sure how to take the SIM out then insert it again , what to do ??

    Use the sim tool that came with your phone or a safety pin and just insert it into the hole at the side of the sim tray and push it in and then pull it out.  It is no more difficult than that and then just close it again.

  • Hello I am using Ipad 4 and its charger is not working while I was using it few days before and it was working properly now it says that the cable does not support this Ipad Please Help me out.

    Hello I am using Ipad 4 and its charger is not working while I was using it few days before and it was working properly now it says that the cable does not support this Ipad Please Help me out.

    Try a reset:
    - Hold the home button and sleep/wake button down at the same time. When the Apple logo appears release both buttons then try and charge again.
    If issue persists try:
    - Another known working cable
    - Check the charging port for any damage or debris
    - You could also use a dry soft bristle toothbrush and gently brush it on the port to clean it of any debris that could be in there

  • HT1937 I have an iphone bought in the UK but I'm in Europe and can not use it I need help please help me thanks

    I have an iphone bought in the UK but I'm in Europe and can not use it I need help please help me thanks

    wiliiam rrichard wrote:
    Because My iphone is Locked on the United Kingdom
    No it is not.  iPhones, like all cell phones are not locked to countries.  They are locked to carriers.
    Only the carrier to whom the device is locked can unlock it.  Contact the carrier.

  • Installed itunes, checked in, I try to download free applications out the window: this Apple ID has not yet been used with the iTunes Store. But the mail I receive, that I'm registered, and I have an Apple ID, please help find out!

    installed itunes, checked in, I try to download free applications out the window: this Apple ID has not yet been used with the iTunes Store. But the mail I receive, that I'm registered, and I have an Apple ID, please help find out!

    Diana,
    This could be a delay while internal service records were updated. Check it out again - is it okay for now?

  • AirPort can"t be installed on this disk. The version of Mac OS X on this volume is not supported. Can anyone help me out?

    AirPort can"t be installed on this disk. The version of Mac OS X on this volume is not supported. Can anyone help me out?

    Can you clarify what exactly you are trying to do that generates this message?
    IF....you might be trying to install AirPort Utility on your Mac....you already have the most recent version on your Mac.....and you cannot install an earlier version than you already have.
    Check Finder > Applications > Utilities > AirPort Utility

  • My ipod touch 5th gen. 16gb ios 8.1.2 wont turn on, i press the power button and nothing happens, and my home button doesnt work, PLEASE HELP ME OUT!!!

    My ipod touch 5th gen. 16gb ios 8.1.2 wont turn on, i press the power button and nothing happens, and my home button doesnt work, PLEASE HELP ME OUT!!!

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • TS3798 I get this error message"your operation could not be completed" I need help figuring out why I can not access the web page.

    I get this error message"your operation could not be completed" I need help figuring out why I can not access the web page.

    amarilysfl wrote:
    "Your disk could not be partitioned. An error occurred while partitioning the disk".
    https://www.apple.com/support/bootcamp/
    If you were using Apple's BootCamp and received this message, quit it and open Disk Uility in your Applicaitons/Utilities folder.
    Select the Macintosh HD partition on the left and select Erase and Erase Free Space > Zero option and let it complete (important) this will check the spare space for bad sectors that can cause issues formatting partitions.
    Once it's completed, try creating a partiton again in BootCamp.
    If that doesn't work, then hold command option r keys down while connected to a fast internet connection, Internet Recovery should load (spinning globe) and then in that Disk Utility, select your entire internal drive and click > First Aid > Repair Disk and Permissions.
    reboot and attempt Bootcamp again.
    If you still get a error, it might be that you have OS X data on the bottom area where BootCamp partition needs to go. This would occur if you had the drive or computer for a long time or wrote a large amount of files to the drive and nearly filling it up and then reduced some, but it left traces in the area BootCamp needs to go.
    To fix this
    BootCamp: "This disc can not be partitioned/impossible to move files."
    How to safely defrag a Mac's hard drive

  • I try to connect my iPhone to my mercedes 2008 e 350 and it said insert phone would anybody help me out?

    i try to conect my iphone to my mercedes 2008 e 350 and it said insert phone would anybody help me out ?

    same problem here as well

  • Hi, I don't have sound on my MacBook Air and the Mail program never respond, please help me out!

    Hi, I don't have sound on my MacBook Air and the Mail program never respond, please help me out!

    Hi Mr. Shahid,
    Thanks for visiting Apple Support Communities.
    Start with the troubleshooting tips in this article if you don't hear sound from your MacBook Air:
    OS X Mavericks: If you can’t hear sound from your speakers
    http://support.apple.com/kb/PH13841
    Best,
    Jeremy

Maybe you are looking for