Problem with BAPI_CUSTOMER_CREATEFROMDATA1 using JCo on IDES

sorry, wrong board - i opened a new post
Problem with BAPI_CUSTOMER_CREATEFROMDATA1 using JCo on IDES
Hello everyone,
we are working on a student project and would like to create customers (debtors) in an SAP IDES system.
Using the ref-customer to copy from, and some personal-data below, we get the error message
'Internal error: External no.assignment for reference customer/customer'
We also tried with BAPI_CUSTOMER_GETINTNUMBER, and ACCOUNTGROUP ZINT (New Internet Customer, others won't work?). But CREATEFROMDATA1 takes no CustomerNo created this way, nor it wants to create one 'internal'?
Any suggestions? Thanks a lot for your help,
Greetings,
Tobias Schmidbauer
          inParams = function.getImportParameterList().getStructure(
               "PI_COPYREFERENCE");
          inParams.setValue("0000001000", "REF_CUSTMR");
          inParams.setValue("1000", "SALESORG");
          inParams.setValue("10", "DISTR_CHAN");
          inParams.setValue("00", "DIVISION");
          inParams =function.getImportParameterList().getStructure(
               "PI_PERSONALDATA");
          inParams.setValue("Simpson", "LASTNAME");
          inParams.setValue("Homer", "FIRSTNAME");
          inParams.setValue("Jay","MIDDLENAME");
          inParams.setValue("Springfield", "CITY");
          inParams.setValue("DE", "LANGU_P");
          inParams.setValue("DE", "LANGUP_ISO");
          inParams.setValue("DE", "COUNTRY");
          inParams.setValue("EUR", "CURRENCY");
          inParams.setValue("12345", "POSTL_COD1");
Message was edited by: Tobias Schmidbauer

Hello Brian,
Thanks for your pointer. Actually The customer's reference number i was providing in the PI_COPYREFERENCE structure was a sold-to party customer and it uses external customer number assignment. When i used "New Internet Customer" (that doesnt use external assignment by default) as customer's account group, the customer was created successfully and assigned customer number was returned.
I want to ask now how could we give a customer number in the BAPI as i am unable to find any such column in any of the tables. (Customer number is an "out" parameter so it can only return the number of created customer). Secondly, how to chnage the external assignment property of a particular account group (like sold-to party). i.e, how could we change the account group configurations through SAP GUI??
- Umair

Similar Messages

  • TS3899 I just installed the latest software update on my iPhone this weekend (9/22/12), and now I can't get email. I've restarted and closed all my apps to no avail. I'm able to get email on my laptop, so it's not a problem with my provider. Any ideas?

    I just installed the latest software update on my iPhone this weekend (9/22/12), and now I can't get email. I've restarted and closed all my apps to no avail. I'm able to get email on my laptop, so it's not a problem with my provider. Any ideas?

    Originally we were getting the error that the phone could not connect. Then, after deleting the account multiple times and re-adding it again, the error message CHANGED to having to log in to Yahoo and authorize.
    When we went to Yahoo in a regular browser and logged in there was an alert telling us about connection attempts so it disabled mobile/iphone connectivity. It required that we change our password FIRST.
    Then, we went in to Manage Apps and Webpages and saw that iPhone was not there but Facebook was.
    After all of this went back to the phone and deleted then re-added the account again and SUCCESS!
    It now also shows up on the Yahoo Manage Apps and Webpages.
    Hope this helps someone else. Please consider giving me points if it does or like the post.
    Fred

  • I just bought an iphone4 and is connected to my wifi at home but I can't bring anything up in the app store, itunes, etc. My husband has a droid 2 and he has no problems with the wifi? Any ideas?

    I just bought an iphone4 and is connected to my wifi at home but I can't bring anything up in the app store, itunes, etc. My husband has a droid 2 and he has no problems with the wifi? Any ideas?

    If you look at the top left of your screen you will either see a 3G (or 4G if you have AT&T) or you will see the wi-fi symbol.  If you don't see the wi-fi symbol you are connecting to Gmail through your cellular data plan, not via wi-fi.
    To answer your question, it doesn't happen often but when it does the steps I mentioned above will normally resolve it.  Hopefully you won't have any further problem with this.

  • Oxc000007b problem with audition cc download-any ideas?

    Hi, had the same problem when downloading Lightroom 5 from the creative cloud desktop - dll package for lightroom solved the problem here.
    I am on Windows 7 Ultimate 64 bit.
    (I uninstalled audition cc and installed it again with the same result)
    Thanks for your help
    Best Bee

    SteveG, thanks for the link again. I tried before to extract both (msvcr80.dll and msvcr100.dll)  to audition cc like I did with the lightroom 5 problem and I failed.
    This time I only extracted msvcr100.dll to audition cc and it worked!
    Thanks for your encouragement . . .
    Best, Bee
    Date: Sat, 8 Feb 2014 15:58:27 -0800
    From: [email protected]
    To: [email protected]
    Subject: Oxc000007b problem with audition cc download-any ideas?
        Re: Oxc000007b problem with audition cc download-any ideas?
        created by SteveG(AudioMasters) in Audition CS5.5, CS6 & CC - View the full discussion
    Well it's those .dlls that are the only reason that I'm aware of for this failing. Can I suggest downloading and installing them again? I presume that it's the information in this thread that you are referring to?
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6101356#6101356
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6101356#6101356
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6101356#6101356. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Audition CS5.5, CS6 & CC at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Problem calling BAPI_document_checkoutview2 using JCO of xMII

    Hi DMS Gurus,
    The above FM is successfully executing and creating a local copy in temp folder of where the FM running using SAP GUI.
    But when i call using jco,i am getting some problems.
    1. If i execute the FM with default values for http dest and ftp dest, i am getting error saying << c:\temp\....file could not be created.
    2. When i changed the HTTP destination to <<SAPHTTPA>, it is executing fm successfully but dont know in which system the file is downloaded.
    My client application or xMII server ( where jco service is running ) or ABAP server.
    I checked in the first 2,i didn't find.
    SAP GUI is not installed in xMII server.
    But my requirement is to download to the physical server of xMII ( jco ).
    Is this any thing to do with creating http destinations??
    If that is the case, can any body help me in creating http destinations..
    and i heard  something about SAPFTP.EXE ,is that should be some where in client or any servers??
    Please help me.
    Thanks
    Vansi

    Hi Vansi,
    that's correct. BAPIs always require a SAPGUI connection. Therefore I would recommend you to use API function modules instead, because they are more flexible and better to use for background processing. Please see SAP note <a href="https://service.sap.com/sap/support/notes/504692">504692</a>
    which contains also some sample programs for these API modules.
    Best regards,
    Christoph

  • Having a problem with creating/using a primary key on a view

    I have a problem with a primary key on a view
    I created the view and primary key as follows:
    CREATE OR REPLACE FORCE VIEW "MDD"."ROCK_LU" ("DESCRIPTION",
         UNIQUE ("DESCRIPTION") RELY DISABLE,
         CONSTRAINT "ROCK_LU_PK" PRIMARY KEY ("DESCRIPTION") RELY DISABLE) AS
    SELECT DESCRIPTION
    FROM MRMC_LU
    WHERE ROCK = 'T';
    The view with the primary key appears to have been created as there were no error messages. (The above was from the sql tab in sql developer.)
    When I try to create the foreign key on my mdd_hr table - I get an error
    /* hr_name - foreign key */
    ALTER TABLE mdd_hr add CONSTRAINT hr_name_fk FOREIGN KEY (hr_name) REFERENCES rock_lu(description);
    Error report:
    SQL Error: ORA-02270: no matching unique or primary key for this column-list.
    When I lookup the index in sql developer, rock_lu_pk is not there.
    All my other foreign keys work - but I don't understand what I am doing wrong with this one. Please help.
    glenn
    Background - as to why I want to use a view as a lookup table.
    The MRMC_LU table that the view is created from is structured like:
    DESCRIPTION - MINERAL - ROCK - MODIFIER - COMMODITY
    ANHYDRITE - T - T - T
    APLITE - T - - T
    GRAPHITE - T - - - T
    GREYWACKE - - T
    DESCRIPTION is a list of all names of minerals, rocks, modifiers and commodities. T is entered in each valid field. Often a description name is used for both a mineral and a rock or a mineral and a commodity or any other combination. Because this database is just starting up, it was more efficient to create one table that could be updated (and thereby automatically update the MINERAL_LU, ROCK_LU, MODIFIER_LY, COMMODITY_LU views) rather than create and maintain four separate but similar tables. A primary key cannot be generated for the MRMC_LU table as there are nulls in each column
    except DESCRIPTION.
    Perhaps there is a smarter way to do this?

    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_85a.htm#2065512
    You can specify constraints on views and object views. You define the constraint at the view level using the out_of_line_constraint clause. You define the constraint as part of column or attribute specification using the inline_constraint clause after the appropriate alias.
    Oracle does not enforce view constraints. However, operations on views are subject to the integrity constraints defined on the underlying base tables. This means that you can enforce constraints on views through constraints on base tables.
    Restrictions on View Constraints
    View constraints are a subset of table constraints and are subject to the following restrictions:
    You can specify only unique, primary key, and foreign key constraints on views. However, you can define the view using the WITH CHECK OPTION clause, which is equivalent to specifying a check constraint for the view.
    Because view constraints are not enforced directly, you cannot specify INITIALLY DEFERRED or DEFERRABLE.
    View constraints are supported only in DISABLE NOVALIDATE mode. You must specify the keywords DISABLE NOVALIDATE when you declare the view constraint, and you cannot specify any other mode.
    You cannot specify the using_index_clause, the exceptions_clause clause, or the ON DELETE clause of the references_clause.
    You cannot define view constraints on attributes of an object column.
    Rgds.

  • Problem with sendRedirect using relative URL in WebLogic 5.1 with SP7 & 8

    I patched to SP 7 (and also 8), and the request.sendRedirect() with relative
              URL failed. The browser simply displayed "404 - Page not found".
              This problem only happens in a cluster environment attached to a web server.
              SP6 or earlier does not have such problem.
              I noticed that the latest SP always formats the URL and returns it as a full
              absolute URL to the browser. The problem is it uses the Weblogic Server host
              URL where the request is processed (not the Web Server host URL) which is
              not visible to the internet.
              Is it possibly a bug in SP?
              

    I patched to SP 7 (and also 8), and the request.sendRedirect() with relative
              URL failed. The browser simply displayed "404 - Page not found".
              This problem only happens in a cluster environment attached to a web server.
              SP6 or earlier does not have such problem.
              I noticed that the latest SP always formats the URL and returns it as a full
              absolute URL to the browser. The problem is it uses the Weblogic Server host
              URL where the request is processed (not the Web Server host URL) which is
              not visible to the internet.
              Is it possibly a bug in SP?
              

  • Problems with text using Photoshop CC on Windows 8.1

    I am using Photoshop CC on Windows 8.1.  I get  flickering on the screen as described by others.  My main problem, however,  is that when I try to use the text tool the layer goes completely black and I cannot see what I am typing or edit the text.  I have tried updating my video card driver and my monitor driver.  I have deleted the font cache file, I have tried using Photoshop without plug ins (I use Nic plug ins).  The only thing that has worked is resetting the preferences by holding down alt+control+shift keys when starting photoshop.  This allows me to enter text normally on one photograph and one only.  Once I have completed that first photograph and load another I get the black layer.  I desperately need help.  If this continues I will have to cancel my membership as I was much better off using my Photoshop Elements 11 disc.
    Any help will be very gratefully appreciated...............help seems to be very difficult to come by Adobe you make it very difficult for your customers!

    Ok,I can appreciate that I may not have given enough information.  You state that without proper system information nobody can help, but I need to know what information is needed.  You also state that I should simply turn off hardware acceleration in the perfs.  What does that mean?  How do I do that? I have tried changing the GPU Drawing Mode to basic and it didn't work.  Is this what you mean?  You may be assuming a level of knowledge I do not have. From research I have done this seems to be a problem with windows 8.1 that Adobe have been aware of for about a year.  I have followed all the online advice I have been able to find but nothing seems to be working.
    Siren2110

  • Problems with navigation using JSF 1.0 RI

    I have a problem with faces in that navigation simply stops working. I have a page which have prev/next buttons on it, and a cancel button. Each button is of the form
    <h:form id="viewxxx">
    <h:commandButton value="XXX" styleClass="buttonInput" action="#{somebean.doSomeAction}"/>
    </h:form>
    The code behind the next/prev button action returns "success", the cancel returns an action string which returns the user to the previous screen.
    After clicking on prev/next a few times one of two possible things happen:-
    (1) the navigation stops working (all buttons do nothing)
    (2) or after pressing a button a few times the navigation starts to work.
    I tried to simplify things to find out if my backing code was causing the problem. I included a very simple button:-
    <h:form id="view_c_getridofme">
         <h:commandButton value="Test" styleClass="buttonInput" action="success"/>
    </h:form>
    and after clicking this a few time it also breaks the navigation. So I suspect something strange is going on inside the Faces implementation.
    I checked the faces-config.xml and this is correct:
    <!-- Stay on View for page next/prev -->
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/viewcorr.jsp</to-view-id>
    <redirect />
    </navigation-case>
    I tried (albeit briefly) MyFaces 1.0.3 and the navigation does not break although it does present some other issues for me. My preference would be to use Sun's JavaFaces implementation if possible.
    Can anyone shed light on this - why this may be happening?

    I experienced the same problem while re-submitting to the same page about 15 times via a command button (a list page that would get updated with every new submit).
    After having turned JSF logging on I discovered that my stylesheet (!) was interpreted by JSF as a Faces view (because of the /faces/-mapping before it) and that this caused the list page to be (incorrectly) added up towards the maximum of 15 views in the session. After 15 reloads JSF would remove the list page from view, re-create it, and I experienced the same problems as you described in the top post - no navigation worked.
    My stylesheet used to be:
    <link rel="STYLESHEET" type="text/css" href="../../css/foo.css">
    ... which kept the /faces/ mapping from the page containing the css reference, and made it look like a faces view to JSF.
    When I switched to:
    <link rel="STYLESHEET" type="text/css" href="/css/foo.css">
    ... the problem disappeared.
    Hope that helps all of you that have this problem. It certainly took me quite a while to figure it out!
    Mattias L

  • Problem with scrolling using my touchpad with the new Firefox update

    I just updated Firefox to 9.o.1, I run Windows 7 and I'm using a HP G62 Notebook PC. Ever since I have updated, I can no longer scroll on webpages using my touchpad. If I use an external mouse, I have no problems. I have also not had any problems with other applications, so I assume that this problem is related to the new update. Is there anything that I can do to fix this now, or will I have to wait for the next update?

    I just updated Firefox to 9.o.1, I run Windows 7 and I'm using a HP G62 Notebook PC. Ever since I have updated, I can no longer scroll on webpages using my touchpad. If I use an external mouse, I have no problems. I have also not had any problems with other applications, so I assume that this problem is related to the new update. Is there anything that I can do to fix this now, or will I have to wait for the next update?

  • Problems with output using html2fo function

    Hello,
    I have a problem with output when using html2fo function.
    My sample xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <RTECODE>
    <![CDATA[
    <table border="1">
    <tr>
    <td>row 1, cell 1</td>
    <td>row 1, cell 2</td>
    </tr>
    <tr>
    <td>row 2, cell 1</td>
    <td>row 2, cell 2</td>
    </tr>
    </table>
    ]]>
    </RTECODE>
    Can anybody explain why the rtf template output is different in pdf, rtf, excel ? It looks ok only in pdf.
    Thanks in advance.

    Check these
    http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#CHDCEEIJ
    https://blogs.oracle.com/xmlpublisher/entry/html_in_xml_support
    If helps mark
    Edited by: Srini VEERAVALLI on Feb 25, 2013 10:04 AM

  • Problems with "new" used iPhone

    hey guys,
    i have a problem with my new iphone. i bought an iphone on ebay and now i want to use ist with my t-mobile-sim-card, but it doesn't work. First it worked, but i found out, that the iPhone was jailbreaked, so I updated it to firmware 3.1.3 to delete this jailbreak. but it doesn't work now with my simcard (it's not a prepaid) and itunes says, that the card isn't compatible. maybe someone can help me... it makes me very angry. i spend so much time to get the money for the iphone and now this ****...

    When you installed the new 3.1.3 firmware you locked the phone back with att. Previously being jailbroken and unlocked allows you to use other sim cards but now that you updated the firmware its not possible. What you can do is wait for someone to come out with a way to jailbreak the new firmware and unlock it yourself.

  • Problems with Restoring using Migration Assistant

    Hi
    I'm trying to restore my files from time machine using Migration Assistant. I keep getting this message which I don't understand. Can anyone advice ? Thanks.
    +NTFS-3G could not mount /dev/disk1 at Volumes/Untitled because the following problem occured: Error reading bootsector: Input/Output error. Failed to mount 'dev/rdisk1':Input/output error NTFS is either inconsitent or there is a hardware fault or its a SoftRAID/ FakeRAID hardware. In the first case run chdksk/f on Windows then reboot into Windows. The usage of the /f parameter is very important! f the device is a SoftRAID/ FakeRAID thenfirst activate it and mount a different device under the /dev/mapper/ directory, Ie.g. /dev/mapper/nvidia+eahaabcc1). Please see the 'dmraid' documentation for more details.+
    Jojos

    I don't do Windoze, but that looks like you've backed-up a virtual machine via Time Machine, and there's a problem with it.
    First question: why are you restoring, and why are you using +MIgration Assistant?+
    If you want to restore everything from your backups, do a full system restore, per #14 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum).
    Most folks exclude those from Time Machine, and back them up separately.
    Your best bet is to skip the contents of the folder they're in while running +MIgration Assistant+, then restore everything else in that folder selectively, via the "Star Wars" display. You may or may not be able to restore the vm file(s), but at least you should be able to get everything else that way.

  • I have problems with my used iphone.

    Hello there. I recently purchased a used iphone from a friend. However he took the sim card out as he needed it for his other phone.
    I have tried inserting my new at&t sim card, as well as a new blank one but when i want to activate the phone itunes keeps saying "there is a problem with your iphone". What can i do in this situation? Thanks.

    Yes, you should go back to AT&T and let them know the SIM card is for an iphone. Only iphone SIM cards will work in the iphone. AT&T sells SIM cards that will work in many different phones, but only the SIM card designed for the iphone will work in it correctly.

  • Problems with FullScreen using OSMF 1.5

    Hello. Sorry for my English first of all. =)
    I have interesting and specific problem with osmf. I'm using osmf to play playlist. Here is source code:
    public class VideoPlayer extends SpriteVisualElement
    private var mediaPlayerSprite:MediaPlayerSprite;
    public function VideoPlayer()
    super();
    mediaPlayerSprite = new MediaPlayerSprite();
    mediaPlayerSprite.width = width;
    mediaPlayerSprite.height = height;
    mediaPlayerSprite.scaleMode = ScaleMode.LETTERBOX;
    mediaPlayerSprite.mediaPlayer.autoPlay = true;
    mediaPlayerSprite.mediaPlayer.addEventListener(TimeEvent.COMPLETE, onMediaComplete);
    mediaPlayerSprite.mediaPlayer.addEventListener(MediaErrorEvent.MEDIA_ERROR, onMediaError);
    mediaPlayerSprite.mediaPlayer.addEventListener(MediaPlayerStateChangeEvent.MEDIA_PLAYER_ST ATE_CHANGE, onMediaPlayerStateChange);
    addChild(mediaPlayerSprite);
    public function set playlist(playlist:Vector.<String>):void
    var serialElement:SerialElement = new SerialElement();
    var videoElement:LightweightVideoElement;
    for each(var url:String in playlist)
    videoElement = new LightweightVideoElement();
    videoElement.smoothing = true;
    videoElement.resource = new URLResource(url);
    serialElement.addChild(videoElement);
    mediaPlayerSprite.media = serialElement;
    When flash player is in fullscreen mode and first video file is finished next video starts to play, but there is no picture. If I close fullscreen mode and then go fullscreen again, everything is all right. I've met this problem only in such installation: LG 37LE5300 connected to Acer Veriton N282G with Nvidia NG ION video card via original HDMI 1.3 cable. Windows 7 32 bit, Nvidia display drivers 257,29. In another combination everything works fine.
    So what can be a problem?

    Hi,
    Interesting bug indeed. Can you please log a bug with the details you provided on our bug system, http://bugs.adobe.com/jira/browse/FM so we can better track this issue? It will be also useful if you will give us also the code used for switching to full screen.
    Thanks,
    Gelu

Maybe you are looking for

  • Date validation

    Hi , I have a created an textbox with date picker as (dd-mon-yyyy) . Now i want to create a validation on it for the format (dd-mon-yyyy) . I have created a pl/sql code with type "function returning error text". Begin If :P4_END_DATE IS NOT NULL THEN

  • Cannot connect to Oracle cache administrator.Please help.

    Hi , I was not able to connect to the Oracle TimesTen database the usual way. I get the following errors: Backend failed with exit status 1: C:\TimesTen\tt70_32\srv\info\ws\cgi-bin\cache/ttBackEnd.exe -connStr "DSN=TTSS" -user "APPS" -oraclepwd [Omit

  • PCUI - Open new url or bsp with a Toolbar Button

    Hi all,    I have a PCUI custom application (CRM_BSP_FRAME)and i want open a new url or bsp with my button on the toolbar of result list. Important: Without modification of standard. Thx in Advance Regards. Manuel

  • Use report history reporting services btn option

    hello, i'm trying to figure out what the use report history option on the general view of the reporting services button option provides. the definition in the help file is "To enable use of the report's history, select this option". i have no idea wh

  • PAS string manipulation operations

    Hi How can I manipulate a string in PAS by replacing a character with another character? Thanks.