URGENT-Usage Of -BAPI_CUSTOMER_CREATEFROMDATA

HI CONSULTANTAS,
i have got this document(SEE BELOW) form SAP-0SSNOTES,
1.WT DOES REALLY MEAN.
2.<b>CAN I CALL THIS FROM REPORT PROG TO CREATE THE CUSTOMER
  OR CAN I HAVE TO USE BDC ONLY</b>
Symptom
This note is meant to provide an explanation of the usage of function modules BAPI_CUSTOMER_* of function group V02D.
Other terms
BAPI_CUSTOMER_CREATEFROMDATA, BAPI_CUSTOMER_CREATEFROMDATA1,
BAPI_CUSTOMER_CHANGEFROMDATA, BAPI_CUSTOMER_CHANGEFROMDATA1
BAPI_CUSTOMER_GETDETAIL, BAPI_CUSTOMER_GETDETAIL1
BAPI_CUSTOMER_SEARCH, BAPI_CUSTOMER_SEARCH1
BAPI, SAP Online Store, ISA, ISA-R3, ISA-R/3, consumer, create customer
Solution
The BAPIs of the function group V02D are intended exclusively for use in the SAP Online Store and the SAP Internet Sales R/3 Edition, that is you can create or change consumers from the SAP Online store and SAP Internet Sales R/3 Edition in the R/3 system. You cannot use them to create or change customer masters or consumers in the standard system; you can only do this using ALE or Batch Input.
When you use the above-mentioned BAPIs outside of SAP Online Store or SAP Internet Sales R/3 Edition, or with customer master records that were created or edited outside of the SAP Online Store or SAP Internet Sales R/3 Edition, there is a danger that you will lose data.
PLZ HELP ME
REGARDS
HARI

Hi Martin,
from the function module documentation:
- Fields of import parameter PI_COPYREFERENCE:
R/3 reference customer, sales area data (sales organization,
distribution channel, division)
Note on reference customer:
The reference customer should be created bearing in mind that its
sole purpose is to provide data for customers that are created via
the BAPI.
That is, the reference customer is not an operative customer in the
business sense. As a result, the customer should be created with a
separate account group with internal number assignment. In addition,
the reference customer must exist in the organizational data that is
transferred to the BAPI.
If company-code-independent data is transferred to the BAPI, the
reference customer must be created for a company code.
So, if you have created a reference customer already, you should know the organizational data (Org/DistrChan/Division and Company code).

Similar Messages

  • Very urgent - Usage of IsError function in HFR

    Hi All,
    Its very urgent requirement for us.
    How can we use the is error function in HFR.bcoz if the both values in formula ex: a/b ; a=0,b=0; then it shows some garbage value.i came to know we can achieve that
    by using iserror function.but i dnt know how use it.
    Thanks,
    Ravi

    Hi
    It can be done in this way using IfThen condition
    IfThen(IsErr((reference row/column),0,(reference row/column))
    where IfThen checks the condition
    Condition is IsErr, it returns true when reference formula row/column,has #error value, so you many assign 0 (or whatever value you want) else returns actual calulated value from formula row/column,.
    PS: Only formula rows and columns can result in #error.
    Cheers
    Vikas Naidu

  • URGENT : Problem in DataSource usage in Client applIcation

    URGENT : Problem in DataSource usage in Client applIcation
    Hi ALL
    I have deployed a EJB(Session Bean) in Oracle-OC4J Container.I am using datasources, in my bean as well as in my client
    application.Here Client is deployed along with bean in container.
    I am using "ejb-location"JNDI Name inside Client to get connection.
    (Which is mentioned in datasource element of datasources.xml)
    For this i have configured datasources.xml also.
    If i use "oracle.jdbc.pool.OracleDataSource" in datasources.xml then ClassNotFoundException is coming.
    But i have included classes12.jar in home/lib directory
    But if i use "com.evermind.sql.ConnectionDataSource" then i am getting connection.But if i do some operations(Even
    setAutoCommit(false))its giving NULL PointerException.
    Why this is happening?
    Thanx in advance
    Venky

    Hi Venkastesh,
    There are two issues. If your entry is like this....
    location="microDS"
    xa-location="jdbc/xa/MicroXADS"
    ejb-location="MicroPool"
    ...then use ejb-location for database calls through ejb and location when you try to get through normal java client.
    This will help you.
    regards,
    Vijay
    null

  • Subcontract MRP Area with quota usage - urgent

    We have a subcontractor supplying assembly X which in turn require us to supply component Y to the subcontractor. We have two vendor for supplying component Y to subcontractor. Scheduling agreement with component vendors are set up for direct delivery to subcontractor. Both the scheduling agreements are included in the source list with MRP indicator 2. Quota arrangement is set up for the component.
    We have set subcontractor MRP area and assigned the same to component Y material master. Special procurement key 20 is assigned in subcontractor MRP area. Quota usage and source list are duly enabled. Quota usage indicator is 3 which provides for MRP, PR, schedule line etc.,
    When we run MRP ffor component Y for subcontract MRP area, system is generating schedule line for but without update quota file. Further, the scheduling agreement picked up is not of the correct vendor as per Quota logic.
    Does SAP support quota usage with subcontract MRP area. If not, is there a work around.
    Shall appreciate urgent response

    Dear Ravi,
    you will get a seperate location product for your material. MRP areas in apo are represented by a seperate location (type 1007 = storage location mrp area). You can transfer your ecc mrp areas via cif (CFM1). The master data you maintain in mrp section of the material master in R/3 will be trasfered to that location product. Furthermore you can maintain it manually in apo MAT1 (location = name of your mrp area). That technique provides you the possibility to maintain different parameters for the plant and the mrp area.
    Kind regards,
    Christian

  • JDeveloper 9i - Debugger Usage Question (Urgent!)

    So how do I switch between the client applet and server side in a debugging session. Here is my scenarion:
    1> I start java in debug mode
    set PATH=d:\jdev9i\jdk\jre\bin;%PATH%
    cd d:\jdev9i\j2ee\home
    java -ojvm -XXdebug,detached,port4000 -jar oc4j.jar
    2> You'll see the following message:
    *** Port is 4000 ***
    *** Connect debugger anytime for on demand debugging. ***
    Then, OC4J will start up.
    3> Back in JDeveloper, bring up the Project Settings dialog box.
    Select Debugger on the left side, check the Remote Debugging
    checkbox, and select the Attach to OJVM radio button.
    4> Put breakpoints in my code
    5> When you press Debug button on the toolbar (or from the menu),
    you will be presented with the Attach to OJVM dialog box where
    you enter the host name of the OC4J machine (leave blank if it's
    the same machine) and the debugging port number (4000). Press
    Ok, and the debugger will connect to OC4J.
    6> Next I start mmy web application from the browser using
    http://localhost:8888/property
    7> This triggers my breakpoints.
    ****However here is my problem. At some point in my flow I have to download an applet and I have breakpoints in it that I want to hit. However Jdeveloper just ignores those breakpoints completely.
    So how do I switch between the client applet and server side in a debugging session.
    Please help urgent!
    (Hope Liz Looney-> the debugger pro answers)
    FYI: Jdeveloper9i has a cool debugger!!!

    I have not tested this, but I believe all you have to do is:
    [list]
    [*]Create a new project, and add a test HTML page to it that contains an HTML link to the URL that you are using to launch your applet.
    [*]Right-mouse debug on that HTML page after setting breakpoints in your applet code
    [*]Click on the link in your HTML page
    [list]
    JDeveloper can be simulataneously debugging multiple sessions as once.
    Creating the second empty project gives a simple way to have one project set for remote debugging and the other project set for local (applet or otherwise) debugging.

  • Urgent!!!: Usage of connectionfactory with pre-configured... additional info

              In addition to my previous mail the exception seems to occur when:
              the message driven bean in the weblogic deployment desriptor uses:
              - Only <connection-factory-jndi-name> which points to a topic connection factory
              that has the client id field set. (So without the jms-client-id)
              - Both <connection-factory-jndi-name> which points to a topic connection factory
              that has the client id field set and <jms-client-id> which contains the same client
              id as the connection factory
              - Both <connection-factory-jndi-name> which points to a topic connection factory
              that DOES NOT have the client id field set and <jms-client-id> which DOES contain
              a client id.
              I don't know if this has something to do with it, but previously a different MDB
              had subscribed durably to the same topic by setting the client id in the deployment
              descriptor. The durable subscription was manually removed via the console and
              the server has been restarted afterwards, but the exception still occurs.
              --- example of non working dd ---
              --- connection factory has NOT been conigured with a client id ---
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>EJBMDBComponent</ejb-name>
              <message-driven-descriptor>
              <destination-jndi-name>topic/MyTopic</destination-jndi-name>
              <connection-factory-jndi-name>jms.MyTopicConnectionFactory</connection-factory-jndi-name>
              <jms-client-id>blabla</jms-client-id>
              </message-driven-descriptor>
              <jndi-name>EJBMDBComponent</jndi-name>
              </weblogic-enterprise-bean>
              

    Urgent issues should go through customer support, this is an
              informal forum.
              The thing to understand is that only one
              active connection may use a given client-id at a time. Check
              JMS statistics to make sure there truly is no other
              connection using the client-id - you can get a list of
              active connections via the console.
              See my answer to your other recent post for more info.
              Tom, BEA
              Raymond Brandon wrote:
              > In addition to my previous mail the exception seems to occur when:
              >
              > the message driven bean in the weblogic deployment desriptor uses:
              > - Only <connection-factory-jndi-name> which points to a topic connection factory
              > that has the client id field set. (So without the jms-client-id)
              > - Both <connection-factory-jndi-name> which points to a topic connection factory
              > that has the client id field set and <jms-client-id> which contains the same client
              > id as the connection factory
              > - Both <connection-factory-jndi-name> which points to a topic connection factory
              > that DOES NOT have the client id field set and <jms-client-id> which DOES contain
              > a client id.
              >
              > I don't know if this has something to do with it, but previously a different MDB
              > had subscribed durably to the same topic by setting the client id in the deployment
              > descriptor. The durable subscription was manually removed via the console and
              > the server has been restarted afterwards, but the exception still occurs.
              >
              > --- example of non working dd ---
              > --- connection factory has NOT been conigured with a client id ---
              >
              > <weblogic-ejb-jar>
              > <weblogic-enterprise-bean>
              > <ejb-name>EJBMDBComponent</ejb-name>
              > <message-driven-descriptor>
              > <destination-jndi-name>topic/MyTopic</destination-jndi-name>
              > <connection-factory-jndi-name>jms.MyTopicConnectionFactory</connection-factory-jndi-name>
              > <jms-client-id>blabla</jms-client-id>
              > </message-driven-descriptor>
              > <jndi-name>EJBMDBComponent</jndi-name>
              > </weblogic-enterprise-bean>
              >
              

  • Parameter Usage ------- Urgent please

    Hi,
    I have question regarding the usage of Parameters in the query of business view.
    I am using the following query to get results between specified period of date and for a particular devicename:
    SELECT to_char(A.dev_usg_date,'MM-DD-YYYY'),to_char(A.DEV_USG_TIMESTAMP,'HH24:MI:SS'), A.DEV_USG_USER_PCT, A.DEV_USG_NICE_PCT, A.DEV_USG_SYS_PCT, A.DEV_USG_IDLE_PCT FROM JCVSF.DEVICE_USAGE A, JCVSF.DEVICE B where dev_usg_date BETWEEN to_date('dateParam1','MM/DD/YYYY') AND to_date('dateParam2','MM/DD/YYYY') AND DEV_NAME = 'devicename' AND A.dev_usg_dev_id = B.dev_id order by A.dev_usg_date
    I am passing dateParam1 and dateParam2 and devicename as parameters.
    I am implementing it thorough jsp page(written code from scratch). But I want to implement it through Business view object.Could you please tell me a way to make use of parameters in bc4j view object.
    Thank You
    Sirisha

    You'd do it exactly the same as I show above. My example is using a query against DNAME with two string-valued bind variables. Yours would use a query against your table with three string-valued bind variables :0, :1, and :2.
    Then, you'd need to build a JSP page that accepts your three parameters in an HTML form.
    Each of those fields would have a name. That section of your JSP page might look something like this:
      <form action="ShowDevices.jsp" method="post">
        Start Date: <input type="text" name="startdate"><br>
          End Date: <input type="text" name="enddate"><br>
        DeviceName: <input type="text" name="device"><br>
        <input type="submit" value="Go">
      </form>Then, in your version of the page above, your JSP snipped would grab the values of these three parameters and set them as the bind variable values:
    <%
      ds.getRowSet().setWhereClauseParam(0,request.getParameter("startdate");
    ds.getRowSet().setWhereClauseParam(1,request.getParameter("enddate");
    ds.getRowSet().setWhereClauseParam(2,request.getParameter("device");
    %>This is assuming your view object has a where clause that looks like this:
    YOUR_DATE BETWEEN :0 and :1 AND DEVICE_NAME = :2The above would expect the format of the starting and ending date strings to be in Oracle-style like "23-NOV-2005".
    If instead they are in some other format, you just would need to change the View Object where clause to convert them into a date using the appropriate format mask.
    For example, say your date picker ends up setting the value into the paramter to something that looks like "2005-11-23" instead of "23-NOV-2005".
    Then, you would change your View Object where clause to be like:
    YOUR_DATE BETWEEN TO_DATE(:0,'YYYY-MM-DD') AND TO_DATE(:1,'YYYY-MM-DD') AND DEVICE_NAME = :2Furthermore, let's say the device_name column was always uppercase in the database but the user might enter it in lowercase. If you want to make it easy on the user and perform a case-insensitive match, you could make your where clause look like this instead:
    YOUR_DATE BETWEEN TO_DATE(:0,'YYYY-MM-DD') AND TO_DATE(:1,'YYYY-MM-DD') AND DEVICE_NAME = UPPER(:2)Hope this clears things up.

  • Urgent help firmware 6.0.2 only 2hrs usage

    Guys, just opened my brand new iPhone 5 had every iPhone that been launched to date but this iPhone I am only getting 2hours usage with no Apps installed yet why my battery life so terrible possible this firmware update release by apple has a bug that effects battery life any fix at all.

    Getting the same thing as you described.

  • Calibration: Error while taking Usage Decision (Urgent)

    Hi Gurus,
    I created one test equipment and installed it on some m/c and while doing calibration during usage decision if i reject the equipment it is giving me the error : equipment installed on superior equipment.
    if i accept the usage decision system gives no error.
    and it is customer requirement that their instruments should be installed on some m/c not on functional locations.
    Please suggest the solution
    Regards
    Pankaj

    Hi,
    As per the SAP general process first you need to dismantle sub equipment from superior equipment for taking UD, since it is assigned with superior equipment System wil not allow for taking UD.
    Regards
    Sendil

  • Customizing Query Usage form - Urgent

    Hi,
    Is there any help topic on customizing query usage form. Could someone tell me how to change the Label of the columns that are used for search criteria. Changing the labels in attribute property is helping in Browse form but not it in Query form.
    Thank You
    Sirisha

    please help me to solve the issue...

  • Quantity Of Sample Not Scrapped Afetr Usage Decision  (Urgent !!)

    Hello Guru's,
    We have many samples wich are not automatically scrapped during usage decision quantity still stays in sample area 046(Storage Type).
    I don't understand why the samples are not scrapped.
    Can I have your suggestions pls..or any user exits to handle this requirement or how I need to approach this problem to get the solution.
    Points will be rewarded.
    Regards
    Ravi Ganji

    Hi all
    When I am testing the tast thru SWUD its working fine.I have to provide inspection lot no. and workitem go to my workplace.there i can make usage decision and the task is over.I am using task no TS 00008331
    Thanks in advance.
    Ashwani

  • High CPU usage on all cores by ntoskrnl.exe? Help needed urgently Please.

    ntoskrnl.exe, system, has multiple cores running with high usage, locking up my system when using programs.
    After looking through the forums I did the following:
    I ran
    sfc /scannow but nothing found. 
    I used process Explorer to find that the system has a thread <ntoskrnl.exe!TtlSid HashLookup+0x 1ffc> that
    is using up 40+% of all four cpu cores. Looks like a driver fault with 8.1, but cannot pinpoint the device. Any clues msg me. 
    I have created an etl file that contains usage data. this is present here:
    https://dl.dropboxusercontent.com/u/8554814/highCPUUsage.zip
    Would be a lot of help if this can be resolved. please help.

    forgot to ask, may I know your PC model?
    mostly is related to the network, networking software, or software which need internet connection
    did you already updated all the network driver?
    is there any networking software or downloaded software? may I know your antivirus status? firewall?
    try clean boot and go to safemode to check, choose safe mode only, safe mode with networking and normal mode without internet (unplug cable or disconnect Wifi)

  • Urgent: XSQLRequest Usage in Stored procedure

    Hi Steve,
    I have developed a java stored procedure and published it as required to be called from a trigger.My java code uses XSQLRequest to read the .xsql page.
    Earlier i was not able to resolve the java code which i had written but some how i finally was able to resolve the code and publish as stored procedure.
    when i run my stored procedure it writes output to the file as intended but it reads as follows:
    Oracle XSQL Programmatic Page Processor 0.9.8.6 (Technology Preview)
    XSQL-003: Failed to find 'XSQLConnections.xml' file in server CLASSPATH.
    XSQL-004: Could not acquire a database connection named: pnet
    XSQL-007: Cannot acquire a database connection to process page.
    since the stored procedure runs inside the oracle server and all the java classes are inside the oracle server i'm unable to comprehend this error.
    it says to have the XSQLConnections.xml file in my classpath but what do i do to change the classpath and which one since i'm running the code inside the oracle server how do i specify the classpath?
    sorry if this sound silly but i'm confused and may be u can help me with this.
    Thanks
    Aman

    loadjava -u username/password XSQLConfig.xml
    this will load the xml file as a resource
    into your server classpath.

  • URGENT - please help (externalInterface usage if Flash is an asset)

    Hi!
    Old 'liveConnect' object is ot working in Firefox. This
    renders using
    'EvalScript()' JavaScript function useless while
    communicating from
    browser to embedded Macromedia Shockwave (Director not Flash
    !) movie.
    Seems the only solution for this problem is using Flash asset
    inside
    Director movie as a gateway.
    One ulky solution was published by Valentin Schmidt here:
    http://staff.dasdeck.de/valentin/lingo/dir_js/
    But this is old method - prior externallInterface class was
    implemented
    in Flash.
    Do you have any idea how to use externalInterface interface
    in case of
    Flash embedded in Shockwave in a purpose to receive browser
    events sent
    from JavaScript???
    Rgs,
    Ziggi

    Hi Sponce,
    This is a bug in FC: FC has assigned two different objects to be called "group6". Please email me the file so I can make sure we have this bug filed. To work around  it, you just need to figure out which objects have the ID "group6" and delete one of them. This is pretty straightforward: in the problems panel, the errors will have a line #. Find that line # in the file - that tells you where the error is in the code. Now you need to figure out which object that is. You might be able to do this by looking at what it has inside it: if it's a  tags inside it, well, then, it's the group with 3 rects. Otherwise, you can do it by position in the file: the code is in reverse z-order, so the last thing in the code is the topmost thing in the layers panel.
    -Adam

  • Component Usage (Urgent)

    Hi All,
    Can a view ui container contain more than one component instance. If so at runtime can i choose any one of the instance and create the component and display it.
    Mahesh

    Hi Thomas,
    Thanks for the quick response:
    I am following your eClass on Dynamic Navigation and have corrected this error.  Currently your code will noy syntax check. The error is:
    Names like "NAME()" or "NAME+", as in "WD_THIS->WD_GET_API()", are identical to "NAME". These are no longer allowed in Release 4.0.          
    If I select the package SWDP_RUNTIME_REPOSITORY of The Interface IF_WD_NAVIGATION_SERVICES, and select the Package Interface SWDP_RUNTIME_REPOSITORY; selecting visible elements 'IF_WD_NAVIGATION_SERVICES' shows the release status of 'Not Supported'.
    method ONACTIONNAVIGATION .
      data:
        Elem_Context                        type ref to  
        If_Wd_Context_Element,
        Stru_Context                        type
        If_V_Main=>Element_Context ,
        Item_FUNCTION                       like
        Stru_Context-FUNCTION.
    get element via lead selection
      Elem_Context = wd_Context->get_Element(  ).
    get single attribute
      Elem_Context->get_Attribute(
        exporting
          Name =  `FUNCTION`
        importing
          Value = Item_Function ).
      case Item_Function.
        when '1'.
        when '2'.
        when '3'.
        when others.
      endcase.
      data: l_api_main type ref to if_wd_view_controller.
      l_api_main = wd_this->wd_get_api().
    DATA SOURCE_VUSAGE_NAME TYPE STRING.
    DATA SOURCE_PLUG_NAME   TYPE STRING.
    DATA TARGET_VIEW_NAME   TYPE STRING.
    DATA TARGET_PLUG_NAME   TYPE STRING.
    DATA COMPONENT_USAGE    type ref to cl_wdr_component_usage.
    *TRY.
      CALL METHOD l_api_main->DO_DYNAMIC_NAVIGATION
        EXPORTING
          SOURCE_WINDOW_NAME        = 'V_EMPTY1'
          SOURCE_VUSAGE_NAME        = SOURCE_VUSAGE_NAME
          SOURCE_PLUG_NAME          = SOURCE_PLUG_NAME
       PLUG_PARAMETERS           =
       TARGET_COMPONENT_NAME     =
       TARGET_COMPONENT_USAGE    =
          TARGET_VIEW_NAME          = TARGET_VIEW_NAME
          TARGET_PLUG_NAME          = TARGET_PLUG_NAME
       TARGET_EMBEDDING_POSITION =
        RECEIVING
          COMPONENT_USAGE           = COMPONENT_USAGE.
    CATCH CX_WD_RUNTIME_REPOSITORY .
    *ENDTRY.
    endmethod.

Maybe you are looking for

  • Java TV 1.1 License for Maven

    Hello, there. Can anybody tell me whether I can or not upload Java TV 1.1.1 sources (and recompiled classes) to Maven Central Repository? I'm a TV application developer. And I want to make a JavaTV artifact for development. I read the license text, b

  • Connect I pad to ipod

    I have an older I pod classic I want to connect to an ipad

  • How to rename playlists?

    I can't seem to change the name on playlist I've created in iTunes on my ipad. Is that correct? Surely I must be able to change it without having to delete it and set up a new one?

  • BW Hierarchy Authorization

    Hi,    My requirment is to create Roles that restrict authorizations on Profit Center. In SAR (R/3) we are creating Hierarchies manually in Production and development.Although the Profit center hierarchy is same in Development and Production we are c

  • Using a camera with mac book

    How do I: Use a camera to record a business site and then view the recording with my Mc Book Pro? The Mac Book would not necessarily be continuously connected to the camera. Thanks