To get Current BP number

HI All,
I need find last bp Number that is created.Is there any function module or table available to get this.

Hi,
Use the following to get the last partner created.
data: partner type but000-partner.
get PARAMETER ID 'BPA' FIELD partner .
But this will only give the one's created by UI.
Thanks and warm regards,
Smita.

Similar Messages

  • IS-U print workbench - User exit - to get current page number

    Hi,
    I have a doubt in IS-U print workbench where in I need to get the current page number which is being processed inside the user exit of the application form.
    I have a user exit called Z_EXIT_150 and here I have a subroutine which is inside the LOOP DOC_ITEM …ENDLOOP.
    Inside the subroutine, I need to get the current script page number.
    There is an option of getting the current page as &PAGE& inside the Script but I need to know the page number inside the exit.
    Do you have any idea of getting the current page number?
    Thanks and Regards,
    Sakthi.

    Hi Sakthi,
    I have also had this problem while working in IS-U Print Workbench but was also unable to solve.  I tried looking into the output_text that is called when reaching an object that references SAPSCRIPT-FORMPAGES but I too could not find a way to save PAGE to a variable for later use.
    The only idea I can think of, although I have not tried, would be to place some sort of counter variable in the BUILD_DOCUMENTS and increment the counter each time there is a successful printout of a header logo or some other object that you expect to see printed on each new page - that way maybe you can determine later in the exit processing what page # you are currently in. 
    I hope this has helped some.  I would be really interested to hear if someone else has a solution of how to access items in the SAPSCRIPT structure from outside of the SAPscript code.
    Regards,
    Geoff

  • Get Current page number of PDF file

    Hi,,
    I am using acrobat plugin(SDK) in VB.Net while am nevigating in the
    PDF file i want get the current viewing page number of that
    PDF file and Display in Lable/Text....
    In abouve screenshot am marked the SDK display page number that i want read by VB.NET and display in my application..

    ..... perhabs in connection with this;
    http://forums.adobe.com/message/4587057#4587057
    However, full Adobe Acrobat is needed for both (not Reader only).
    HTH, Reinhard

  • Get current step number and handling max steps exceptions

    We are using IPCC Express Premium 4.0.4 and would like to know:
    1. Is it possible to determine the execution number for the current step? For example, x number of steps have been executed up until a certain point in the script. Possibly via a Set step using Java or a DB Read step?
    2. When the system parameter "Max Number of Executed Steps" limit has been reached the exception "com.cisco.wfframework.obj.WFMaxExecutedStepsExceededException" exists within the CRS Engine MIVR log. This exception does not exist within the available exceptions list in the "On Exception Goto" step. Is there a way that we can intercept this specific exception or will we have to use the "com.cisco.app.ApplicationTaskInactiveException" exception instead?
    We have been experiencing stuck Reserved agents and periodic callers stuck in queues, which has been occurring due to the maximum number of executed steps being exceeded. We have increased our "Max Number of Executed Steps" parameter from 1,000 to 2,500 for the time being and we may need that higher still.
    Our script has a lot going on after every 30secs of hold music....to determine if notification pages/emails need to be sent out to Help Desk staff due to long wait times, or to play updated status prompts only when appropriate....to name a couple. To our knowledge we have made things as efficient as possible (using Sessions) and we will be making a few more tweaks, but nowhere near enough to stay under the default 1,000 limit.
    I asked question # 1 to help us better assess what our step execution counts are for different logic scenarios, rather than manually trying to count the steps within our script. I asked question # 2 so that we can send pages/emails to ourselves if a WFMaxExecutedStepsExceededException exception does occur and include the phone number of the caller who would have ended up not getting through so we can call them back not long after.
    Thank you for any info you can provide!
    Tom

    I'll try and answer the issues in this thread in turn:
    "1. Is it possible to determine the execution number for the current step? For example, x number of steps have been executed up until a certain point in the script. Possibly via a Set step using Java or a DB Read step?
    2. When the system parameter "Max Number of Executed Steps" limit has been reached the exception "com.cisco.wfframework.obj.WFMaxExecutedStepsExceededException" exists within the CRS Engine MIVR log. This exception does not exist within the available exceptions list in the "On Exception Goto" step. Is there a way that we can intercept this specific exception or will we have to use the "com.cisco.app.ApplicationTaskInactiveException" exception instead? "
    ----->Sadly this is not in the On Exception Goto step. Several people have commented on this to Cisco and I would recommend you join the crowd. Talk to your Cisco Account Manager. If you are a partner, submit a well thought out request to [email protected].
    "Our script has a lot going on after every 30secs of hold music....to determine if notification pages/emails need to be sent out to Help Desk staff due to long wait times, or to play updated status prompts only when appropriate....to name a couple. To our knowledge we have made things as efficient as possible (using Sessions) and we will be making a few more tweaks, but nowhere near enough to stay under the default 1,000 limit. "
    ----->You should be using sub flows for this type of work. Sub flows are a separate script and as such, have their own maximum step count each time you call them. Put all of this extra logic into a separate script and call it each iteration through the queued loop.
    "In most of the cases,you should not hit the 1000 step limit unless there's a loop in the script."
    ----->Exceeding this is not recommended by Cisco as it increases the amount of memory being used by each script instance. I would proceed with a great deal of caution.
    "I want to check to see if the caller pressed 1 (to leave a message type functionality) anytime during the queue loop. Not just when a delay expires and a prompt is played. This easily exceeds the default max steps. "
    ----->The common way of doing this is uploading a WAV of your music on hold to the prompt repository and then using a Get Digit String step with the MoH WAV file as the prompt for it. This allows the caller to press it at the IVR is essentially always waiting for a DTMF digit. You can use Match or If statements within the Success branch to determine if they pressed the correct digit.
    "Where I can make the max steps very large ?
    I am using CRA3.5.
    Please help ASAP,
    Thanks"
    ----->Again, not recommended! You can almost certainly break your script into appropriate functional components and use subflows to drastically reduce the likelihood of hitting the maximum.

  • Get Current session number in J2ee

    Hi
    we developed a new application using J2EE with JDeveloper 10.1.3 , the
    application deployed to Oracle Application server 10.1.3 , How can i get the
    current number of JDBC connection and the number of session in my
    application , i want to make a check in the application ( login page ) to the
    number of the connection so that i can display a message to the client (
    like come back later , ) which is better to check the http session number or
    the database connection (JDBC) , any suggestion????????????
    Thank's in advance

    Hi,
    the session is instance specific and wont give you any information about the number of parallel sessions. Same for the connection. What you can do is to write a bean that you put in application scope and that you use as a counter. All application instances will have access to it. So each new launched application will add +1 to the counter. However, you will need to sort out how to detect when a client disconnects to clean up the counter with a -1
    Frank

  • Beginner Question: Get current Week Number with Token API

    Is it possible to get the current week (1-52) with the token API?
    I searched the gwtokens.pdf for a suitable method, but haven't found
    something that fit my needs.
    Any idea/suggestion?
    Thank's in advance for your help.

    test wrote:
    > current week
    Use the windows api, or build in functions of the language you code in
    Tommy Mikkelsen
    IT Quality A/S, Denmark
    Novell Support Forums SYSOP / NKP
    Sorry, but no support through email
    Please join http://www.open-horizons.net

  • Is there a way go get the item number of the current item?

    In an item with multiple instances: Is there a way to get the item number of the current item? If for instance, I am on the 3rd item, is there some kind of “GET CURRENT RECORD NUMBER” built-in that would return a ‘3' to the program?
    Thanks
    Edited by: WayneFMcKinstry on Apr 9, 2010 10:50 AM

    If i am getting you correctly that in tabular item you want to know the current record or current item you can try this...
    For current record
    :SYSTEM.CURSOR_RECORD;
    or
    :SYSTEM.CURRENT_RECORD;for current item
    :SYSTEM.CURSOR_ITEM;-Ammad

  • Statusbar displaying current line number?

    Hi,
    I am building a swing application where I have one text editor and one status bar. I want to display current line no in status bar. I tried with getCaretPosition() but it does not returns line number, is there any other way to get current line number to display it on status bar? Thanks.

    is there any other way to get current line number Did you search the forum?
    How about the keywords "current line number", taken directly from your question. So you can see its really not that hard to think of keywords to use in a search.

  • How to get the current month number

    Hi everyone,
    Does anybody know how to get the current month number in Oracle Discoverer Worksheet calculation?
    I try to use EUL_DATE_TRUNC(CURRENT_DATE, 'MM'), but instead I got 01-AUG-00.
    If I change the data display format to MM, it will give me "08" but if I use TO_NUMBER function to convert it to number I get error "invalid number"
    Is there anyway to get the current month value in number? Thanks

    Scott,
    Thank you so much! It works perfectly! :)
    Hope you have a great day ahead!
    Cheers,
    Angeline

  • How to get the footage's current frame number in expression?

    There are 2 layers.One is text layer,one is sequence layer.
    Footage has begun from the 20th frame.
    Therefore, the number of composition's current frame number and footage's frame number has shifted.
    I want to show footage's frame number in text layer . not composition's frame number.
    How to get the footage's current frame number in expression?
    Tatsuya

    >Footage has begun from the 20th frame.
    Do you mean that the footage layer has been trimmed (so that the start of the footage lines up with the start of the comp, but the first 19 frames are not visible), or moved to the left (so that frame 20 lines up with the comp's frame 0), or that the sequence actually begins with the 20th frame (at frame 0 of the comp), or something else?
    Are the frame rates of the comp and the footage the same?
    Dan

  • To get Current Business Partner number In BADi

    Hi All,
    In Tcode BP (for creating Business Partner) i am using BADi  'BUPA_GENERAL_UPDATE'. In this i want get Current Business partner No Assigned for the current Creation process.Suggest me how to get Current Businees Partner no assigned or current creation.
    (Actually in the program wher this BADi is calling there is internal table mem_but000 which has the but000 details incluiding what Business partner number assigned for current creation.Is it possible to get details from this itab in my BADi implementation Method.)

    Hi,..
    U can use field symbols and get the values of the internal table into ur BADI
    FIELD-SYMBOLS: <fs_wa> TYPE table .
    UNASSIGN <fs_wa>.
    ASSIGN ('(program name)mem_but000 ') TO <fs_wa> .
    program name is the name of the program where this internal table mem_but000 is having data..
    U will get all the entries of the internal table in field symbol..
    decalre internal table like mem_but000 and assign the filed symbol data into internal table .
    IF sy-subrc EQ 0.(sy-subrc check for the assign statement)
    t_mem_but000  = <fs_wa>.
    endif.
    regards
    Sheeba

  • When drag current slide number not getting using this variable containerMC.rdinfoCurrentSlide;

    Hi
    I have made the simulation using Captivate 4 and published the project in Flash Player 8. This swf file, I have loaded in the flash and I have made my custom progress bar in flash 8 for it. When I drag rapidly, some time, I not getting the current slide number using this variable containerMC.rdinfoCurrentSlide;
    Do you have any idea why this is happing

    Hi Ravi,
    to change the title dynamically, you need to redefine the Methode:
    IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION in your main component overview.
    go through this code and modify as per your requirement.
    DATA lv_bp_number TYPE string.
       DATA: lr_cucobupa    TYPE REF TO cl_crmcmp_b_cucobupa_impl.
       TRY .
           lr_cucobupa ?= get_custom_controller( if_iccmp_global_controller_con=>cucobp ).
         CATCH cx_sy_move_cast_error.
           RETURN.
       ENDTRY.
       description = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_IC_APPL/IDENTIFY_CUSTOMER' ).
       IF lr_cucobupa->is_bp_search_done( ) EQ abap_true.
         lv_bp_number = lr_cucobupa->typed_context->customers->get_s_struct( attribute_path ='STRUCT.BP_NUMBER' component = 'BP_NUMBER') .
         IF lv_bp_number IS NOT INITIAL.
           CONCATENATE lv_bp_number ')' INTO lv_bp_number.
           CONCATENATE description '(ID:' lv_bp_number INTO description SEPARATED BY space.
         ENDIF.
       ENDIF.
    Thanks & Regards,
    Srinivas

  • TableView -- get the row number of the top most current visible row

    Is there any way to get the row number of the top most visible row, and or bottom most visible row in TableView?

    If you already know the document's name, the sheet's name and the table's name, the easy way is :
    --Here you may replace the three values by the current ones
    set dName to 1
    set sName to 1
    set tName to 1
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    tell first cell of the selection range to set {rowNum1, columnNum1} to {address of its row, address of its column}
    tell last cell of the selection range to set {rowNum2, columnNum2} to {address of its row, address of its column}
    end tell
    Yvan KOENIG (VALLAURIS, France) mercredi 9 février 2011 17:22:21

  • I can't get the row number of the current selection

    Hi all,
    How can I get the row number of a selection if I don't know the range selected? I need it to store in variable.
    I've tried in many ways, but unsuccesfully.
    Thank's in advance.

    If you already know the document's name, the sheet's name and the table's name, the easy way is :
    --Here you may replace the three values by the current ones
    set dName to 1
    set sName to 1
    set tName to 1
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    tell first cell of the selection range to set {rowNum1, columnNum1} to {address of its row, address of its column}
    tell last cell of the selection range to set {rowNum2, columnNum2} to {address of its row, address of its column}
    end tell
    Yvan KOENIG (VALLAURIS, France) mercredi 9 février 2011 17:22:21

  • Get current weblogic version number

    Hi.
    I want as much as possible information from current ADF application instance. I know how to get ADF Faces version, User agent, Skin, Session ID, Java version,... I don't know hot to get current application's server version and name.
    Any ideas?
    10x
    Regards

    It is old but still working:
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.text.DateFormat;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.Properties;
    import javax.servlet.*;
    import javax.servlet.http.*;
    /*http://127.0.0.1:7101/yourwebappname/servlet/SuperSnoop*/
    public class SuperSnoop extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html; charset=UTF-8";
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    private String makeTitle( String title )
    return new String("<H2>"+title+"</H2>\n");
    private String showRequestParams( HttpServletRequest request )
    StringBuffer sb = new StringBuffer(512);
    Enumeration e = request.getParameterNames();
    String key = null;
    String value = null;
    sb.append(makeTitle("Request Parameters"));
    sb.append("<table>");
    while( e.hasMoreElements() ){
    key = (String)e.nextElement();
    value = request.getParameter(key);
    sb.append( makeRow( key, value ));
    sb.append("</table>");
    return sb.toString();
    private String showInitParams() {
    StringBuffer sb = new StringBuffer(512);
    ServletContext context = getServletContext();
    Enumeration e = context.getInitParameterNames();
    String key = null;
    String value = null;
    sb.append(makeTitle("Initialization Parameters"));
    sb.append("<table>");
    while( e.hasMoreElements() ){
    key = (String)e.nextElement();
    value = context.getInitParameter(key);
    sb.append( makeRow( key, value ));
    sb.append("</table>");
    return sb.toString();
    private String showServletContextInfo()
    StringBuffer sb = new StringBuffer(512);
    ServletContext context = getServletContext();
    sb.append(makeTitle("Servlet Context"));
    sb.append("<table>");
    sb.append( makeRow( "Server Info", context.getServerInfo()));
    sb.append( makeRow( "Servlet Context Name", context.getServletContextName()));
    sb.append( makeRow( "Real Path", context.getRealPath("/")));
    sb.append("</table>");
    return sb.toString();
    private String showContextAttributes() {
    StringBuffer sb = new StringBuffer(512);
    ServletContext context = getServletContext();
    Enumeration e = context.getAttributeNames();
    String key = null;
    String value = null;
    sb.append(makeTitle("Servlet Context Attributes"));
    sb.append("<table>");
    while( e.hasMoreElements() ){
    key = (String)e.nextElement();
    value = context.getAttribute(key).toString();
    sb.append( makeRow( key, value ));
    sb.append("</table>");
    return sb.toString();
    private String showSysProps() {
    StringBuffer sb = new StringBuffer(512);
    Properties p = System.getProperties();
    Enumeration e = p.propertyNames();
    String key = null;
    String value = null;
    sb.append(makeTitle("System Properties"));
    sb.append("<table>");
    sb.append(makeRow("System Time", today() ));
    while( e.hasMoreElements() ){
    key = (String)e.nextElement();
    value = p.getProperty( key );
    sb.append( makeRow( key, value ));
    sb.append("</table>");
    return sb.toString();
    private String showHeaders( HttpServletRequest request ) {
    StringBuffer sb = new StringBuffer(512);
    Enumeration e = request.getHeaderNames();
    String key = null;
    String value = null;
    sb.append( makeTitle("Request Headers"));
    sb.append("<table>");
    while( e.hasMoreElements() ){
    key = (String)e.nextElement();
    value = request.getHeader(key);
    sb.append( makeRow( key, value ));
    sb.append("</table>");
    return sb.toString();
    private String showRequestInfo(HttpServletRequest request) {
    StringBuffer sb = new StringBuffer(512);
    sb.append(makeTitle( "Request Info"));
    sb.append("<table>\n");
    sb.append( makeRow( "ContextPath", request.getContextPath() ));
    sb.append( makeRow( "Method", request.getMethod() ));
    sb.append( makeRow( "RequestURL", request.getRequestURL().toString()));
    sb.append( makeRow( "ServletPath", request.getServletPath() ));
    sb.append( makeRow( "CharacterEncoding", request.getCharacterEncoding() ));
    sb.append( makeRow( "ContentType", request.getContentType() ));
    sb.append( makeRow( "RemoteAddress", request.getRemoteAddr() ));
    sb.append( makeRow( "RemoteHost", request.getRemoteHost() ));
    sb.append( makeRow( "Scheme", request.getScheme() ));
    sb.append( makeRow( "ServerName", request.getServerName() ));
    sb.append( makeRow( "ServerPort", Integer.toString(request.getServerPort()) ));
    sb.append("</table>\n");
    return sb.toString();
    private String makeRow( String left, String right ) {
    StringBuffer sb = new StringBuffer(128);
    sb.append( "<tr>\n" );
    sb.append( "\t<td>"+left+"</td>\n");
    sb.append( "\t<td>"+right+"</td>\n");
    sb.append( "</tr>\n" );
    return sb.toString();
    private String today()
    Date now = new Date();
    DateFormat dateFormatter = DateFormat.getDateTimeInstance();
    return dateFormatter.format( now );
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException,
    IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<title>SysProps Servlet</title>");
    out.println("</head>");
    out.println("<body>");
    out.println( today() );
    out.println( showHeaders(request) );
    out.println( showRequestInfo(request) );
    out.println( showRequestParams(request) );
    out.println( showServletContextInfo() );
    out.println( showContextAttributes() );
    out.println( showInitParams() );
    out.println( showSysProps() );
    out.println("</table>");
    out.println("</body>");
    out.println("</html>");
    out.close();
    public void doPost(HttpServletRequest request,
    HttpServletResponse response) throws ServletException,
    IOException {
    response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head><title>SuperSnoop</title></head>");
    out.println("<body>");
    out.println("<p>The servlet has received a POST. This is the reply.</p>");
    out.println("</body></html>");
    out.close();
    }

Maybe you are looking for

  • Can I or Will I be able to Create a Schedule??

    Hello all! I have finally finally "migrate" to Mail!! (from Entourage 2004) In Mail, I've created a new Mailbox "Forums" to store all my incoming notices of my posts/subscriptions etc of this Discussion, but I don't want to store them forever. In Ent

  • Acrobat Reader 11.0.9 has never started

    Hi ! Today after the closing of a pdf document with Acrobat Reader X, I received an offer to install Acrobat Reader XI. The installation didn't report any problem. When i click on the freshly installed icon, I see a window for about 1 second. It alwa

  • Dynamic Columns with dynamic header colspans

    Hi All, Our project requires creation of dynamic data table at runtime. Following are the requirements. 1.The number of columns and column headers should be dynamic. Basically the column headers are the Month names. 2.Some or All of the above display

  • I cant open my finder. It keeps on restarting

    I'm using a Macbook white with Mac OS X 10.5.8. now I desperately need a solution on how to get my finder working back fine again. I cant open it and that means, i cant open a single file on my macbook. plus, my desktop is clear. please help me on th

  • How to use NWDS to integrate BO?

    Hi,I want to use NWDS to integrate BO?Can some give me some reference material ? And I got a problem ,  the version of my NWDS is 7.0.12.Is this version support for intergration BO? Thanks.