Code Check To Swap Customer Numbers

Hi All
This is the code i have to swap a customer number to another here it is,
  IF COMM_STRUCTURE-CUSTOMER CO '0012345'.
    CONCATENATE '0067891'
  COMM_STRUCTURE-CUSTOMER INTO RESULT.
  ELSE.
  RESULT = COMM_STRUCTURE-CUSTOMER.
  ENDIF.
  RETURNCODE = 0.
  ABORT = 0.
the above code replace customer 0012345 with 0067891 i would like to know if this is correct and if its not pleace correct it.
Chris

Chris,
please assign full points to Manfred to mark this question as asnwered. Also assign some points to VASSAN because answer is correct, too.
Refer to rules of engagement
Thank you!
Best regards,
Björn

Similar Messages

  • Business partner creation - Not in sync with customer numbers -

    Hi All
    I am trying to do the BP conversion in collections management.
    The customer number range for account group ZXXX  is (80000 to 89999) and the external number range flag is not selected.
    I have created created a number range Y2 through BUCF, with numbers from (80000 to 89999), I did not choose external flag, thinking it should be same as customer number range. I have created a BP group ZXXX and assigned this number range Y2.
    Later when I did the BP conversion through MDS_LOAD_COCKPIT, I observed that the BPs are not in sync with the customer numbers.
    So my question, should I have choosen external number range flag in BUCF, even though its not selected in the customer number range? Has this caused the issue?
    Please help me understand this and rectify this issue.
    thanks in advance.
    Krishna

    Hi Christobal,
    Thank you so much for you response. 
    As suggested, I have checked BP number range as external. Later when I ran MDS_LOAD_COCKPIT, I get the below messages
    Grouping ZXXX has external number assignment, enter a number
    Partner data processed with key PartnerGUID 4E1BD7375F080AE0E10080000A5B030E
    Grouping ZXXX has external number assignment, enter a number
    So is there any other setting which I might be missing?
    Please advise.
    Thanks
    Krishna

  • Good Morning.  I'm having a problem using both my Photoshop elements and premiere programs.  I've installed the programs, redeemed my code and entered the serial numbers, and created the adobe log-in.  I am able to open up the organizer without problems,

    Good Morning.  I'm having a problem using both my Photoshop elements and premiere programs.  I've installed the programs, redeemed my code and entered the serial numbers, and created the adobe log-in.  I am able to open up the organizer without problems, but when I try to open up the photo editor (either by trying to open up the program from the main menu, or right-clicking on a photo in the organizer to edit in elements), the program asks me to sign in to adobe (which I can do and it doesn't give an an "incorrect password" or log-in ID error) then accept the terms and conditions.  When I click to accept the terms and conditions, nothing happens and the editor fails to open.  Everytime I click on the program, I get this same "loop" of signing in and accepting T&C's, but the program fails to open.  Any advice?

      Premiere Elements 10 is now 64 bit, but not PSE10.
    Take a look at your scratch disk set-up and if you have a spare volume, allocate that first before the C drive. Elements use scratch disks when it gets low on RAM.
    Click image to enlarge
    Turn off face recognition and the auto-analyzer to improve performance.
    When editing photos or videos check the task manager to see what background processes may be running and end them temporarily if not needed.

  • Determine the customer numbers for which the installations

    Dear All,
    I configured VAR Service Desk on SolMan EhP1 + SPS 20, Everything is good, but I have a problem when run report AI_SC_GET_SAP_CUSTOMER_NUMBERS. It can determine my customer numbers, but have only my installation number in table V_AIINSNRS. There are no any installation number of my customers in table V_AIINSNRS .I need installation number of my customer are included in V_AIINSNRS. Please show me about that. Thank you very much!
    Thanks and Best Regards,
    Tru Hang

    Hello,
    This is the text from the SPRO activity help:
    1.3.9.3.3 Data Transfer from SAP
    Use
    You can copy the following system data from SAP into the System LandscapeMaintenance (SMSY):
    - Name,
    - System number,
    - Installation number
    - Product version.
    All data can be copied from SLD or RFC connection. This is an alternative for service providers who
    have no, or only restricted, connection to their customers via SLD or RFC.
    Requirements
    You have determined or maintained the customer numbers for the systems to be generated.
    Default Settings
    The system automatically generates IBase components, which you need for the Service Desk and Change
    Management scenarios. If you do not want IBase to be generated automatically:
    1. Choose the transaction DNO_CUST04.
    2. Deselect the field: IB_GEN_AUTO (description: Automatic IBase Generation).
    3. Save.
    Activities
    Set Automatic Generation flag
    You can:
    1. Generate all systems per customer number, or
    2. Generate systems per installation number
    Case 1: Flag/check whether all systems with a customer number are to be generated, and maintain the
    maintenance view V_AISAPCUSTNOS. In this case, the system ignores the flag at installation level.
    Case 2:If you select installations for which systems are to be generated, maintain the maintenance view
    V_AIINSNRS.
    Maintain Settings in SMSY_SETUP
    4. Choose: Edit -> Expert Settings.
    5. Enter the value A or N for the option Generate Systems by OSS:
    - A: Systems are only generated if a 3-digit alpha-numeric ID has been specified for the customer
    in maintenance view V_BP_SPC, to distinguish the long names of systems with different
    customer numbers, e.g. a system SOL for the customer SAP would be SOLSAP01.
    - N: New systems are numbered sequentially when they are generated. System SOL would be
    SOL00001.
    6. Save.
    Data is created by background job REFRESH_ADMIN_DATA_FROM_SUPPORT , which
    should be scheduled regularly. If you want to copy the data immediately, you can schedule it
    immediately . Check in the job log of transaction SM37 that it ran successfully.
    Note: The user under which the job runs must be in the table AISUSER , with authorization for
    system data maintenance in the SAP Support Portal.
    I hope this information helps.
    Best regards, 
    Miguel Ariñ

  • Deactive post code check in sales order

    Hi all
      We have one customer ,but  this customer need us change ship-to-party  address and postal code in sales order header().
    but our system  will check the country code and postal code.
    How can I deactive post code check in  sales order ???
    thanks

    Hi,
    Postal code checking for country is a global setting in SAP, and many settings are depends upon it. But if you still want to change it you can modify it at country level.
    Go to SPRO >> SAP Netweaver >> General Settings  >>  Set Countries  >>  Set-Country sepcific checks   here select the country and modify it as you want.
    but still i ll advice you to do not change these settings as it will affect as client level.
    better you change Customer master address data as client wants and re enter re enter the customer code in sales order.
    Regards,

  • Is it advisable to use the charcter "&" in customer numbers and in business

    Is it advisable to use the charcter "&" in customer numbers and in business partner naming?
    Are there any restrictions in using wild characters for customer numbers. KNA1-KUNNR field.

    Dear Chandramouli,
    In the name you can use but in the no. not advisable I believe. When you are defining the no range, it is as following:
    Intervals can only contain either letters or numbers, as sorting can differ between platforms (Code page):
    Allowed:  000001 to 999999
      AAAAAA to ZZZZZZ
    Not allowed:  AAAAAA to 999999
    Please find the SAP help on this.
    Thanks,
    Atin

  • Unable to make postal code as Optional in Customer Master

    Hi,
    I am unable to make postal code as Optional in Customer Master.
    I have defined it in customizing that the postal code is Optional (Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Define Account Groups with Screen Layout Customers)
    see screenshot attached.
    But then when I go to créate a customer for that account group the system asks for the postal code as mandatory.
    Any help??
    Thanks!!!

    Hi,
    Go to T-code: OY17
    Select your country then check if “Postal code required entry” maintained with check mark in further checks section
    Thanks,
    Krishna.

  • Restrictions in characters used for customer numbers

    Is it advisable to use the charcter "&" in customer numbers and in business partner naming?

    Dear Chandramouli,
    In the name you can use but in the no. not advisable. When you are defining the no range, it is as following:
    Intervals can only contain either letters or numbers, as sorting can differ between platforms (Code page):
    Allowed: 000001 to 999999
    AAAAAA to ZZZZZZ
    Not allowed: AAAAAA to 999999
    Please find the SAP help on this.
    Thanks,
    Atin

  • Automatically "Code Check" and "Compile/Generate" program or function

    Hello Experts;
    We will do upgrade to ECC 6.0 at near time.
    Our basis team will give us sendbox systems.
    And then We will enter the all z or y programs and check "Unicode Checks active".
    I want to do automatically "Code Check" and "Compile/Generate" with program.
    But I don't know "which use function or program"
    Please help me this point.
    Thanks.
    Best regards.

    HIi,
    Try Tcode : SGEN
    or
    try this link
    mass compile customer programs
    Regards
    Rajashiva.R

  • Customer numbers

    Hi Experts,
    If a customer is serviced by different company codes in a company, would he have different customer numbers.
    What's wrong if a customer has different customer numbers within a company?
    Thank you

    If a customer is serviced by more than one company, they would not have different customer numbers. Similarly you also do not have different customer numbers if company is serviced by more than one sales organisation.
    However, It is possible to have different data for the same customer number in different sales areas.
    Examples of general data in the customer master record would be  Address, Control data, Marketing, Payment transactions, Contact person, and Unloading points.
    Regarding your next question, why do you want to maintain different records for a customer when it is not necessary especially with master data management in SAP system?

  • Tax Jurisdiction Code Check as part of a Sales Order Partner Function

    Hi,
    I have a scenario where we modify partner information directly in the sales order. These partners are simple addresses and are not tax relevant. We have set them up as one-time customers. Every time when we modify the address information, Vertex kicks in and tries to match the address information (street, city and state) with a tax jurisdiction code. In our case the address information is high level (only city and state) which is not enough for Vertex. SAP issues then a blocking error message.
    We try to find a way to ignore Vertex for these specific partners. In the documentation we have found a user exit, as well as a BADI, but our developpers were not able to make it work in the sales oder.
    The user-exit is the following: EXIT_SAPLFYTX_USER_001
    The BADI is the following: IF_EX_ADDRESS_SUBSCREEN
    In EXIT_SAPLFYTX_USER_001, I've found a parameter (EXEMP_IND) which could enable to bypass the tax jurisdiction code check and the RFC call to Vertex.
    In IF_EX_ADDRESS_SUBSCREEN, I've found a parameter (CHECK_ADDRESS) which could potentially bypass the check as well.
    Did any of you already experience this scenario or would you have an idea about how I could make this work?
    Thanks
    Loic

    Unfortunately, the sales order is created through an interface (using iDOCs), and the external system feeding the iDOC for the sales order creation does not have any Zip Code information. Besides, even if the Zip Code is entered, it is still not enough for Vertex to choose automatically a Tax Jurisdiction Code, most of the times, it is also requiring a District, which again, will not be passed from the interface.
    We went through this analysis already and we came to the conclusion that we need to bypass this check, as this partner function is not tax relevant.
    Thanks,
    Loic
    Edited by: Loic Dominik on Jun 27, 2011 7:39 PM

  • I didnt konw how to make a new account for my iTues card so i did it with a diffrent email but that email doesnt exist and when i tried to make it on a real email i just sai invalid code check the code and try again and can u please help me

    please help me it is a card of 25 dollars and i dont want it to go to waist i by mistake thought you used a frake email so i made one up i thought i was going to have a new one but then it said it was going to send a verifaction to my email so then i tried to use a real email and put in the code but it just kept on saying invalid code. check the code and try again. and i dont know what to do can u please please help me it was a gift and i really dont want it to go to waist please i need help

    for #1
    Frequently asked questions about Apple ID - Apple Support
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.
    for #2
    Apple does not accept unsolicited ideas see Apple - Legal - Unsolicited Idea Submission Policy

  • Trying to update creative cloud, comes error: The installation program could not access the important files / directories. Try to run the installer again. (Error code: 43), please contact customer support. The same error comes updating Muse. Mac 10.9.5. W

    Trying to update creative cloud, comes error: The installation program could not access the important files / directories. Try to run the installer again. (Error code: 43), please contact customer support. The same error comes updating Muse. Mac 10.9.5. What shall I do?

    Alauda_positos I would recommend reviewing your installation log files to determine the exact directory which the installer is unable to access.  You can find details on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors discovered to this discussion.
    For information on how to adjust file permissions please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html.

  • Activities in Finance that involves moving of customer numbers

    Hi,
    I would like to know what are the activities in SAP that are involved with transferring of customers numbers ?
    We are having some business shifts that we are renumbering our customer numbers from non-standard numbering to a standard numbering range of XX-series. Apart from AR balance transfer what else should be taken care of from finance ?

    Hi bmjunar,
    Here are some general links that might be helpful as you try to use Softmotion and SolidWorks:
    http://zone.ni.com/devzone/cda/tut/p/id/9566
    http://www.ni.com/virtualprototyping/training.htm
    Best Regards,
    Michael B.
    Applications Engineer

  • " Active Company Code check in Controlling Area"

    Hi All
    while assinging the Real Time Integration variant to company code. Getting the following error as
    " Active company code check in controlling area."
    any one can plz suggest me.
    Moderator: Please, search before posting

    Hi Ashok,
    Thanks for the response.
    Here in my case, when I insert the Tcodes related to conrolling like(KO01,KO02,KO03 etc) in a role, then I dont find any authorization objects(bukrs) which is related to the company code in the authorization genaration area in PFCG. So there is no way I can maintain values in them.
    Please suggest any alternate solution.
    Thanks and Regards,
    Abdul Khyoom A

Maybe you are looking for

  • Problem with TLF - floating an inline image

    I am running the latest version of Flash Builder 4 (4.0.1).  The problem that I having: When I use an InlineGraphicsElement if aTextFlow (in a RichEditableText component), if I set a value for the "float" attribute of an <img> element; the image is n

  • India Localization Patch for HRMS

    Hi , we are going to implement India localization for our client.Can anybody suggest me how can i download the India Localization Patch and details. Thanks in advance, Prasanna.

  • MacBook Pro with two different wireless Mighty Mice at two locations

    Hello, I have a Mighty Mouse at home and one at the office. I use the same laptop at both locations. Every time i change locations, I have to go into Bluetooth preferences and manually connect a mouse. This seems not very Apple-like so I am wondering

  • I have a question about the data type static

    for any of you that read my last post for my assignment this is still the same thing but i have broke it down more, but i am getting an error and i am not for sure i understand why that is. I think i am confused on why i should, or could use a static

  • Macbook Air keeps restarting

    I keep having "Panics" i.e. my Macbook Air keeps restarting. I have version 10.7.5. Here is the error report: Interval Since Last Panic Report:  188109 sec Panics Since Last Report:          3 Anonymous UUID:                    F6C12BD7-2A9F-4791-949