Wrong Suggest of Businer partner code

I have a  problem in sales order with approval procedure and inactive business partner:
When im trying to enter an inactive  business partner code in the document, suggest me  this code and let me create the draft to be authorized. How i can disable this option of suggest.
Im working in SBO 8.8 pl15

Hi Fernando,
an inactive BP shouldn't be in the Choose-from- List  unless you are creating a payment document or the document has a posting date outside the inactive period as set in the BP master data (see 1411244 - Master Data Inactive/ Active Enhancements).
The behaviour you describe cannot be reproduced in 8.81 pl004 or 5, so the bug has been fixed already.
All the best,
Kerstin

Similar Messages

  • Business Partner Code when using *

    Hi all,
    In Business Partner code when the user want's to see all Business Partner and makes "*" appears the BP code, BP Name and Foreign Name.
    All user see this information except one that doesn't see the Foreign Name.
    Why?

    Hi Ad,
    Thank you for your reply.
    "Foreign Name" is already select in the Form Setting.
    You say that "This is a setting per user" but i dont think so. In Form Setting of the "List of Business Partners" i add "Account Balance" to one user and ALL users see the same information.
    Best regards,
    Augusto Silva

  • IPhoto '11 all wrong suggestions for faces

    I have plenty of photo's of me, my wife and my son in iPhoto. iPhoto just won't recognize all faces (it detects the face, but always makes the wrong suggestion), so I just keep adding the faces manually. Can this be solved. Faces worked muck better in iPhoto '09.

    Hi all,
    I'm experience the same things over here, When I originally loaded all my photo's in iPhoto 11, I was amased of the face recognition. But know a few months later, when I add new photo's to the library, iPhoto almost never proposes a name with a face.
    Does anyone has an idea how this can be fixed?
    Should I reset the faces by any means?
    Grtz,
    Mark

  • Mathing record with partner code else all recoreds shown in '+'

    SELECT t.dnd_id, t.dnd_no, t.dnd_size, t.dnd_type, t.dnd_iso_code,
    t.dnd_carrier, t.dnd_pool_code, t.dnd_hub, t.dnd_booking_no,
    (SELECT agt_area_agt_code
    FROM tab_mdl_agent_cont_area
    WHERE agt_area_hub_code = t.dnd_hub) vwagtcode, t.dnd_bl_no,
    t.dnd_release_order, t.dnd_ref, t.dnd_service, t.dnd_rec_country,
    t.dnd_rec_loc, t.dnd_del_country, t.dnd_del_loc, t.dnd_commodity,
    t.dnd_partner_code, t.dnd_eqp_group, t.dnd_move_start,
    t.dnd_move_start_dt, t.dnd_move_end, t.dnd_move_end_dt,
    t.dnd_date_diff, t.dnd_free_days, t.dnd_dem_days, t.dnd_dem_flag,
    t.dnd_demdet_amt, t.dnd_demdet_cur, t.cr_user, t.cr_dt, t.up_user,
    t.up_dt, t.cr_loc_dt, t.dnd_act_type, t.dnd_move_start_id,
    t.dnd_ref_group, t.dnd_move_end_id,
    ( TO_DATE (dnd_move_end_dt, 'DD/MM/RRRR')
    - TO_DATE (dnd_move_start_dt, 'DD/MM/RRRR')
    + 1 daydiff,
    dd_free_days, tariff_dd_ref, cc.dd_currency,
    TO_NUMBER (fn_demamt (tariff_dd_ref,
    ( TO_DATE (dnd_move_end_dt, 'DD/MM/RRRR')
    - TO_DATE (dnd_move_start_dt,
    'DD/MM/RRRR'
    + 1,
    dd_free_days
    ) amount
    FROM tab_thd_eqp_demdet t INNER JOIN tab_mdl_pool_dnd_parm bb ON t.dnd_pool_code = bb.dnd_pool_code
    AND t.dnd_act_type = bb.dnd_dem_type
    INNER JOIN tab_mhd_tariff_dnd_param aa ON aa.tariff_dnd_id = bb.dnd_id
    INNER JOIN tab_thd_eqp_demdet_tarif cc ON aa.tariff_dd_ref = cc.dd_ref
    AND (cc.dd_eqp_size = t.dnd_size OR cc.dd_eqp_size IN ('+'))
    AND (cc.dd_eqp_type = t.dnd_type OR cc.dd_eqp_type IN ('+'))
    _{color:#ff6600}AND (cc.dd_partner_code = t.dnd_partner_code_
    OR cc.ddpartner_code IN ('+')_
    _{color}_
    WHERE tariff_dd_ref IS NOT NULL
    ORDER BY cc.dd_currency, amount
    my table (tab_thd_eqp_demdet_tarif ) is
    DND_PARTNER_CODE ..............
    + ............
    AE00000054 .................
    This code shows the Data as below (marked in Red)
    DND_NO DND_PARTNER_CODE
    BAXU2587219 AE00000054
    BAXU2587219 '+'
    when the partner code matches with tab_thd_eqp_demdet_tarif column thenit should give the result of the matching data otherwise show
    the values matches with + (tab_thd_eqp_demdet_tarif column DND_PARTNER_CODE )
    Edited by: user2926377 on Nov 12, 2008 12:43 AM

    The problem is
    my select stament gives both resuls from where clause
    ie matching records and all those with '+' ie not matched records.
    what i require is
    if i find matching records then it should exit the select statment
    and if no matched records found from the where cluase then it should show records from where = '+'

  • Regarding Autogeneration of Business Partner Code.

    Dear All,
             I have a unique requirement. My client wants autogeneration of Business Partner Code in the Business Partner Master.
             Please guide me in regard to this.
    Regards
    Hitesh Parsawala

    We normally have customer code generated as 'C00001' then 'C00002' etc and Supplier or vendors as 'S00001' and 'S00002' etc. This requires the FMS on the BP Code to be a little more complicated but not over the top.
    DECLARE @MAXC as integer
    SET @MAXC=isnull((SELECT CAST(MAX(RIGHT(OCRD.CardCode,5))+1 AS INTEGER)
    FROM OCRD
    WHERE OCRD.CardType<>'S' AND Len(OCRD.CardCode)=6 AND OCRD.CardCode like 'C%'),1)
    DECLARE @MAXS as integer
    SET @MAXS=isnull((SELECT CAST(MAX(RIGHT(OCRD.CardCode,5))+1 AS INTEGER)
    FROM OCRD
    WHERE OCRD.CardType='S' AND Len(OCRD.CardCode)=6 AND OCRD.CardCode like 'S%'),1)
    --This will give you the next number then
    SELECT CASE
         WHEN $[OCRD.CardType]='C' THEN (SELECT DISTINCT CASE
         WHEN LEN(@MAXC)=5 THEN (SELECT 'C'  + CAST(@MAXC AS varchar) )
         WHEN LEN(@MAXC)=4 THEN (SELECT 'C' + '0' + CAST(@MAXC AS varchar))
         WHEN LEN(@MAXC)=3 THEN (SELECT 'C' + '00' + CAST(@MAXC AS varchar))
         WHEN LEN(@MAXC)=2 THEN (SELECT 'C' + '000' + CAST(@MAXC AS varchar))
         WHEN LEN(@MAXC)=1 THEN (SELECT 'C' + '0000' + CAST(@MAXC AS varchar))
        END FROM OCRD )
    WHEN $[OCRD.CardType]='L' THEN (SELECT DISTINCT CASE
         WHEN LEN(@MAXC)=5 THEN (SELECT 'C'  + CAST(@MAXC AS varchar) )
         WHEN LEN(@MAXC)=4 THEN (SELECT 'C' + '0' + CAST(@MAXC AS varchar))
         WHEN LEN(@MAXC)=3 THEN (SELECT 'C' + '00' + CAST(@MAXC AS varchar))
         WHEN LEN(@MAXC)=2 THEN (SELECT 'C' + '000' + CAST(@MAXC AS varchar))
         WHEN LEN(@MAXC)=1 THEN (SELECT 'C' + '0000' + CAST(@MAXC AS varchar))
        END FROM OCRD )
    WHEN $[OCRD.CardType]='S' THEN (SELECT DISTINCT CASE
         WHEN LEN(@MAXC)=5 THEN (SELECT 'S'  + CAST(@MAXS AS varchar) )
         WHEN LEN(@MAXC)=4 THEN (SELECT 'S' + '0' + CAST(@MAXS AS varchar))
         WHEN LEN(@MAXC)=3 THEN (SELECT 'S' + '00' + CAST(@MAXS AS varchar))
         WHEN LEN(@MAXC)=2 THEN (SELECT 'S' + '000' + CAST(@MAXS AS varchar))
         WHEN LEN(@MAXC)=1 THEN (SELECT 'S' + '0000' + CAST(@MAXS AS varchar))
        END FROM OCRD)
    END
    Try Shift-F2 on the BP code with this FMS

  • Change business partner code

    Hi All,
       I have a prospect who wants to have the business partner code of 20 characters, as you may know 15 is the current. Do you know what is the best way to workaround this? He doesn't like the idea of using user defined fields.
    thanks to all
    Hector

    Hi Hector,
    You cannot change the length of the Business Partner Code (CardCode) field built into SBO. You need to use another field if that one is not good enough. You have various options and the best is probably to use a user-defined field. You can also use any other field on the BP Master Data which they don't use internally (like Foreign Name for example).
    Hope it helps,
    Adele

  • (1) Partner Code Invalid !

    Hi All,
    I have just came across a rather strange issue. When adding a Business Partner the system is retuning the following message
    (1) Partner Code Invalid !.  I have tried various combination of letters and numbers but cannot add a Business Partner.
    C-XXXXX
    CXXXXX
    12345
    System: B1 8.8 PL:20
    Any assistance would be greatly appreciated.
    Best regards
    Earl

    Hi,
      Post a message to SAP Support center.
    Regards
    Jambulingam.p

  • Changed to free suddenly from premium, partner code should still be valid

    I have a Spotify premium through a partner code bought through my work. My premium has now changed to free suddenly but I just got a new code last month which I entered and all was well until now. When I try to put the code in again it says it is not valid. I have tried downloading Spotify again, loggong in and out and still nothing. I go on honeymoon tomorrow and am facing 3 weeks with no beach music!

    Hello & welcome to the Community!
    Just to be sure, please head over to your account settings and verify it says you have an active Premium subscription.
    Let me know so I can give you further help :)
     

  • What's wrong with my DII client code?

    I have the following WSDL for my ASP/IIS web service...
    <?xml version='1.0' encoding='UTF-8' ?>
    <!-- Generated 10/31/03 by Microsoft SOAP Toolkit WSDL File Generator, Version 3.00.1325.0 -->
    <definitions
         name='DCIS'
         targetNamespace='http://ds_00119/DCIS/wsdl/'
         xmlns:wsdlns='http://ds_00119/DCIS/wsdl/'
         xmlns:typens='http://ds_00119/DCIS/type/'
         xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
         xmlns:xsd='http://www.w3.org/2001/XMLSchema'
         xmlns:stk='http://schemas.microsoft.com/soap-toolkit/wsdl-extension'
         xmlns:dime='http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/'
         xmlns:ref='http://schemas.xmlsoap.org/ws/2002/04/reference/'
         xmlns:content='http://schemas.xmlsoap.org/ws/2002/04/content-type/'
         xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
         xmlns='http://schemas.xmlsoap.org/wsdl/'>
         <types>
              <schema
                   targetNamespace='http://ds_00119/DCIS/type/'
                   xmlns='http://www.w3.org/2001/XMLSchema'
                   xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
                   xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
                   elementFormDefault='qualified'>
                   <import namespace='http://schemas.xmlsoap.org/soap/encoding/'/>
                   <import namespace='http://schemas.xmlsoap.org/wsdl/'/>
                   <import namespace='http://schemas.xmlsoap.org/ws/2002/04/reference/'/>
                   <import namespace='http://schemas.xmlsoap.org/ws/2002/04/content-type/'/>
              </schema>
         </types>
         <message name='DCIS.CTXD'>
              <part name='bstrUser' type='xsd:string'/>
              <part name='bstrPassword' type='xsd:string'/>
              <part name='bstrName' type='xsd:string'/>
              <part name='bstrAddress' type='xsd:string'/>
              <part name='bstrPhone' type='xsd:string'/>
         </message>
         <message name='DCIS.CTXDResponse'>
              <part name='Result' type='xsd:string'/>
         </message>
         <portType name='DCISSoapPort'>
              <operation name='CTXD' parameterOrder='bstrUser bstrPassword bstrName bstrAddress bstrPhone'>
                   <input message='wsdlns:DCIS.CTXD'/>
                   <output message='wsdlns:DCIS.CTXDResponse'/>
              </operation>
         </portType>
         <binding name='DCISSoapBinding' type='wsdlns:DCISSoapPort' >
              <stk:binding preferredEncoding='UTF-8'/>
              <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
              <operation name='CTXD'>
                   <soap:operation soapAction='http://ds_00119/DCIS/action/DCIS.CTXD'/>
                   <input>
                        <soap:body
                             use='encoded'
                             namespace='http://ds_00119/DCIS/message/'
                             encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
                             parts='bstrUser bstrPassword bstrName bstrAddress bstrPhone'/>
                   </input>
                   <output>
                        <soap:body
                             use='encoded'
                             namespace='http://ds_00119/DCIS/message/'
                             encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
                             parts='Result'/>
                   </output>
              </operation>
         </binding>
         <service name='DCIS' >
              <port name='DCISSoapPort' binding='wsdlns:DCISSoapBinding' >
                   <soap:address location='http://ds_00119/DCIS/DCIS.ASP'/>
              </port>
         </service>
    </definitions>
    and the following client code...
    import javax.xml.namespace.*;
    import javax.xml.rpc.*;
    import javax.activation.*;
    import javax.mail.*;
    import com.sun.xml.messaging.saaj.*;
    import java.net.*;
    import java.util.*;
    import java.rmi.*;
    public class DIIClient
         public static void main(String[] args)
              try
                   String namespace = "http://ds_00119/DCIS/wsdl/";
                   String endpointURL = "http://ds_00119/DCIS/dcis.asp";
                   String portName = "DCISSoapPort";
                   String functionName = "CTXD";
                   String[] paramNames = {"bstrUser","bstrPassword","bstrName","bstrAddress","bstrPhone"};
                   String[] paramValues = new String[] {"x","y","a","b","c"};
                   String xsdStringType = "<xsd:string>";
                   ServiceFactory factory = ServiceFactory.newInstance();          
                   Call call = factory.createService(new QName("DCIS")).createCall();
                   call.setTargetEndpointAddress(endpointURL);
                   call.setPortTypeName(new QName(namespace, portName));
                   call.setOperationName(new QName(namespace, functionName));
                   call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
                   call.setProperty(Call.SOAPACTION_URI_PROPERTY, "http://ds_00119/DCIS/");
                   call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "");
                   call.setProperty(Call.OPERATION_STYLE_PROPERTY, "rpc");
                   for(int i=0; i<5; i++)
                        call.addParameter(paramNames, new QName(xsdStringType),ParameterMode.IN);
                   call.setReturnType(new QName(xsdStringType));          
                   String returnValue = (String) call.invoke(paramValues);
                   System.out.println(returnValue);
              catch(Exception ex)
              ex.printStackTrace();
    when I run this I get:
    java.rmi.RemoteException: WSDLReader:The operation requested in the Soap message with soapAction http://ds_00119/DCIS/action/DCIS isn't defined in the WSDL file. This may be because it is in the wrong namespace or has incorrect case
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:369)
         at DIIClient.main(DIIClient.java:45)
    I've tried everything I can think of for the soapAction string and just can't get it to work. What am I doing wrong here?
    I know the service works because I've been using C++ and VB clients for months, but I need to get a Java client up and running soon.
    I've only been looking at Java WS clients for a day, so if anyone knows of a better way to do this then please tell me! I've tried 4 completely different implementations so far and none of them worked.
    Chris

    Dear Chris,
    The problem is in your code itself or the way u've created this web service.
    I'm sending you some sample code. Just change the values of variables and delete unwanted lines according to you. Just go step by step.
    Here is the code
    import javax.xml.rpc.Call;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.ParameterMode;
    public class DllClient {
    private static String qnameService = "IPSProv_pipeService";
    private static String qnamePort = "IPSProv_pipeIFPort";
    private static String BODY_NAMESPACE_VALUE =
    "urn:Foo";
    private static String ENCODING_STYLE_PROPERTY =
    "javax.xml.rpc.encodingstyle.namespace.uri";
    private static String NS_XSD =
    "http://www.w3.org/2001/XMLSchema";
    private static String URI_ENCODING =
    "http://schemas.xmlsoap.org/soap/encoding/";
    public static void main(String[] args) {
    System.out.println("Endpoint address = http://218.248.33.59:8080/ipsprovPipeService/provision?WSDL");
    try {
    ServiceFactory factory =
    ServiceFactory.newInstance();
    Service service =
    factory.createService(
    new QName(qnameService));
    QName port = new QName(qnamePort);
    Call call = service.createCall(port);
    call.setTargetEndpointAddress("http://215.246.33.59:8080/ipsprovPipeService/provision?WSDL");
    call.setProperty(Call.SOAPACTION_USE_PROPERTY,
    new Boolean(true));
    call.setProperty(Call.SOAPACTION_URI_PROPERTY,
    call.setProperty(ENCODING_STYLE_PROPERTY,
    URI_ENCODING);
    QName QNAME_TYPE_STRING =
    new QName(NS_XSD, "string");
    call.setReturnType(QNAME_TYPE_STRING);
    call.setOperationName(
    new QName(BODY_NAMESPACE_VALUE,"sp_mgmnt"));
    call.addParameter("String_1", QNAME_TYPE_STRING,
    ParameterMode.IN);
    call.addParameter("String_2", QNAME_TYPE_STRING,
    ParameterMode.IN);
    call.addParameter("String_3", QNAME_TYPE_STRING,
    ParameterMode.IN);
    call.addParameter("String_4", QNAME_TYPE_STRING,
    ParameterMode.IN);
    String[] params = { "A","B"};
    String result = (String)call.invoke(params);
    System.out.println(result);
    } catch (Exception ex) {
    ex.printStackTrace();
    Plz show me the code after u make changes in it and do reply whether it works or not.
    Regards,
    Piyush

  • Wrong logical system for partner profile

    Dear gurus,
    we have been sending ORDERS Idocs for some time now, using to a logical system called MSC_MM_PRD, a RFC connection called MSC_MM_PRD and a port for Idoc processing called A000000003.
    Now, we would like to send ORDERS Idocs to another logical system. We created that new logical system called MES001, a RFC connection (MES) and a Port for IDoc processing using that RFC destination (A00000004).
    After that we maintained a partner profile for the new logical system MES001 with outbound parameters for ORDERS Idocs. So far, so good.
    But then, I had to create a new message type for purchase orders to use that new connection (called ZEDI) and I guess that is where I made a mistake: I copied the existing message type for the old ALE connection and changed some parameters (like name etc.).
    Now, when I create a new purchase order and add a message of the new type and save the order, I get an error message:
    EDI: Partner profile outbound process code not available
    Message no. E0335
    Diagnosis
    An outbound partner profile could not be found with the following key:
    /MSC_MM_PRD/LS//EF/ZEDI//
    [u2026]
    Procedure
    Please check the outbound partner profiles for the assignment of the process code:
    As you can see, SAP tries to find an outbound partner profile using the old logical system (MSC_MM_PRD) and the new message type (ZEDI) as a key and obviously fails.
    Can anyone please tell me why SAP uses the old logical system and how I can change that?
    Cheers
    Alicia

    Hi,
    problem was, that we had not created a proper distribution model for the message type (BD64). After we did that, it worked fine.
    Cheers
    Alicia

  • Default Ageing Business Partner Report PLD by Busines Partner Type

    Hi Experts!
    I am hoping you can help me with a PLD query I have.
    I have two PLDs setup for the Business Partner Ageing Reports. 
    One PLD is for Debtors and contains a text field showing 'Debtor' and the other PLD is for the Creditors and contains a text field showing 'Creditor'.
    When the Customer Receivables Ageing report is required, the PLD containing 'Debtor' has to be selected, and when the Supplier Liabilities Ageing report is required, the PLD containing 'Creditor' has to be is selected.
    My idea was to set the 'Creditor' PLD to all the Supplier Business Partners and the 'Debtors' PLD to the Customer Business Partners, thus eliminating the need to select a PLD each time. 
    But when I go to the PLD and select set as default, I don't have the option to set by Business Partner, the only option I have is to set the PLD by User.
    Can you help me on this one please?
    Many thanks!
    Caroline

    Hi,
    It is not possible for USER Default Print method for Aging Report.
    it is possible only for Marketing and Banking Document.
    It is possible on PLD but it is not possible in Page Header on Aging Report PLD.
    Try this,
    ->> Open the Aging Report PLD.
    for example,
    BP Code Field ID in Repetitive Area -> F_110
    ->> Create 1 formula Field in Repetitive Area Header and put the below formula in that field.
    ex. Field ID -> F_160
    Substring(F_110,0,1)=='C'
    ex. Field ID -> F_161
    ->> Create 1 formula Field in Repetitive Area Header and put the below formula in that field.
    Substring(F_110,0,1)=='V'
    ->> Create 1 TEXT Field in Repetitive Area Header and type the below text(for Title).
    ->> Assign Link to Option in General Tab on Properties Window.
    Customer Aging Report
    Link to - F_160
    ->> Create 1 TEXT Field in Repetitive Area Header and type the below text(for Title).
    Vendor Aging Report
    Link to - F_161
    Save and Run the Print Preview.
    Regards,
    Madhan.

  • How to create an marketing attribute for the busines partner

    hi guys,
    can any body help.
    how to assign/create the marketing attribute set to the business partner.
    is there any function module which to create the marketing attribute for the business partner by passing the BP GUID.
    if any body is having an sample code can u please post it.
    regards
    viswag

    Hi Viswa,
    In CRM 4.0, marketing attributes set can be created at T-code [CRMD_PROF_TEMPL]
    The created attribue set can be assigned to BP at T-code [CRMD_PROF_BP]
    The other way you can open the BP, in marketing at marketing attributes tab your can assign the created attribute set.
    regards
    satish kumar
    *-Reward points if found helpful.

  • Any suggestion for tuning following code of fetching prompts from report.

    Hi Experts,
    In my application I want to fetch all prompts details from SAP BO.  I am using following code and its working fine but taking to much time in fetching data.
    public static ReportEngine reportEngineWebi = null;
      public static ReportEngine reportEngineFullClient = null;
      public static Prompts prompts = null;
      public static DocumentInstance di = null;
      public static Prompt cdzPrompt = null;
      public static PromptType cdzPromptType = null;
      public static Lov lov = null;
      public static Values lovValues = null;
      public static String[] pvalues = null;
      public static IWebi webi = null;
      public static IFullClient fullclient = null;
      public static int prmt_report_si_id = 0;
      public static String prmt_si_id = "";
      public static String prmt_si_title = "";
      public static String prmt_si_kind = "";
      public static String prmt_si_lov_previous_values = "";
      public static String prmt_si_lov_values = "";
    IInfoObjects objsprompts = oInfoStore
      .query("Select top 20000 * From CI_INFOOBJECTS Where si_kind in ('Webi') and SI_INSTANCE=0 and SI_PROCESSINFO.SI_HAS_PROMPTS=1");
      int prmt_report_si_id = 0;
      prmt_si_id = "";
      prmt_si_title = "";
      prmt_si_kind = "";
      prmt_si_lov_previous_values = "";
      prmt_si_lov_values = "";
      reportEngineWebi=((ReportEngines) oEnterpriseSession
      .getService("ReportEngines"))
      .getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
      for (int j = 0; j < objsprompts.getResultSize(); j++) {
      prompts = null;
      di = null;
      try {
      webi = (IWebi) objsprompts.get(j);
      di = reportEngineWebi.openDocument(webi.getID());
      try {
      prmt_report_si_id = 0;
      prmt_report_si_id = webi.getID();
      } catch (Exception e) {
      prmt_report_si_id = 0;
      prompts = di.getPrompts();
      try {
      if (prompts.getCount() > 0) {
      for (int i = 0; i < prompts.getCount(); i++) {
      cdzPrompt = prompts.getItem(i);
      try {
      prmt_si_id = "";
      prmt_si_id = cdzPrompt.getID();
      } catch (Exception e) {
      prmt_si_id = "";
      try {
      prmt_si_title = "";
      prmt_si_title = cdzPrompt.getName();
      } catch (Exception e) {
      prmt_si_title = "";
      try {
      cdzPromptType = cdzPrompt.getType();
      prmt_si_kind = cdzPromptType.toString();
      } catch (Exception e) {
      prmt_si_kind = "";
      // System.out.println("going to fetch prompt lov");
      cdzPromptType = cdzPrompt.getType();
      // System.out.println("promt type-" + cdzPromptType);
      // System.out.println("Ended***********"+i);
      if (cdzPrompt.hasLOV()) {
      try {
      prmt_si_lov_values = null;
      // System.out.println("going to found pvalues");
      pvalues = cdzPrompt.getPreviousValues();
      // System.out.println("pvalues found");
      prmt_si_lov_previous_values = "";
      if (pvalues.length > 0) {
      // System.out.println("pvalues-");
      for (int c = 0; c < pvalues.length; c++) {
      if (c == 0) {
      prmt_si_lov_previous_values = pvalues[c];
      } else {
      prmt_si_lov_previous_values = prmt_si_lov_previous_values
      + "," + pvalues[c];
      } catch (Exception e) {
      System.out.println("handle Error lov values");
      e.printStackTrace();
      // System.out.println(" ");
      // here enters prompts into databse...
      // System.out.println(i+" prompt fetch");
      pstmt.setInt(1, prmt_report_si_id);
      pstmt.setString(2, prmt_si_id);
      pstmt.setString(3, prmt_si_title);
      pstmt.setString(4, prmt_si_kind);
      pstmt.setString(5, prmt_si_lov_previous_values);
      pstmt.setString(6, prmt_si_lov_values);
      pstmt.setString(7, "Utility");
      pstmt.executeUpdate();
      } else {
      // System.out.println("No promts found");
      } catch (Exception e) {
      // System.out.println("Handle Error in code-");
      // e.printStackTrace();
      } catch (Exception e) {
      // Nothing...
      try {
      if(di!=null){
      //System.out.println("going to close di");
      di.closeDocument();
      //System.out.println("di close");
      } catch (Exception e) {
      // nothing..
      //System.out.println("*****************************single prompt completed********************************");
      if(reportEngineWebi!=null){
      try{
      reportEngineWebi.close();
      }catch(Exception e){
      System.out.println("Handle error! while closing reportEngineWebi prompt");
      e.printStackTrace();
    This code is working fine but taking too much time in fetching prompts.
    di = reportEngineWebi.openDocument(webi.getID());
    this is DocumentInstance object, its taking time.
    Please suggest me if there is any other option available to fetch prompts from SAP BO.
    Thanks in advanced

    Hi Vijay...
    The selection screen should look like...
    cb1 -
    variant1 -
    icb1 -
    date1 -
    time1
    cb2 -
    variant2 -
    icb2 -
    date2 -
    time2
    where...
    cb1 - checkbox which indicates the first report(YRTEST) in the table...
    variant1 - textbox for variant which has a help,on clicking should display all the variants of YRTEST report...
    icb1 - checkbox which indicates the immediate background processing...
    date1 - date on which the job should be scheduled...
    time1 - time on which the job should be scheduled...
    If icb1 is clicked then date1 & time1 should not be allowed to enter & vice-versa...
    cb2 - checkbox which indicates the second report(YRTEST1) in the table...
    variant2 - textbox for variant which has a help,on clicking should display all the variants of YRTEST1 report...
    icb2 - checkbox which indicates the immediate background processing...
    date2 - date on which the job should be scheduled...
    time2 - time on which the job should be scheduled...
    If icb2 is clicked then date2 & time2 should not be allowed to enter & vice-versa...
    Its not like what u said...(Based on user entered data fetch the data of report(variant,date,time) and you can submit the data to background job as incase of single record by looping the data)
    Because we have only ReportName,ReportDescription as fields in the table & not variant,date,time...The variant,date,time are all entered in the selection-screen only from which the background job is scheduled...
    I hope the requirement is more clearer...

  • Distribution Busines partner from MDM to R/3

    Hi,
    I try to distribute business partner in r3. for this I use idocs adrmas, debmas, cremas. in bd87 for adrmas status - BAPI SAVEREPLICA has been called successfully, for cremas Vendor xxxxxxx was created in company code yyyy, for debmas Customer xxxxxxx has been created for company code yyyy. but in transaction bp I can not find business partner with number xxxxxxx.
    please help
    Thanks,
    Elena

    Hi Elena,
    Help on BP Identification Numbers
    http://help.sap.com/saphelp_nw04/helpdata/en/90/b9fb7bf9fe70e89eabaf9cd1ba2e8/frameset.htm
    Forum on BP Number not found:
    Getting a "Business partner not found with partner function type requester"
    Reward points if this helps
    Regards
    Pragathi.

  • Busines partner type field

    Hi  Gurus,
    I  need a clarity in a field name Business partner type.In my interaction center I dont  see this.I wud like to  select if its a person,organization or if its a group.But this particular field is not visible in my screen.Iam using UTIL_IC role.Can you pls let me know what  would be the exact setting  to make it visible??
    Thanks
    crmbug

    Hi,
    It is not possible for USER Default Print method for Aging Report.
    it is possible only for Marketing and Banking Document.
    It is possible on PLD but it is not possible in Page Header on Aging Report PLD.
    Try this,
    ->> Open the Aging Report PLD.
    for example,
    BP Code Field ID in Repetitive Area -> F_110
    ->> Create 1 formula Field in Repetitive Area Header and put the below formula in that field.
    ex. Field ID -> F_160
    Substring(F_110,0,1)=='C'
    ex. Field ID -> F_161
    ->> Create 1 formula Field in Repetitive Area Header and put the below formula in that field.
    Substring(F_110,0,1)=='V'
    ->> Create 1 TEXT Field in Repetitive Area Header and type the below text(for Title).
    ->> Assign Link to Option in General Tab on Properties Window.
    Customer Aging Report
    Link to - F_160
    ->> Create 1 TEXT Field in Repetitive Area Header and type the below text(for Title).
    Vendor Aging Report
    Link to - F_161
    Save and Run the Print Preview.
    Regards,
    Madhan.

Maybe you are looking for

  • Licensing and costs for Creative Cloud for teams on small company

    Hello, I have a few questions regarding the teams solution.  They  are: 1- Is the license by user or by computer? 2- What is the actual cost of Creative Cloud for Teams ( small companies with less than 100 employees).  In some sections it states mont

  • AutoComplete not working properly in Outlook 2013

    The AutoComplete List is a feature which displays suggestions for names and e-mail addresses as you begin to type them. These suggestions are possible matches from a list of names and e-mail addresses from the e-mail messages that you have sent. Auto

  • Replace Special Characters in a string + XQUERY

    Hi All, I am using the following replace function to replace the special characters in my XQUERY. *replace($string1, '[&"-*;-`!|:,¿/{}@#$%^*~()_+-]', ' ')* Fortunately it is replacing all the special characters. But the only problem here is it is eve

  • WLC 4404-100/ACS 3.2/Windows 2003 ADS/ WLAPP AP1231

    Equipments: 1. WLC4404-100 2. AP 1231 WLAPP 3. ACS 3.2 4. Windows 2003 ADS We want to created dynamic VLANs, based on user's Web login authentication it'll place them to the correct VLAN. We have one single broadcase SSID "SCHOOL" which faculty, stud

  • HELP!! "AppleUSBHub.kext" was installed improperly and cannot be used!!!!

    Hi, My trackpad, keyboard and usb stopped working... I got that message pops on my MacBook after restart. System extension cannot be used The system extension "/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext" was install