Creation of Agent

Hi all
        I want to creat agent in sap business one 2007b in for business partner master records but i am not getting the field but in
help file agent field is given.
Thanks & Regards
Amit

Hi Amit
u can define the bp as an agent in the property windows of BP MASTER
If u want to add the properties of the partner as agent then for that go to administration setup -business partner-business partner property and then u can write in a new property as agent .
or send way is u can define the factoring indicator under general tab
Regards,
Manish

Similar Messages

  • Creation of  Agent  in WE20

    Dear All,
    We are not sure that in which module our requirement will fit.
    We like to create new Agent (permitted id) in WE20.
    The details are as under
    Table :VEDI_TDPP1
    Field Name :USRKEY
    Data Element: EDIPUSRKEY
    Can you kindly us now how to create it.
    We are in ECC 6.0 and we are configuring EDI payment for vendors.
    Thanks for your time.
    Regards.

    Dear All,
    Can you guide us how to go about our req.
    Regards

  • Re : t-code to creation of Agent

    Hi
           What is the t-code for creating a Agent. i am doing comission for agent scenario.
    How to do this.
    Thanks
    Anto

    Dear Antony,
    Try with V-11 transaction.
    You can consider him as forwarding agent.
    Forwarding Agent will be treated as vendor so you can create farwarding agent vedor master through this transaction.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Nov 12, 2008 10:32 AM

  • Automatic Mailbox Distribution problem after Creating New AD Site

    We redesigned our Active Directory Sites a little while ago.  We moved the subnets and servers from the old sites to the new sites.  We haven't removed the old sites yet, but that will happen soon.  We haven't noticed any issues with the new
    sites except for one weird issue and that is that Automatic Mailbox Distribution no longer works, in fact if you don't specify a database with the enable-mailbox (or new-mailbox) commands it will fail with an error that load balancing failed to find a valid
    mailbox.
    The problem, from the output of an enable-mailbox, command appears to be a site problem (from the fact that the automatic mailbox distribution discards sites that are not in the same site as the user).  The verbose output has the command checking the
    old site even though the server is in the new site.  I've already checked the databases and none of them have the IsExcludedFromProvisioning or IsSuspendedFromProvisioning properties set to TRUE
    My question is how do I make the databases show up as in the new site rather than the old site?
    Any and all help with this issue is appreciated.
    This is the output from the command:
    VERBOSE: [16:36:50.864 GMT] Enable-Mailbox : Initializing Active Directory server settings for the remote Windows
    PowerShell session.
    VERBOSE: [16:36:50.864 GMT] Enable-Mailbox : Active Directory session settings for 'Enable-Mailbox' are: View Entire
    Forest: 'False', Default Scope: 'domain.local', Configuration Domain Controller: 'DC01.domain.local', Preferred Global
    Catalog: 'VMDC01.domain.local', Preferred Domain Controllers: '{ VMDC01.domain.local }'
    VERBOSE: [16:36:50.864 GMT] Enable-Mailbox : Runspace context: Executing user: domain.local/All Users/AD/Admin1,
     Executing user organization: , Current organization: , RBAC-enabled: Enabled.
    VERBOSE: [16:36:50.864 GMT] Enable-Mailbox : Beginning processing &
    VERBOSE: [16:36:50.880 GMT] Enable-Mailbox : Instantiating handler with index 0 for cmdlet extension agent "Query Base
    DN Agent".
    VERBOSE: [16:36:50.880 GMT] Enable-Mailbox : Instantiating handler with index 1 for cmdlet extension agent "Rus Agent".
    VERBOSE: [16:36:50.880 GMT] Enable-Mailbox : Instantiating handler with index 2 for cmdlet extension agent "Mailbox
    Resources Management Agent".
    VERBOSE: [16:36:50.880 GMT] Enable-Mailbox : Instantiating handler with index 3 for cmdlet extension agent "Mailbox
    Creation Time Agent".
    VERBOSE: [16:36:50.880 GMT] Enable-Mailbox : Instantiating handler with index 4 for cmdlet extension agent
    "Provisioning Policy Agent".
    VERBOSE: [16:36:50.880 GMT] Enable-Mailbox : Instantiating handler with index 5 for cmdlet extension agent "Admin Audit
     Log Agent".
    VERBOSE: [16:36:50.927 GMT] Enable-Mailbox : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient Write
    Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient Scope(s):
     {}, Exclusive Configuration Scope(s): {} }
    VERBOSE: [16:36:50.927 GMT] Enable-Mailbox : Searching objects "domain.local/All Users/SM/GP/User1" of type
    "ADUser" under the root "$null".
    VERBOSE: [16:36:50.942 GMT] Enable-Mailbox : Previous operation run on domain controller 'VMDC01.domain.local'.
    VERBOSE: [16:36:50.974 GMT] Enable-Mailbox : Load Balance : Database container located at 'CN=Databases,CN=Exchange
    Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=DOMAIN,CN=Microsoft
    Exchange,CN=Services,CN=Configuration,DC=DOMAIN,DC=local'.
    VERBOSE: [16:36:50.974 GMT] Enable-Mailbox : Searching objects of type "MailboxDatabase" with filter
    "(&((IsExcludedFromProvisioning Equal False)(IsSuspendedFromProvisioning Equal False)(Recovery Equal False)))", scope
    "OneLevel" under the root "Databases".
    VERBOSE: [16:36:51.005 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.021 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.021 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.021 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.021 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.021 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.036 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.036 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.036 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.036 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.036 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.036 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.052 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.052 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.052 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.052 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.067 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.067 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.067 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.067 GMT] Enable-Mailbox : Comparing local site 'OLD-SITENAME' with database site 'OLD-SITENAME'.
    VERBOSE: [16:36:51.067 GMT] Enable-Mailbox : Load Balance : The search for databases returned an empty result. This
    could happen if all databases are excluded from the Load Balance process.
    VERBOSE: [16:36:51.067 GMT] Enable-Mailbox : Load Balance : There is no available database. Refer to previous verbose
    messages for more information.
    VERBOSE: [16:36:51.067 GMT] Enable-Mailbox : Admin Audit Log: Entered Handler:OnComplete.
    Load balancing failed to find a valid mailbox database.
        + CategoryInfo          : NotSpecified: (0:Int32) [Enable-Mailbox], RecipientTaskException
        + FullyQualifiedErrorId : 4AE0EA04,Microsoft.Exchange.Management.RecipientTasks.EnableMailbox
    VERBOSE: [16:36:51.083 GMT] Enable-Mailbox : Ending processing &

    Hi,
    From your description, I would like to clarify the following thing:
    By default, all online and healthy mailbox databases on Exchange 2010 servers in the local Active Directory site can be chosen by automatic mailbox distribution to store a new or moved mailbox. Mailbox databases in other AD site can't be chosen by automatic
    mailbox distribution to store a new or moved mailbox.
    What's more, I recommend you use the following cmdlet to enable mailbox and check the result.
    Enable-Mailbox -Identity xxx -Database xxx
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Error: 500    Cannot create bean of class Simulation

    Hello, I was working with J2ee 1.2 and suddenly I got this error. Any one has an idea about it?, I can't continue working.
    Thanks...
    Error: 500
    Internal Servlet Error:
    javax.servlet.ServletException: Cannot create bean of class Simulation
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:384)
         at _0005csimulation_0002ejspsimulation_jsp_325._jspService(_0005csimulation_0002ejspsimulation_jsp_325.java:215)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
         at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
         at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
         at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)
         at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
         at java.lang.Thread.run(Thread.java:484)
    Root cause:
    javax.servlet.ServletException: Cannot create bean of class Simulation
         at _0005csimulation_0002ejspsimulation_jsp_325._jspService(_0005csimulation_0002ejspsimulation_jsp_325.java:79)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
         at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
         at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
         at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)
         at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
         at java.lang.Thread.run(Thread.java:484)

    This is the code for the simulatin class.
    I think nothing special.
    Begin --- Simulation.java
    import java.io.*;
    import java.util.*;
    public class Simulation
    private int lastMessage;
    private int transactions;
    private int transaction_prospere;
    /* Creation des variables du system */
         private String Quantite_acheteurs;
         private String Quantite_vendeurs;
         private String Argent_initiale;
         private String Articles_initiales;
         private String Prix_initial;
         private String Mechants_acheteurs;
         private String Mechants_vendeurs;
         private String Cycles_simulation;
         private String Choisir_strategie;
         private String Choisir_formule;
         private String Afficher_resultats;
    int iAfficher_resultats = (new Integer(Afficher_resultats)).intValue();
         /* Section de declaration des constants */
         private int OFFRE_DE_VENTE = 0;
         private int DEMANDE_ACHAT = 1;
         private int BROADCAST = -1;
    private int TRICHEUR = -1;
         private int PROSPERE = 1;
         private int VRAI = 1;
         private int FAUX = 0;
    private int ACHETEUR = 0;
    private int VENDEUR = 1;
         private int GENTIL = 0;
         private int MECHANT = 1;
         private double SEUIL_MECHANT = 0.87;
    Messages message_anterieur= null;
    /*** PADOVAN ********************************/
         public String Padovan_alpha;
    Begin --- Creation des agents...
    Pour la creation des agents il y a une generation des chiffres aleatoires
         pour repartir les vendeurs et les acheteurs, ainsi que les gentils et les
         mechants dans le vecteur d'agents
         public Vector Creation_des_agents(){
    System.out.println ("<<<<<<<<<<Executing...Creation_des_agents>>>>>>>>");
    /* Le vector avec des agents....*/
              Vector agents = new Vector();
    lastMessage = 0; /* Le derni�re message ajout� au tableau */
              transactions = 0; /* Compteur pour les transactions */
              transaction_prospere = 0; /* Compteur pour les transaction prosp�res*/
              /* Conversion de variables de string a int */
    int iQuantite_acheteurs = (new Integer(Quantite_acheteurs)).intValue();
    int iQuantite_vendeurs = (new Integer(Quantite_vendeurs)).intValue();
    int iArgent_initiale = (new Integer(Argent_initiale)).intValue();
    int iArticles_initiales = (new Integer(Articles_initiales)).intValue();
    int iPrix_initial = (new Integer(Prix_initial)).intValue();
    int iMechants_acheteurs = (new Integer(Mechants_acheteurs)).intValue();
    int iMechants_vendeurs = (new Integer(Mechants_vendeurs)).intValue();
    int i; /* Compteur pour la generation des agents */
              double agent_type; /* Pour generation aleatoire et savoir si est acheteur ou vendeur */
              int iagent_type; /* Type d'agent acheteur=0, vendeur=1 */
              double agent_comportement; /* Pour generation aleatoire et savoir si est gentil ou mechant */
              int iagent_comportement; /* Comportement de l'agent 0=gentil, 1=mechant, gentil par default */
    int total=iQuantite_acheteurs+iQuantite_vendeurs;
              /* Pour les agents......... */
              int j=0;
              for (i=0;i<total;)
                   iagent_comportement = 0;
    j++;
                   agent_type=Math.random(); /* Pour repartir les agentes vendeurs et acheteurs aleatoirement. */
    iagent_type=(agent_type<0.5?0:1); /* 0-> acheteur, 1-> vendeur */
                   if (iagent_type==0){   /*Creation des acheteurs.... */
    if(iQuantite_acheteurs>0)
    iQuantite_acheteurs--; /* un acheteur de moins */
    /* Generation du comportement */
                             if (iMechants_acheteurs>0) /* Faltan generar agentes mechantes */
                             if ((iQuantite_acheteurs > iMechants_acheteurs))
    agent_comportement = Math.random(); /* Pour repartir les comportement de l'agent */
    iagent_comportement=(agent_comportement<0.5?0:1);     /* 0->gentil, 1->mechant */
                             else
                                  iagent_comportement=1;
                             if (iagent_comportement==1) /* S'il est mechante... */
    iMechants_acheteurs --;
                             Agents agent = new Agents(i,ACHETEUR,0,0,iArgent_initiale,iagent_comportement, total);
                             agent.setPadovan_alpha(Padovan_alpha);
                   i++;
    agents.addElement(agent);
                   else{                  /* Creation des vendeurs... */
    if(iQuantite_vendeurs>0)
                             iQuantite_vendeurs--; /* un vendeur de moins */
    /* Generation du comportement */
                             if (iMechants_vendeurs>0) /*Faltan generar agentes mechantes */
                             if ((iQuantite_vendeurs > iMechants_vendeurs))
    agent_comportement = Math.random(); /* Pour repartir les comportement de l'agent */
    iagent_comportement=(agent_comportement<0.5?0:1);     /* 0->gentil, 1->mechant */
                             else
                                  iagent_comportement=1;
                             if (iagent_comportement==1) /* S'il est mechante... */
    iMechants_vendeurs --;
    Agents agent = new Agents(i,VENDEUR,iArticles_initiales,iPrix_initial,0,iagent_comportement,total);
                             agent.setPadovan_alpha(Padovan_alpha);
                   i++;
    agents.addElement(agent);
         }/* End for */
    System.out.println ("<<<<<<<<<<Ending...Creation_des_agents>>>>>>>>>>");
    return agents;
         } /* End Creation_des_agents */
    End --- Creation des agents...
    Begin --- Setters and getters.........
    public void     setQuantite_acheteurs(String Quantite_acheteurs) {
              this.Quantite_acheteurs= Quantite_acheteurs;
    public void     setQuantite_vendeurs(String Quantite_vendeurs) {
              this.Quantite_vendeurs= Quantite_vendeurs;
    public void     setArgent_initiale(String Argent_initiale) {
              this.Argent_initiale= Argent_initiale;
    public void     setArticles_initiales(String Articles_initiales) {
              this.Articles_initiales= Articles_initiales;
    public void     setPrix_initial(String Prix_initial) {
              this.Prix_initial= Prix_initial;
    public void     setMechants_acheteurs(String Mechants_acheteurs) {
              this.Mechants_acheteurs= Mechants_acheteurs;
    public void     setMechants_vendeurs(String Mechants_vendeurs) {
              this.Mechants_vendeurs= Mechants_vendeurs;
    public void     setCycles_simulation(String Cycles_simulation) {
              this.Cycles_simulation= Cycles_simulation;
    public void     setChoisir_strategie(String Choisir_strategie) {
              this.Choisir_strategie= Choisir_strategie;
    public void     setChoisir_formule(String Choisir_formule) {
              this.Choisir_formule= Choisir_formule;
    public void     setPadovan_alpha(String Padovan_alpha) {
              this.Padovan_alpha= Padovan_alpha;
    public void     setAfficher_resultats(String Afficher_resultats) {
              this.Afficher_resultats= Afficher_resultats;
    public String getPadovan_alpha( ){
    return this.Padovan_alpha;
    } // End of the class Simulation
    End --- Simulation

  • Script to Determine Users Connected to Oracle Apps and For Imitating Users

    I found this great script (Note:430948.1 on Metalink) to track users connected to the E-Business Suite.
    My colleague though noticed that users who had shut their browsers without logging off or those users who had 'timed out of their session' would still come back in the report.
    He wanted an accurate measure of who was in fact using the e-Business suite.
    We took the original query and added the last line (below). It basically takes the ‘last connect’ time and adds 60 minutes to it to figure out who is ‘validly’ still connected.
    select distinct ic.disabled_flag, fu.user_name User_Name,fr.RESPONSIBILITY_KEY Responsibility, fu.user_name,fu.user_id, fu.description, fu.employee_id,
    ic.responsibility_application_id, ic.responsibility_id, ic.org_id, ic.function_type, ic.counter, ic.first_connect, ic.last_connect,
    ic.nls_territory, ic.time_out, fr.menu_id, fr.responsibility_key
    from apps_fnd.fnd_user fu,
    apps_fnd.fnd_responsibility fr, apps_fnd.icx_sessions ic
    where fu.user_id = ic.user_id AND
    fr.responsibility_id = ic.responsibility_id AND
    ic.disabled_flag='N' AND
    ic.responsibility_id is not null AND
    ic.last_connect > sysdate - (ic.time_out/60)/96
    Can anybody see any issues with this query? or a better way to do this?
    It looks like Oracle runs a clean up script to wipe out sessions after a certain amount of time so they are no longer active sessions - so this works around that.

    From my Exchange Server in an Exchange PS session:
    Name        : Admin Audit Log Agent
    Enabled     : True
    Priority    : 255
    WhenCreated : 6/15/2012 9:54:46 AM
    WhenChanged : 6/15/2012 9:54:46 AM
    Name        : Scripting Agent
    Enabled     : False
    Priority    : 6
    WhenCreated : 6/15/2012 9:54:46 AM
    WhenChanged : 6/15/2012 9:54:46 AM
    Name        : OAB Resources Management Agent
    Enabled     : True
    Priority    : 5
    WhenCreated : 6/15/2012 9:54:46 AM
    WhenChanged : 6/15/2012 9:54:46 AM
    Name        : Provisioning Policy Agent
    Enabled     : True
    Priority    : 4
    WhenCreated : 6/15/2012 9:54:46 AM
    WhenChanged : 6/15/2012 9:54:46 AM
    Name        : Mailbox Creation Time Agent
    Enabled     : True
    Priority    : 3
    WhenCreated : 6/15/2012 9:54:46 AM
    WhenChanged : 6/15/2012 9:54:46 AM
    Name        : Mailbox Resources Management Agent
    Enabled     : True
    Priority    : 2
    WhenCreated : 6/15/2012 9:54:46 AM
    WhenChanged : 6/15/2012 9:54:46 AM
    Name        : Rus Agent
    Enabled     : True
    Priority    : 1
    WhenCreated : 6/15/2012 9:54:46 AM
    WhenChanged : 6/15/2012 9:54:46 AM
    Name        : Query Base DN Agent
    Enabled     : True
    Priority    : 0
    WhenCreated : 6/15/2012 9:54:46 AM
    WhenChanged : 6/15/2012 9:54:46 AM
    The output is the same from my workstation after loading the PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
    Rob Smura, MCSE

  • Error when Creating new Mailbox - PowerShell - Storage Error

    Hi Guys,
    I have been working on a new exchange install and when I try to create a new mailbox or new mailboxdatabase I keep getting the following error.
    WARNING: The cmdlet extension agent with the index 0 has thrown an exception in OnComplete(). The exception is:
    System.TypeInitializationException: The type initializer for
    'Microsoft.Exchange.Data.Storage.NativeStorePropertyDefinitionDictionary' threw an exception. --->
    System.NotSupportedException: Not supported field(MailEnabled)
    type(Microsoft.Exchange.Data.Storage.PropertyTagPropertyDefinition).
       at
    Microsoft.Exchange.Data.Storage.NativeStorePropertyDefinitionDictionary.PropertyDefinitionSets.BuildWellKnownSets()
       at Microsoft.Exchange.Data.Storage.NativeStorePropertyDefinitionDictionary..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Storage.PropertyTagPropertyDefinition.TryFindEquivalentDefinition(PropTagKey key, Boolean
     isCustom, PropType type, TypeCheckingFlag typeCheckingFlag, PropertyTagPropertyDefinition& definition, Boolean&
    createNewDefinition)
       at Microsoft.Exchange.Data.Storage.PropertyTagPropertyDefinition.InternalCreate(String displayName, PropTag
    propertyTag, PropertyFlags flags, TypeCheckingFlag typeCheckingFlag, Boolean isCustom, PropertyDefinitionConstraint[]
    constraints)
       at Microsoft.Exchange.Data.Storage.PropertyTagCache.InternalPropertyDefinitionsFromPropTags(TypeCheckingFlag
    propertyTypeCheckingFlag, MapiProp mapiProp, StoreSession storeSession, PropTag[] propTags, Int32&
    resolvedPropertyCount)
       at Microsoft.Exchange.Data.Storage.RecipientTable.GetRecipientPropertyDefinitionsFromMapiTable(Boolean&
    originalColumnsChanged)
       at Microsoft.Exchange.Data.Storage.RecipientTable.BuildRecipientCollection(Action`2 recipientCollectionBuilder)
       at Microsoft.Exchange.Data.Storage.CoreRecipientCollection..ctor(ICoreItem coreItem)
       at Microsoft.Exchange.Data.Storage.CoreItem.Microsoft.Exchange.Data.Storage.ICoreItem.GetRecipientCollection(Boolean
     forceOpen)
       at Microsoft.Exchange.Data.Storage.CoreItem.GetRecipientCharsetDetectionData(StringBuilder stringBuilder, Boolean
    isComplete)
       at Microsoft.Exchange.Data.Storage.ItemCharsetDetector.BuildCodePageDetector(MemoryStream& cachedHtmlBody)
       at Microsoft.Exchange.Data.Storage.ItemCharsetDetector.DetectCpidWithOptions(Charset userCharset, MemoryStream&
    cachedHtmlBody)
       at Microsoft.Exchange.Data.Storage.ItemCharsetDetector.SetCachedBodyDataAndDetectCharset(Char[] cachedBodyData,
    Charset userCharset, BodyCharsetFlags charsetFlags)
       at Microsoft.Exchange.Data.Storage.BodyCharsetDetectionStream.CalculateCharset()
       at Microsoft.Exchange.Data.Storage.BodyCharsetDetectionStream.OnBufferFull()
       at Microsoft.Exchange.Data.Storage.BodyCharsetDetectionStream.CloseDetectorConversionStream()
       at Microsoft.Exchange.Data.Storage.BodyCharsetDetectionStream.Flush()
       at Microsoft.Exchange.Data.TextConverters.ConverterEncodingOutput.Flush()
       at Microsoft.Exchange.Data.TextConverters.Internal.Text.TextCodePageConverter.Run()
       at Microsoft.Exchange.Data.TextConverters.Internal.Text.TextCodePageConverter.Flush()
       at Microsoft.Exchange.Data.TextConverters.ConverterWriter.Flush()
       at Microsoft.Exchange.Data.TextConverters.ConverterWriter.Dispose(Boolean disposing)
       at System.IO.TextWriter.Close()
       at Microsoft.Exchange.Data.Storage.BodyTextWriter.<CloseWriter>b__11()
       at Microsoft.Exchange.Data.Storage.ConvertUtils.CallCts(Trace tracer, String methodName, LocalizedString
    exceptionString, CtsCall ctsCall)
       at Microsoft.Exchange.Data.Storage.BodyTextWriter.CloseWriter()
       at Microsoft.Exchange.Data.Storage.BodyTextWriter.Dispose(Boolean disposing)
       at System.IO.TextWriter.Dispose()
       at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLogMessageData data,
    LogMessageDelegate logMessage)
       at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e)
       at Microsoft.Exchange.Provisioning.ProvisioningLayer.OnComplete(Task task, Boolean succeeded, Exception exception)
    Does anyone have any idea what is causing this, the server is running Microsoft Exchange 2010 SP2. I don't want to complete an upgrade to SP3 until I have got this issue resolved first.
    Any suggestion are welcome.
    Kind Regards
    TPark IT Technician

    In terms of what's causing it, the clue is in the stack above. 
    its one of the cmdlet extension agents.  Which one?  Well the one at index 0
    Run this, and you should find its the Mailbox Creation Time Agent
    Get-CmdletExtensionAgent | select Name, priority
    Get-CmdletExtensionAgent | select Name, priority
    I'd then run Test-Servicehealth to check services are all responding. 
    Can you post the exact command you are running to get this?
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • How can i delete workitems in bulk

    can anybody give me the steps to delete workitems in bulk.Tried using SWWL but it doesnt seem to be working

    You should select the Status field of this Transaction Code properly. If you are suing the Instance Id(TOP WIID) then the status should be
    WAITING
    READY
    SELECTED
    STARTED
    ERROR
    You should also take care of the other fields like
    Creation Date
    Agent
    TYPE
    Please note that the Wflow Log will also be logically deleted.
    Thanks
    Arghadip

  • Standard New button for creation of bp is not appeared in ic agent bp role's main page.

    I have checked in.htm page of ICCMP_BP_MUL_S/BuPaSearchB2B which is getting called in web.
    in line no. 45 of .htm page there is condition to check whether new button should be displayed or not, when this condition is true no_bp_create is initial then only new button appears in ic agent.
    I have debugged so many times but unable to find out from where no_bp_create flag is populated and in conclusion new button is not appeared .
    I think there is some authorization which should be assigned to user for creation of bp so that above said flag (no_bp_create) is not getting populated.
    if i am on right track so please let me know which authorization is to be assigned to user so that user can see new button in ic_agent.

    Hi Sunny,
    The parameter no_bp_create is being set in the do_init_context method of the view controller class of same view but the value is being fetched using a badi.
    The authorization to create BP can be enabled by implementing the BADI BADI_CRM_BP_UIU_AUTHORITY (or enhancement spot CRM_UIU_BP_ENHANCEMENT).
    Users can be authorized to create/edit data for different UI components using this badi.
    In this badi put the condition for the application name may be as (based on your scenario or explore more)  cl_crm_ic_bp_constants=>gc_bp_create OR OR  cl_crm_ic_bp_constants=>gc_bp_edit and set the value of parameter cv_not_allowed = abap_false. Then you should be able to see the New button.
    Regards,
    Shobhit

  • How to find most cost-effective fwdg agent at the time of shipment creation

    Dear Friends,
    I have a requirement of realizing the best cost effective transporter(forwarding agent) in the shipment document. Then how to do using the Transportation functionality of the ERP?
    There is a scenerio like I want to transport my goods from L to M. In system say i have a route XX for that, which gets automatically determined in the shipment document.
    Now on route XX, if i have 5 operative transportors, say A, B, C, D, E.
    Transporter A - provides services km-wise, kg-wise, fixed price as well as truck wise
    (Say if you opt for km-wise, charges are 15 rs/km, 10 rs/kg, fixed price of 15000 for full truck from A to B)
    Transporter B - Similar to Transporter A with different charges
    (Say if you opt for km-wise, charges are 18 rs/km, 7 rs/kg, fixed price of 14500 for full truck from A to B)
    Similarly other tranporters also have their charges.
    and Now at the time of shipment creation, how can i have some standard method, so that the system suggest the most cost effective transportor for my delivery ie. shipment i want to make or probabaly if there is some standard way to get the list of all available transporters on a given route at the time of shipement creation.
    Please suggest.
    Regards,
    Dipti.

    Hi Sandeepan,
    Thanx for ur reply.
    As per my requirement, there might be say 100 routes existing into the system and each route might have say 10 different transportors available. Now they want to know 1) the list of transportors available on the given route - (run time at the time of shipment creation) to be put into the forwarding agent field 2) Of the available (say 10 transportors) who will be the best/cheapest.
    As per your suggestion, the functionality helps after we put in the fwdg agent and then estimate his associated cost. But as in this case, since there are so many routes (associated so many transportors) they will not know whom to put in the field.
    Hence want to know if there is some standard functionality of SAP which might help us i) identifying the list of transportors on a particular route or a given criteria - run-time ii) How to find the best among available OR i) SAP Directly suggesting the one and best transportor available on a given route.
    Please help.
    Regards,
    Dipti.

  • Check validation of WBS and AGENT at SC level instead of PO creation time.

    Hi all,
            is there any function module to check the issues with the account assignment like agents are missing for cost center or WBS for a shopping cart , this is validated during PO creation but my requirement is to validate it during the SC Cart creation .
    Thanks
    Aditya

    Hi Adidya
    You are correct. Indeed all checks happen during PO only not through SC.
    You can use DOC check badi only
    How to get  blocked cost centers in SRM from ECC(Table CSKS(
    http://wiki.sdn.sap.com/wiki/display/SRM/META_READ_TABLE
    BR
    Muthu

  • Audit Vault Agent account creation

    Hi, I just installed the AV Server and about to configure the agents. The Oracle AV agent installation document suggests creating AV agent user by logging into the database as AVAdmin user(Section 3.1.1.c). However, the user creation fails with ORA-01031: insufficient privileges. Other database accounts (sys, system..etc..) are locked. Any clue how to resolve this ussue?
    Thanks in advance.

    1. Where in the OP's post do you see the word Windows?
    2. Your advice is totally irresponsible in all respects. The proper way to administer the product is in compliance with the documentation. There is no rational reason to do what you suggest.
    Were you an employee of mine, working on an audit vault project, you'd be terminated tomorrow morning when you walked through the door.
    Again: your advice is misguided and totally irresponsible.

  • Dynamic Creation of Physical Data Server / Agent cache Refresh

    Scenario:
    I have a requirement to load data from xml source to oracle DB, and the xml source will change at run time,but the xsd of the xml would remain same ( so I don't have to change the Logical data Server, models, mappings, interfaces and scenarios - only the Physical Data Server will change at runtime).I have created all the ODI artifacts using ODI studio in my Work Repo and then I'm using odi sdk to create the physical dataserver for the changed xml data source and then invoking the agent programmatically.
    Problem:
    The data is being loaded from the xml source to oracle DB for the first time, but it is not working fine from the second time onwards. If I restart the agent, it is again working fine for one more time. on the first run, I think the agent maintains some sort of cache for the physical data server details and so when ever I change the data server, something is going wrong and that is leading to the following exception. So I want to know, if there is any mechanism to handle dynamic data servers or if there is any way of clearing the agent cache, if any.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 41, in <module>
    AttributeError: 'NoneType' object has no attribute 'createStatement'
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1596)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:582)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
         at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1070)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$1.run(DefaultAgentTaskExecutor.java:50)
         at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor.executeAgentTask(DefaultAgentTaskExecutor.java:41)
         at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doExecuteAgentTask(TaskExecutorAgentRequestProcessor.java:93)
         at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.process(TaskExecutorAgentRequestProcessor.java:83)
         at oracle.odi.runtime.agent.support.DefaultRuntimeAgent.execute(DefaultRuntimeAgent.java:68)
         at oracle.odi.runtime.agent.servlet.AgentServlet.processRequest(AgentServlet.java:445)
         at oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:394)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:503)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
         at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
         at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
         at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

    Hi ,
    If you want to load multiple files ( same structure) through one connection then in topology create M.XSD for M.XML file
    Create three directories
    RAW -- It will contain file with original name
    PRO- Processing area where file will be moved one by one & renamed it as M.XML.
    OUT- Once file data will be loaded into tables move the file M.XML from PRO to OUT.
    Go to odiexperts to create loop,
    Use odifilemove ( to move & rename/masking) to move A.XML from RAW to PRO & rename to M.XML
    use ODIfilemove to move M.XML to OUT folder & then rename back to A.XML
    Use variables to store file names & refresh
    NoneType' object has no attribute 'createStatement' : It seems that structure of your file is different & your trying to load different files in same schema. If stucture is same then use Procedure "SYNCHRONIZE ALL" after every load...
    Edited by: neeraj_singh on Feb 16, 2012 4:47 AM

  • Function Module to Insert Agent assignment upon creation of Responsibility

    Hi Friends,
    Using BDC I am able to create Resposibilities in Responsibilities tab of PFAC tcode.
    I need to insert Agent assignment under created Responsibility.
    Actually In Tcode PFAC I enter Rule then select change button this will lead us to next screen there i select Responsibilities tab
    there I select create button then it will give a pop-up in that i will enter Object abbr. and Name then i will select continue.
    then next i will enter category then select save.
    Up to this using recording I am able to create Responsibilities but here i need to come back and i need to select just now created
    Responsibility and i need to select insert agent assignment icon then it will give popup there i need to select Orgnizational unit then continue then it will give small popup ther i need to give search term (what ever we entered in Object abbr.) then continue again one popup will come ther we need to select that Org.unit check box then continue then it will one more popup there i need to select create then it will be inserted under Responsibilitty.
    In the above entire explanation I am able do upto  create Responsibilities but to insert agent assignment we need to come back after save but it is not possible through Recording because after save Recording will be ended.
    So could you please guid me how to insert agent assignment under just created Responsibility.
    If there is any function module to do that please suggest me .
    Thanks
    Chandu

    Hi,
    I tried like that also.
    Whenever we need to insert agent assignment under just created Responsibility we need to select just created responsibility
    created by first BDC . But in seccond BDC WITH TCODE OOCU_RESP Recording is not capturing that action (selecting just created Responsibility).
    It is giving the message 'You did not select a valid object' in the status bar.
    So It is unable to insert agent assignment under responsibility.
    I think there would a function module which insert agent assignment under selected responsibility.
    If anybody knows please suggest me or am I making any mistake ?
    If you would like to see my code pls find below.
    *& Report  YCRM_CREATE_REPBLT_AGENT
    REPORT  ycrm_create_repblt_agent.
    *Selection Screen
    PARAMETERS : p_rule TYPE pdtask-seark OBLIGATORY,
                 p_file TYPE rlgrap-filename OBLIGATORY.
    *Data Declarations
    TYPES : BEGIN OF ty_resp,
            short    TYPE p1000-short,
            stext    TYPE p1000-stext,
            category TYPE ro_expr, "EDIT_BIND_DEF-EXPR_LOW(02),
            END OF ty_resp.
    DATA : it_resp TYPE TABLE OF ty_resp,
           wa_resp TYPE ty_resp,
           p_file1 TYPE string.
    DATA : it_bdcdata    TYPE TABLE OF bdcdata,
           wa_bdcdata    TYPE bdcdata,
           it_bdcmsgcoll TYPE TABLE OF bdcmsgcoll,
           wa_bdcmsgcoll TYPE bdcmsgcoll.
    *Constants Declarations
    CONSTANTS : c_x        TYPE c VALUE 'X',
                c_tcode(4) TYPE c VALUE 'PFAC',
                c_mode     TYPE c VALUE 'A'.
    *AT SELECTION-SCREEN event for providing f4 help for input file
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM file_on_f4.
    *Start of selectin event.
    START-OF-SELECTION.
    File Upload
      PERFORM upload_file.
    *BDC Logic
      PERFORM bdc_to_create_rep.
    *&      Form  BDC_DYNPRO
          text
         -->P_0061   text
         -->P_0062   text
    FORM bdc_dynpro  USING    fp_program "value(p_0061)
                              fp_dynpro. "value(p_0062).
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = fp_program.
      wa_bdcdata-dynpro   = fp_dynpro.
      wa_bdcdata-dynbegin = c_x.
      APPEND wa_bdcdata TO it_bdcdata.
    ENDFORM.                    " BDC_DYNPRO
    *&      Form  BDC_FIELD
          text
         -->P_0066   text
         -->P_0067   text
    FORM bdc_field  USING    fp_fnam "value(p_0066)
                             fp_fval. "value(p_0067).
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam  = fp_fnam.
      wa_bdcdata-fval  = fp_fval.
    *WA_BDCDATA-DYNBEGIN = C_X.
      APPEND wa_bdcdata TO it_bdcdata.
    ENDFORM.                    " BDC_FIELD
    *&      Form  FILE_ON_F4
          text
    -->  p1        text
    <--  p2        text
    FORM file_on_f4 .
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          field_name    = 'P_FILE'
        CHANGING
          file_name     = p_file
        EXCEPTIONS
          mask_too_long = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " FILE_ON_F4
    *&      Form  UPLOAD_FILE
          text
    -->  p1        text
    <--  p2        text
    FORM upload_file .
      p_file1 = p_file.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = p_file1
          has_field_separator     = 'X'
        CHANGING
          data_tab                = it_resp
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          not_supported_by_gui    = 17
          error_no_gui            = 18
          OTHERS                  = 19.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " UPLOAD_FILE
    *&      Form  BDC_TO_CREATE_REP
          text
    -->  p1        text
    <--  p2        text
    FORM bdc_to_create_rep .
      LOOP AT it_resp INTO wa_resp.
        REFRESH : it_bdcdata,
                  it_bdcmsgcoll.
    *Screen 0600
        PERFORM bdc_dynpro      USING 'SAPLRHWS' '0600'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'PDTASK-SEARK'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=AEND'.
        PERFORM bdc_field       USING 'PDTASK-SEARK'
                                       p_rule. "'90000159'.
    *Screen 0040
        PERFORM bdc_dynpro      USING 'SAPLRHWS' '0040'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=RESP'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'HRS1000-SHORT'.
        PERFORM bdc_field       USING 'HRS1000-SHORT'
                                      'Z99999999972'.
        PERFORM bdc_field       USING 'HRS1000-STEXT'
                                      'Category (RUN -SUPPORT) + C&PS Web'.
        PERFORM bdc_field       USING 'HRS1203-ACTOR_FLAG'
                                      'R'.
    *Screen 0040
        PERFORM bdc_dynpro      USING 'SAPLRHWS' '0040'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=INSE'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'DATESET'.
        PERFORM bdc_field       USING 'DATESET'
                                      'O'.
    *Screen 0300
        PERFORM bdc_dynpro      USING 'SAPLSPO4' '0300'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'SVALD-VALUE(02)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=FURT'.
        PERFORM bdc_field       USING 'SVALD-VALUE(01)'
                                       wa_resp-short. "'PL-BK'.
        PERFORM bdc_field       USING 'SVALD-VALUE(02)'
                                       wa_resp-stext. "'Plan - BendixKing Team'.
    *Screen 0200
        PERFORM bdc_dynpro      USING 'SAPLRHUZ' '0200'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'EDIT_BIND_DEF-EXPR_LOW(02)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SAVE'.
       PERFORM bdc_field       USING 'P1000-BEGDA'
                                 '23.03.2011'.
       perform bdc_field       using 'P1000-ENDDA'
                                 '31.12.9999'.
        PERFORM bdc_field       USING 'P1000-SHORT'
                                       wa_resp-short. "'PL-BK'.
        PERFORM bdc_field       USING 'P1000-STEXT'
                                       wa_resp-stext. "'Plan - BendixKing Team'.
        PERFORM bdc_field       USING 'EDIT_BIND_DEF-EXPR_LOW(02)'
                                       wa_resp-category.        "'z11'.
        CALL TRANSACTION c_tcode USING it_bdcdata
                                 MODE c_mode
                                 MESSAGES INTO it_bdcmsgcoll.
        IF sy-subrc <> 0.
          MESSAGE i001(ymsg)."Error Message
         ROLLBACK WORK.
        ELSE.
          REFRESH : it_bdcdata,
                    it_bdcmsgcoll.
    **screen 0410
          PERFORM bdc_dynpro      USING 'SAPLRHUZ' '0410'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'P1000-OBJID'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=CHG'.
          PERFORM bdc_field       USING 'P1000-OBJID'
                                         p_rule. "'90000162'.
    **screen 0420
          PERFORM bdc_dynpro      USING 'SAPLRHUZ' '0420'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=RELI'.
          PERFORM bdc_field       USING 'DATESET'
                                        'O'.
    **screen 0110
          PERFORM bdc_dynpro      USING 'SAPLRHW0' '0110'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=CONT'.
    **screen 0100
          PERFORM bdc_dynpro      USING 'SAPLRHWL' '0100'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'PCHDY-SEARK'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=CONT'.
          PERFORM bdc_field       USING 'PCHDY-SEARK'
                                         wa_resp-short. "'PL-BK'.
    **screen 0120
          PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 '04/03'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENTR'.
    **screen 0400
          PERFORM bdc_dynpro      USING 'SAPLRHUA' '0400'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=INSE'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'PERIOD-BEGDA'.
          PERFORM bdc_field       USING 'PERIOD-BEGDA'
                                        '29.03.2011'.
          PERFORM bdc_field       USING 'PERIOD-ENDDA'
                                        '31.12.9999'.
          CALL TRANSACTION 'OOCU_RESP' USING it_bdcdata
                                       MODE c_mode
                                       MESSAGES INTO it_bdcmsgcoll.
          IF sy-subrc <> 0.
            MESSAGE i001(ymsg)."Error Message
            ROLLBACK WORK.
          ELSE.
            MESSAGE i000(ymsg)."Success Message
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " BDC_TO_CREATE_REP
    Guide me on this.
    Thanks

  • ODI agent creation issue

    Hi,
    I am trying to create ODI agent in Windows. I have followed the steps in ODI set up document. It has launched the server. Now I am trying to create that as a windows service. But I am getting following error message.
    I ran the followiing the command line
    <ODI_HOME>\bin\agentservice -i -s Sched_Agent 20910
    The error I am getting is
    "FATAL | wrapper | The argument 'Files\Java\jdk1.5.0_12\bin\java.exe' is not a valid property name-value pair."
    I have 10.1.3.5.5
    My ODI_JAVA_HOME is pointing to C:\Program Files\Java\jdk1.5.0_12. Is this the issue for the error
    Anyone knows why its happening.
    -app
    Edited by: user6401072 on Jul 28, 2010 11:35 AM

    The reason is becuase you JDK path is some thing like this c:\program files\Java\jdk1.5.0_12\bin\java.exe'
    so what is the happening becuase of space between program and files its not picking up the correct JDK path .
    Either change the path of JDK installation or
    go to your odiparam path and go to this line
    if "%ODI_JAVA_HOME%" == "" set ODI_JAVA_HOME="c:\program files\Java\jdk1.5.0_12"
    or
    if "%ODI_JAVA_HOME%" == "" set ODI_JAVA_HOME='c:\program files\Java\jdk1.5.0_12'
    i dont remember exactly whether single or double quotes but try and let me know if that helps you

Maybe you are looking for

  • Updated to ios7 and iTunes 11.1, Music won't play/phone won't sync

    I updated my iPhone 4s to ios7 today. I updated itunes to itunes 11.1 so I could sync it (on a toshibia pc running windows vista). Ever since the update, my Iphone won't play music that I haven't purchased off the itunes store, even though it does ap

  • Why do I have 2 application support folders? Also, can I relocate one or both to free up SSD space?

    I'm running Mavericks and imported a time machine backup of Snow Leopard during installation. I am trying to free up space on my boot SSD and was thinking of moving Users and Applications folders to their own partitions or drives.  I'm doing a lot of

  • PL43 possible bug

    Hi I'm opening an invoice form, switching to find mode, writing * in the DocNum field, clicking Find. A choose from list windows opens. If I click the Open button, the selected invoice opens, and the add-on gets the FORM_LOAD event, and everything ru

  • In the house provisioning profile

    Hi! I got problem on in the house provisioning profile on both iphone and ipad... My little brother accidentally delete it can any body know how to retrieve it??? Thanks... Then when it deleted my msg keeps on crushing and my 3G network keeps on disc

  • Migration Assistant not displaying relevant drive

    I purchased a 1TB SATA internal HD for my Mac Pro tower last night, with the intention of making it my start up disc. Currently I have a 500GB HD in bay 1 of 4, with a secondary internal drive in bay 2. I put the new 1 TB into bay 3, slid the carrier