Unable to create the sales team record using api AS_ACCESS_PUB.create sales

Hi all,
Please help with any sample code to create the sales team using AS_ACCESS_PUB.create sales team.
When i am initialising,i am getting AS_SALES_MEMBER_PVT USing Fn error
If i am not initialising,i am getting cannot read the value for profile option user_id;
Regards,
Raj

Hi Ankitha,
Your scenario is very vague.
You have got the PO in the client 130 system and you wanted to created a SO in the same client 130 system.
Usually we don't create a SO using the PO from the same system. Instead of using an IDOC concept, Call the BAPI BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2.
You can use any of the 2 BAPI's to create the sales order.
Write a custom program to call the BAPI and assign that custom program as a driver program to your output type which is being triggered in the PO document, then as soon as that output type is triggered it creates the sales order for you.
My sincere suggestion just counter check your requirement with the concerned persons as we don't generally create a sales order by referencing the po in the same system, but we create a po by referencing a so in the same system for Third party sales orders.
Thanks,
Mahesh.

Similar Messages

  • I am unable to upload the customer master data using BAPI.?

    Hi Guru's,
    i am unable to upload the customer master data using BAPI.(BAPI_CUSTOMER_CREATEFROMDATA1)
    Please guide me how upload the data...
    Thanks in iadvance
    Srinivas...

    Hello Srinivas
    This BAPI does not allow to create a new customer from scratch but only to copy an existing customer to a new one and change its address data.
    The reference customer has to be provided using IMPORTING parameter PI_COPYREFERENCE. See also the BAPI documentation for more details.
    The BAPI does the same like transaction XD01 with Reference.
    Regards
      Uwe

  • Unable to delete the error out record in Pending transactionsinterface form

    Hi Team,
    Help me having this issue....
    "Unable to delete the error out record in Pending transactions interface form".
    Version:11.5.10.2
    Regards,
    Arul

    Can you please give a more elaborate context?
    What application, responsibility and form, how are you trying to delete from the interface table, from front-end or via API?
    Thanks
    JD

  • Create the user master records using the Enterprise Portal

    Hello gurus!!
    I'm configuring SRM 7.0 with EP.
    I'm configuring the organizational structure, and steps guide (pdf and Solution Manager ) are:
    1. Go to transaction SU01 and create an ABAP User. (SRMADMIN)
    2. Assign this user the administrator role /SAPSRM/ADMINISTRATOR
    3. As the administrator, creater the organizational plan
    4. Create the remaining organizational unit
    5. Using the Enterprise Portal application, Business Parter:Employee, create the user master records for the departmental managers.
    How I must create the user in Enterprise Portal? What user I have to use to log on in the Enterprise Portal application? Has the user to be integrated in the organzational structure??
    Thanks in advance!!!!
    Best regards.
    Maria.

    Hi,
    You can create users in WebDynpro application. You can also create users in USERS_GEN transaction.
    Regards,
    Masa

  • Unable to see the sales area data while creating BP

    i am working on ides while creating BP data set (Sales area)is in not visible i am unable maintain the sales area deatils ( shiping and billing relevant data .etc).
    could some help me how to retrive the sales area data
    thanks in advance
    Swamy

    Hi Kumar,
    In that case I recommend you to check the view V_TBZJ1 in transaction SM30 and see whether the line
    Subheader  Screen text   Description  Appl. Scrn.seq.cat.
    CRM001     Sales area data CRM          CRM1  CRM001
    exist or not if not then pls maintain it.
    Also check the view V_TBZJ1C for the lines below
    Subheader  Description         Item number  Active
    CRM001     CRM:Sales area data    2            X
    If this also not exist then maintain it.
    After this you will be able to see sales area tab when you will create the BP in role SP.
    <b>Allot points if my post helps!!</b>
    Best regards,
    Vikash.

  • How to create Payment against the invoices in R12 using API/Interface table

    Hi Experts,
    I need your help.
    As per my requirement , we need to create the payments against the invoices using the payment information provided.
    Earlier the Payments against the invoice is done by (3rd party system) in 11i.
    But, as a part of R12 implementation,
    The requirement is like now they are going to provide us and flat file(having below payment information) and we need to create the payment with these information.
    COLUMNS PROVIDED
    SOURCE
    INVOICE INTERNAL NUMBER #
    ACCOUNTING SEGMENTS
    DEBIT/CREDIT
    AMOUNT
    CURRENCY
    BANK ACCOUNT
    PAYMENT DATE
    DUE DATE
    PAYMENT METHOD
    PAYMENT TERMS
    BATCH ID
    We need to create an inbound interface to achieve the below requirement.
    1. Create the payments in oracle R12 with the above payment information. (unable to find the way please suggest).
    2. Creating the Journal entries. -> We are having GL_INTERFACE & Journal Import program to import the journals.
    3. Finally we have to posting the same into GL.-- Interface & Import programs available.
    Is there any api or interface tables can be used to create the payment against the invoices in r12?
    Could you please help me to achive my above requirements.
    Any sample code or reference will be a great help for me.
    Waiting for your response.
    Thanks,
    Thiru.

    Hi Thiru,
    Perhaps these links can help:
    http://ccchuanblog.blogspot.in/2010/12/oracle-ap-payment-api.html
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/ap-invoice-payment-need-help-4037407
    See "Understanding Oracle Payments APIs" here:
    http://docs.oracle.com/cd/B40089_10/current/acrobat/120ibyig.pdf
    If this answers your question, please mark the post. Thanks.
    Kristofer Cruz
    Edited by: Kristofer Cruz on Sep 5, 2012 2:41 PM

  • Unable to replicate the Vendor Master Records

    Hi I am using the transaction BBPGETVD to transfer the Vendor Master Records from R/3 ro SRM...but could not able to transfer it as I am getting an error "Organizational unit -
    does not exist; check entries", even through I have created Organisation Structure for Vendor also. I have maintained all the relavent parameters in the Attributes.
    The following attributes I have maintained: System Alias for Accounting Systems, Company Code, Local Currency, Current ITS for an External Partner, Accounting System for Vendor, System Alias for Vendor.
    Can any one tell me is there any other parameters to be maintained or where I am going wrong.
    I am working on SRM5.0.
    Thanks and Regards
    PKM

    Hi
    Please go through these links.
    Re: vendor not intended for a puchasing org
    Re: Vendor replication
    Re: Not able to replicate Vendor from R/3
    Re: What are the steps to me followed to get the vendors from R/3 to SUS
    Re: Vendor replication Error. SAP R/3 to EBP system
    Re: vendor replication
    Re: Vendor replication
    Replication of verdor records
    Regards
    - Atul

  • Unable to load the data into Cube Using DTP in the quality system

    Hi,
    I am unable to load the data from PSA to Cube using DTP in the quality system for the first time
    I am getting the error like" Data package processing terminated" and "Source TRCS 2LIS_17_NOTIF is not allowed".
    Please suggest .
    Thanks,
    Satyaprasad

    Hi,
    Some Infoobjects are missing while collecting the transport.
    I collected those objects and transported ,now its working fine.
    Many Thanks to all
    Regards,
    Satyaprasad

  • Unable to save the sales order in varient configuration

    Hi Gurus,
    In varient configuration i have done all the settings and it works fine, and i am getting one error
    while saving the sale order(incomplete long) showing configuration.
    while click the error shwoing like this :
         Item 000011 can only be changed by configuring material XXXX(item 000010)
    Error Message NO. V1456
    (Item &1 can only changed by configurable material &2 (item &3))
    Please help in in this regards.
    Where i am missing the settings.
    Thanksa and reagards
    E.Rambabu

    Dear Rambabu,
    While saving the sales order Configuration showing in the incompletion log means it is related to configurable material only so you look in these areas,
    1.Check the BOM settings whether BOM is exploding properly or not.
    2.Item category is getting determined or not.
    3.Have you able to select the sub item items through configuration selection screen or not.
    4.Go to transaction VOV7 check the item category settings related to the configuration.
    5. Have you maintained all the data in the KMAT (Configurable) material master data like class assignment etc.
    I hope this will help you,
    Regards,
    Murali.

  • Reterive the KM  Folder by using API

    Hi All,
    How to reterive the KM  Folder (root\documents\Images)  using API?
    Regards
    Thillai

    Hi,
    Check this:
    RID rid =RID.getRID("/documents/Images");
      IUser contextUser = (IUser) ((IPortalComponentRequest) this.getRequest()).getUser().getUser();
                ResourceContext resourceContext = new ResourceContext(contextUser);
    public static IResource getResource(RID rid, IResourceContext resourceContext) {
              IResource resource = null;
              if (rid == null || StringUtils.isEmpty(rid.toString())) {
                   return resource;
              try {
                   resource = (IResource) ResourceFactory.getInstance().getResource(rid, resourceContext);
              } catch (AuthorizationRequiredException e) {
                   logger.severe(e, logger_infos + "Exception AuthorizationRequiredException caught" + e.getMessage());
              } catch (ResourceException e) {
                   logger.severe(e, logger_infos + "Exception ResourceException caught" + e.getMessage());
              if (resource == null) {
                   logger.warning(logger_infos + "getResource resource=[null]");
              } else {
                   logger.info("getResource resource=[" + resource.getDisplayName() + "]");
              return resource;
    This code brings the folder which you should cast it to ICollection object and iterate on the children.
    Also check the KM API:
    http://help.sap.com/javadocs/NW04S/current/km/index.html
    Regards,
    Praveen Gudapati

  • How to treminate or endate the supplier In R12 using API

    Hi ,
    I want to terminate the supplier in R12 is thier any API?
    Thanks
    Triveni

    You may try:
    POS_VENDOR_PUB_PKG.UPDATE_VENDOR
    or
    AP_VENDOR_PUB_PKG.UPDATE_VENDOR
    I think you can update the effectivity dates with those APIs.
    Hope it helps

  • Unable to get the execution plan when using dbms_sqltune (11gR2)

    Hi,
    Database version: 11gR2
    I have a user A that is granted privileges to execute dbms_sqltune.
    I can create a task, excute it and run the report.
    But, when I run the report I get the following error:
    SQL> show user
    USER is "A"
    SQL> set long 10000 longchunksize 10000 linesize 200 pagesize 000
    select dbms_sqltune.report_tuning_task(task_name => 'MYTEST') from dual;SQL>
    GENERAL INFORMATION SECTION
    Tuning Task Name : MYTEST
    Tuning Task Owner : A
    Workload Type : Single SQL Statement
    Scope : COMPREHENSIVE
    Time Limit(seconds): 1800
    Completion Status : COMPLETED
    Started at : 05/15/2013 11:53:22
    Completed at : 05/15/2013 11:53:23
    Schema Name: SYSMAN
    SQL ID : gjm43un5cy843
    SQL Text : SELECT SUM(USED), SUM(TOTAL) FROM (SELECT /*+ ORDERED */
    SUM(D.BYTES)/(1024*1024)-MAX(S.BYTES) USED,
    SUM(D.BYTES)/(1024*1024) TOTAL FROM (SELECT TABLESPACE_NAME,
    SUM(BYTES)/(1024*1024) BYTES FROM (SELECT /*+ ORDERED USE_NL(obj
    tab) */ DISTINCT TS.NAME FROM SYS.OBJ$ OBJ, SYS.TAB$ TAB,
    SYS.TS$ TS WHERE OBJ.OWNER# = USERENV('SCHEMAID') AND OBJ.OBJ# =
    TAB.OBJ# AND TAB.TS# = TS.TS# AND BITAND(TAB.PROPERTY,1) = 0 AND
    BITAND(TAB.PROPERTY,4194400) = 0) TN, DBA_FREE_SPACE SP WHERE
    SP.TABLESPACE_NAME = TN.NAME GROUP BY SP.TABLESPACE_NAME) S,
    DBA_DATA_FILES D WHERE D.TABLESPACE_NAME = S.TABLESPACE_NAME
    GROUP BY D.TABLESPACE_NAME)
    ERRORS SECTION
    - ORA-00942: table or view does not exist
    SQL>
    It seems there a missing privileg for dislaying the execution plan.
    As a workaround, this is solved by granting select any dictionay (which I don't want) to the user A.
    Does someone have an idea about what privilege is missing?
    Kind Regards.

    Hi,
    SELECT ANY DICTIONARY system privilege provides access to SYS schema objects only => which you are using as workaround
    SELECT_CATALOG_ROLE provides access to all SYS views only.==> Safe option
    SQL> grant SELECT ANY DICTIONARY to test;
    Grant succeeded.
    SQL> conn test/test
    Connected.
    SQL> select count(*) from  sys.obj$;
      COUNT(*)
         13284
    SQL> conn /as sysdba
    Connected.
    SQL> revoke SELECT ANY DICTIONARY from test;
    Revoke succeeded.
    SQL> grant SELECT_CATALOG_ROLE to test;
    Grant succeeded.
    SQL> conn test/test
    Connected.
    SQL> select count(*) from  sys.obj$;
    select count(*) from  sys.obj$
    ERROR at line 1:
    ORA-00942: table or view does not existHTH

  • Unable to email the keynote presentation to using pdf file or PPT file.  It seems went though, but never got the email

    I just purchased the keynotes add from Ipad Mini last night.  My daughter created the presentations from keynotes app and was going to send an emails to her teacher.  This is for her school project, however, when we tried to email as ppt, it gave us an error message that you can not saved or email, so we tried send it as pdf file, it did not give me an error message, however, I never got the email either from last night since I cc myself when we tried to send the project to her teacher and I tried it this morning and did not got through either.  Am I missing something here??  Please help, she needs to turn in her project by today and she is already late with her school work....  Please advise...........
    Thanks,
    Vivian

    Use Dropbox to send large files that cant be sent using email:
    https://www.dropbox.com/

  • Unable to deploy the web application that uses a ejb3.0

    Hi,
    I have created a adf application with Model and a ViewController.
    Locally from jdeveloper I am able to run the application successfully by right clicking the web page and click on Run.
    However, when I try to deploy this application that contains both Model and ViewController, I am getting an error:
    [04:41:52 PM] Weblogic Server Exception: weblogic.application.ModuleException: Could not setup environment
    [04:41:52 PM] Caused by: weblogic.deployment.EnvironmentException: [J2EE:160167]The module QC-ViewController-context-root in application QC_application1 uses ejb-links but no EJB modules were found for this application.
    [04:41:52 PM] See server logs or server console for more details.
    [04:41:52 PM] weblogic.application.ModuleException: Could not setup environment
    [04:41:52 PM] #### Deployment incomplete. ####
    [04:41:52 PM] Remote deployment failed
    Any help on this issue is appreciated.
    Thanks
    Saikrishna

    Hi Saikrishna,
    I had the same problem. My fix was to create a new Deployment Profile (EJB JAR file) in my Model (the default is an "ADF Library JAR file") and have my ViewController depend on that.
    Also, make sure your ejb references in web.xml have the ejb-link attribute:
    <ejb-local-ref>
    <ejb-ref-name>AuditSessionEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>com.incomemax.ejb.session.AuditSessionEJBLocal</local>
    <ejb-link>AuditSessionEJB</ejb-link> <---- this entry
    </ejb-local-ref>
    Hope that helps,
    Chris

  • Re: Unable to activate the Windows Vista Business using the Microsoft key

    I am facing difficulty in activating the microsoft package , each time i enter the product key printed on the sticker fixed on my pc , it says wrong key.
    Please help.

    The Microsoft key you can find on the bottom side of your notebook is not a kind of universal key and this key belongs to Vista preinstalled on your notebook. You got your notebook with preinstalled Vista. With your notebook you paid one license and operating system.
    Following Toshiba reminder you must create Toshiba recovery DVD and this installations DVD you can use so often you want with your notebook. This Vista version belongs to you and can be used with your notebook only.
    If you use Microsoft installations DVD you must have key for this version. if you don't have it you must buy a key online and activate preinstalled Vista version.

Maybe you are looking for