How to get the Converted opportunities from the lead extension BO?.

Hi Experts,
In Sales lead after converting to opportunity, it will appear in opportunity sub facet in lead. How to get these opportunity in ABSL script file.
Technically: In opportunity business object what should i pass to get this converted opportunity from the extension Lead BO.
If i pass Account ID to the opportunity BO, i am getting more than one opportunities.
Can you please tell me what are the common and unique field to pass to opportunity BO for getting the corresponding opportunity from the lead extension BO.
Regards,
Vijay.

You have to convert your long string to a table of shorter strings.
There may be other ways, but one possibility is to use a loop to process you string.
while (there is something left)
   put the next e.g. 1024 characters in a new row of your table
endwhile
If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

Similar Messages

  • How to get the leading zeros for decimal values?

    Hi,
      How i wil get the leading zeros for decimal values.For CONVERSION_EXIT_ALPHA_INPUT it is not working.Now iam using overlay condition for getting leading zeros.But iam getting the value like 00013.500.But as per my requirement i want to display this value 0000013.5.
    my code is
                    overlay w_MetLife_detail-rdempsalary with '000000000'
                    data :rdempsalary     type char9
    Please help me on this.
    Regards,
    Sujan

    Hi
    For more info,
    The function of the statement UNPACK is based on the fact, that the BCD display of a decimal place corresponds to the second half-byte of code of a digit in the most character representations. This conversion is commonly called "unpacking".
    The statement PACK to pack is obsolete and can be replaced by MOVE.
    If destination is specified as untyped field symbol or as untyped formal parameter and is not flat and not character-type during execution of the statement, then an untreatable exception occurs in Unicode programs. In non-Unicode programs, an exception occurs only with deep types, whereas flat types are treated as character-type types.
    Example
    After the assignments,char1 and char2 contain the values "123.456" and "0000123456".
    DATA: pack  TYPE p LENGTH 8 DECIMALS 3 VALUE '123.456',
          char1 TYPE c LENGTH 10,
          char2 TYPE c LENGTH 10.
    MOVE   pack TO char1.
    UNPACK pack TO char2.
    Regards

  • How to get the response of a vbscript ran from extended js?

    Hi All,
    I  want to get the result from a vbscript, how to get that in my jsx? This is what I'm doing-
    vbscript (this will return me something, i've added just a sample string)
    Wscript.Echo "Like this?"
    jsx
    var a = File("C:\\Users\\Sahil\\AppData\\Roaming\\CreativeWorx\\1.vbs");
    var b=a.execute();
    Now, variable b returns me true/false; and the output i.e. "Like this?"  is alerted! So my question is-
    1. How to get the output in a variable?
    2. How to avoid the alert
    So, I simply wish to get the output from my vbscript and then perform certain functions accordingly, alos, I dont want  this to be alerted!
    Any help will be highly appreciated!

    The capitalization is app.doScript and not app.doscript that is if you are trying to get a jsx script to run and access a string from from a vbs script.
    When defining the VBscript for multiline scripts the easiest method is to use triple quotes
    VBscript = """dim WMI:  set WMI = GetObject("winmgmts:\\.\root\cimv2")
    dim Nads: set Nads = WMI.ExecQuery("Select * from Win32_NetworkAdapter where physicaladapter=true")
    dim nad
    for each Nad in Nads
        if not isnull(Nad.MACAddress) then Wscript.Echo Nad.description, Nad.MACAddress  
    next"""
    when using the scriptArgs you can either make a loop of them and send the string value of each one something like this
    For (n = 0 .........
    myArg = "myArg" & n
    myStringToPassOver = "Shaddow Fax " & n
    app.scriptArgs.SetValue myArg, myStringToPassOver
    Next
    or probably better to make a long comma or something else separated string and pass it over after the loop
    var VBScript = """myArg = ""
    For n = 0 To 15
    myArg = myArg & "Shaddow Fax " & n & ","
    Next
    app.scriptArgs.SetValue "myResult", myArg
    app.doScript(VBScript, ScriptLanguage.visualBasic);
    var myResult = app.scriptArgs.getValue("myResult").replace(/\,$/,"").split(",");
    // if neaded use "replace" to remove final "," and "split" to convert into an array
    alert(myResult.join("\r")); // alert the array
    The above script is a jsx script that runs a vbs
    If you want a vbs script to run and access a string from from a jsx script then you would use xxx.DoScript see the sample from the manual below.
    Set myInDesign = CreateObject("InDesign.Application")
    myJavaScript = "alert(""First argument: "" + arguments[0] + ""\rSecond argument: "" +
    arguments[1]);"
    myInDesign.DoScript myJavaScript, idScriptLanguage.idJavascript, Array("Hello from
    DoScript", "Your message here.")
    myVBScript = "msgbox arguments(1), vbOKOnly, ""First argument: "" & arguments(0)"
    myInDesign.DoScript myVBScript, idScriptLanguage.idVisualBasic, Array("Hello from
    DoScript", "Your message here.")
    P.s.Please mark the question as answered, thanks

  • How to get the opportunities linked to a  BP who is logged in?

    Hi,
        How to get the opportunities linked to a BP who is logged in mean the user who is logged in?
    Regards,
    Jaya

    Hi,
    I understand the question as follows:
    You want to get a list of opportunities that are assigned to the logged in user.
    You can get the USER -> BP assignment from table HRP1001.
    Then use the standard opportunity search to get the Opportunities.
    cheers Carsten

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • I downloaded and bought a movie from iTunes on my iPad and now want the same movie on my MacBook Pro but its not offering me to download it, it giving me the options of buying it which I already did. How I get the movie onto my MacBook?

    I downloaded and bought a movie from iTunes on my iPad and now want the same movie on my MacBook Pro but its not offering me to download it, it giving me the options of buying it which I already did. How I get the movie onto my MacBook?

    You can connect the iPad to your Mac's iTunes and do File > Devices > Transfer Purchases, that should copy it over to the Movies part of your library.
    Depending upon what country that you are in, and whether the film studio allows it, you might also be able to re-download it on your Mac via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page.

  • How to get the value from a JavaScript and send the same to Java file?

    Hi.
    How to get the value from a JavaScript (this JS is called when an action invoked) and send the value from the JS to a Java file?
    Thanks and regards,
    Leslie V

    Yes, I am trying with web application.
    In the below code, a variable 'message' carries the needed info. I would like to send this 'message' variable with the 'request'.
    How to send this 'message' with and to the 'request'?
    Thanks for the help :-)
    The actual JS code is:
    function productdeselection()
    var i=0;
    var j=0;
    var deselectedproduct = new Array(5);
    var message = "Are you sure to delete Product ";
    mvi=document.forms[0].MVI;
    mei=document.forms[0].MEI;
    lpi=document.forms[0].LPI;
    if(null != mvi)
    ++i;
    if(null != mei )
    ++i;
    if(null != lpi)
    ++i;
    if(null != mvi && mvi.checked)
    deselectedproduct[++j]="MVI?";
    if(null != mei && mei.checked)
    deselectedproduct[++j]="GAP?";
    if(null != lpi && lpi.checked)
    deselectedproduct[++j]="LPI?";
    if( 0!=j)
    if(i!=j)
    for (x=0; x<deselectedproduct.length; x++)
    if(null != deselectedproduct[x])
    message =message+ "-" +deselectedproduct[x];
    alert(message);
    else
    //alert(" You cannot remove all products!");
    return false;
    return true;
    }

  • How to get the value from databank

    Hi,
    How to get the value from databank? and how to set the same value to visual script object?
    thanks,
    ra

    Hi,
    You can use GetDatabankValue(HeaderName, Value) to get the value from databank and SetDataBankValue(HeaderName, Value) to set the value to databank.
    You can refer to the API Reference to see list of associated functions and techniques we can use with related to Data Bank.
    This is the for OFT but if you are using Open Script then you have direct access for getting the databank value but when it comes to setting a value you have to use File operation and write you own methods to do the set operation.
    Thanks
    Edited by: Openscript User 100 on Nov 13, 2009 7:01 AM

  • How to get the value from Advanced table

    Hi,
    In the Advanced table have 2 LOV fields, I need LOV field value dynamically in the controller to validate the save button, if iam not selected any value in lov save button will not allow to save the data. In the table i am using 'Add another row'. How to get the lov field value in the process form request??? and how to do this requirement
    Thanks
    Naresh

    1. You can specify required property on LOV field to "yes". For events where you wish to disable the client side validations, set the property disable client side validation to "true".
    2. If above behavior is not what you are looking for, then you need to handle in AM and not CO.
    a. Call an AM method from CO.
    b. In that AM method, get handle of VO.
    c. Iterate the VO Rows and check for your validation rules.
    -Prince
    http://www.princekapoor82.blogspot.com

  • How to get the values from html:select? tag..?

    i tried with this, but its not working...
    <html:select styleClass="text" name="querydefs" property="shortcut"
                 onchange="retrieveOptions()" styleId="firstBox" indexed="true">
    <html:options collection="advanced.choices" property="shortcut" labelProperty="label" />
    </html:select>
                        <td align="left" class="rowcolor1">
                        <script language="javascript" type="text/javascript">
                              function retrieveOptions(){
                             var sel = document.querydefs.options;
                             var selectedOption = sel[sel.selectedIndex].value;
                             document.write(selectedOption);
                           </script>

    <td align="left" class="rowcolor1">
                        <script language="javascript" type="text/javascript">
                              function retrieveOptions(){
                             var sel = document.querydefs.options;
                             var selectedOption = sel[sel.selectedIndex].value;
                             document.write(selectedOption);
                           </script>This java script is not working at all..its not printing anything in document.write();
    This is code..
    <td class="rowcolor1" width="20%">
    <html:select styleClass="text" name="querydefs" property="shortcut"
                             onchange="retrieveSecondOptions()" styleId="firstBox"
                             indexed="true">
                             <html:options collection="advanced.choices" property="shortcut"
                                  labelProperty="label"  />
                        </html:select>i tried with this also. but no use..i'm not the getting the seleced option...
    function retrieveOptions(){
    firstBox = document.getElementById('firstBox');
                             if(firstBox.selectedIndex==0){
          return;
        selectedOption = firstBox.options[firstBox.selectedIndex].value;
    }actually , how to get the values from <html:select> ...?
    my idea is to know which value is selected from the combo box(<html:select> ) if that value is equal some string i have enable a hyperlink to open a popup window

  • How to get the values from fileds

    Dear All,
    Good Afternoon,
    I want to set the 0 value to the fields at the time of page loading.
    For this,
    i tried the following ways
    pageContext.putParameter("fieldid",0);
    and
    OAMessageTextInputBean bean1=(OAMessageTextInputBean) webBean.findChildRecurssive("fieldid");
    bean1.setValue(pageContext,0)
    for getting the values i used
    String id=pageContext.getParameter("fieldid");
    but i returns null values only while it has 0 value.
    how can get the 0 value from that field

    Hi,
    In order to set values you should use:
    OAMessageTextInputBean bean1=(OAMessageTextInputBean) webBean.findChildRecurssive("fieldid");
    if(bean1!=null)
    bean1.setText("0");
    and in order to grab the values from the fields
    String id=(String)pageContext.getParameter("fieldid");
    Thanks,
    Gaurav

  • How to get the values from struct data type using java code..?

    Hi ,
    I am newer to java.
    we are using oracle database.
    How to get the data from struct data type using java code.
    Thanks in Advance.
    Regards,
    kumar

    Hi Rajeev,
    To retrieve a FilterContainer you will need to traverse the report structure:
    ReportStructure boReportStructure = boDocumentInstance.getStructure();
    ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
    FilterContainer boFilterContainer = null;
    if (boReportContainer.hasFilter()) {
         boFilterContainer = boReportContainer.getFilter();
    } else {
         boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
    Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
    Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
    Hope this helps.
    Regards,
    Dan

  • How to get the values from profileFormHandler

    Hi,
    here i have problem with how to get the values after setting the values to that , how i have to call repository, what repository i've to call?

    When you are setting values, check the repository(getRepository()) from which mutable repository item is created. Go to that class .properties file and check the repository mapping.
    -karthik

  • How to get the values from repeated frame?.

    Hi
    how to get the values from repeated frame?. i have to disply the first 3 digits in another place in my report.
    i have field empno in repeated frame and i want to disply first 3 digits in another place in the same report.
    thanks

    How often do you need to display it? It sounds like you might want to base a summary on that formula with a function of first or last. If it's a per page basis, it can be a page level summary. If it's at a higher level repeating frame, then you can create the summary at that level. I'd suggest taking a look at the online help for summaries using the first/last functions.
    Hope that helps,
    Toby

  • How to get the selected values from the shuttle

    Hi
    Please tell me how to get the selected option values from the shuttle leading list.
    Thanks

    you can also obtain the option values present in the leading and trailing lists using the
    following methods:
    public String[] getLeadingListOptionValues(OAPageContext pageContext, OAWebBean
    webBean)
    public String[] getTrailingListOptionValues(OAPageContext pageContext, OAWebBean
    webBean)For example, the following code sample returns an array of values in the trailing list, ordered according to the
    order in which they appear in the list:
    String[] trailingItems =
    shuttle.getTrailingListOptionValues(pageContext, shuttle);Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Since moving to iCloud I can no longer all my mac addresses

    I have a mac family account but since moving to icloud I can no longer access them all, only my main account is available

  • Error ORA-01002: fetch out of sequence

    Hi all, I created 3 cursors. The scenario is like following : Begin Cur A Begin FOR xx IN Cur B LOOP Begin FOR xx IN Cur C LOOP End LOOP Cur C; commit; End LOOP Cur B; End Cur A; When i run the program its display error ORA-01002: fetch out of sequen

  • How Do you Copy Photo Albums to all devices over icloud

    So I have the following setup iPad 2, new iPad, iPhone 4s; and 2 windows computers. I have photostream enabled.  Photos sync across as they should however, If i place a photo in an album; I am wanting the album to be copied to the rest of the devices

  • Storing information

    Hi Folks, I've recently setup my website, can anyone tell me the best way to store snippets of text to display dynamically on a page? I dont really want to go down the database route, having to setup queries and tables. I would prefer something more

  • Oracle8.1.7 on win2k pro listener won't start on tcp/ip port

    I downloaded 8.1.7EE from oracle website and installed it OK. But does anyone know why the listenr is hanging when I try to start it up. Thanks LSNRCTL> status Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=NJB130WJIANG2)(PORT=1521 TNS-12541