Generating BP Codes Automatically.......

Hi Experts,
                My Client want to generate his bp codes automatically......
                      C10000, C10001, C10002, C10003..................... like this....
                            Can anyone pls give the solution....

In order to create consecutive alphanumeric business partner codes, such as C1000, C1001 etc, please follow the procedure outlined below:
1. Manually create the first customer, supplier and lead type business partners, e.g. C1000, S5000, L8000.
2. Go to Reports -> Query Generator -> Click on 'Execute' without making any selection.
3. In the 'Queries' window click on the pencil icon in the upper left area to activate the query structure area. The area appears grey when blocked, white when ready and yellow when active.
4. Copy and paste the query from below or the attached text file (BPcode_autocreate.txt) into the window, replacing the 'SELECT *' that is present by default:
select max(cardtype)
+ cast(substring( max(cardcode), 2, len(max(cardcode)))
+ 1 as nvarchar(10)) from ocrd
where cardtype = $[OCRD.CARDTYPE]
1. Click on the button 'Save',then, in the 'Save Query' window, enter an appropriate name for the query and select the appropriate category. Then click on 'Save'.
2. Click on 'Cancel' in the window 'Queries' and 'Close' in the window 'Query Generator'.
3. Go to Business Partners -> Business Partner Master Data, change to 'Add' mode.
4. Map a formatted search to this field by either of the following means:
1. Clicking in the field 'Code' to activate it, then select 'Tools' in the strip menu, select 'Search Function', then 'Define'.
2. Pressing CtrlAltF2 in the active field.
5. In the 'Define Formatted Search' window, click on the button for 'Search by Saved Query'
6. Bring the cursor to the bar that will pop up just below 'Search by Saved Query' until it changes from an arrow to a pointing hand, then double-click.
7. The 'Query Manager' window will pop up, select the category where the query above was saved under, then click on the query name to select it, click on 'OK'.
8. Place a tick in the box for 'Auto Refresh When Field Changes' and select 'BP Name' from the drop down menu.
9. Click on 'Cancel' in the Business Partner Master Data window and open it up again.
10. Click on 'Refresh Regularly' and click on 'Save'.
11. Change to 'Add' mode, select the 'Type' (Customer, Supplier, Lead) and enter a name for the new business partner. Press the 'Tab' key and the next available BP code will automatically be inserted into the BP code field.

Similar Messages

  • How to generate item codes automatically

    Hi,
    My customer wants that the inventory item code be generated automatically based on its description. The code should have:
    - 3 first characters of the description
    - A sequential increased number, to make the code unique.
    e.g. the item called "Petrol" should have the code "pet004".
    To achieve this, I have created a database procedure. So the user that works in "Item Master" form, will fill out "description" field and the "Item" field should be automatically populated based on the return value of this procedure.
    Is there any way how to achieve this through personalization?
    Or, is there any standard way that Oracle offers for automatic generation of item codes?
    Thank youl

    Hi,
    You have to do it using forms personalization.
    Thanks,
    PS.

  • Tool to generate code automatically

    Is there any java tool which can generate code automatically?

    haison8x wrote:
    Is there any java tool which can generate code automatically?As long as you can specify the requirements better than you have in this thread then http://www.rentacoder.com/RentACoder/default.asp .

  • OWB Code generator - does not generate consistent code in every deployment

    Hi,
    I have a mapping to load dimension WM_USERS_ADVISORS_DIM.
    Every time I generate the code for this mapping code generated is different than previous. Hence the query optimization applied at database level does not work.
    following are 2 different queries generated for the same mapping.
    Also, In target load order for this dimension, automatically values are populated like USERS_ADVISORS_STG, where as I have not declared this table/dim.
    I am unable to remove this from load order. Every time code gets generated these _STG is added to each level in Dimension.
    Please suggest how to have a consistent ETL generated every single time ETL deploys?
    INSERT /*+ APPEND PARALLEL ("USERS_ADVISORS_STG") */ INTO "OWB$ *USERS_ADVISORS__1FFE2A* " "USERS_ADVISORS_STG" ( "PERSON_ID", "ADVISOR_PERSON_ID", "INVITE_CLIENT_ID", "IS_PRIMARY_ADVISOR", "SCHEMA_NAME", "DUMMY_LEVEL_KEY", "DESCRIPTION", "DUMMY_VALUE") (SELECT "INGRP1". "PERSON_ID" "PERSON_ID$10", "INGRP1". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID$10", "INGRP1". "INVITE_CLIENT_ID" "INVITE_CLIENT_ID$8", "INGRP1". "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR$10", "INGRP1". "SCHEMA_NAME" "SCHEMA_NAME$9", "INGRP2". "DUMMY_LEVEL_KEY" "DUMMY_LEVEL_KEY$8", "INGRP2". "DESCRIPTION" "DESCRIPTION$12", "INGRP1". "LOOKUP$$$_1_DUMMY_VALUE" "LOOKUP$$$_1_DUMMY_VALUE$6" FROM ( SELECT "LOOKUP_INPUT_SUBQUERY$5". "USERS_ADVISORS_KEY$6" "USERS_ADVISORS_KEY", "LOOKUP_INPUT_SUBQUERY$5". "PERSON_ID$11" "PERSON_ID", "LOOKUP_INPUT_SUBQUERY$5". "ADVISOR_PERSON_ID$11" "ADVISOR_PERSON_ID", "LOOKUP_INPUT_SUBQUERY$5". "INVITE_CLIENT_ID$9" "INVITE_CLIENT_ID", "LOOKUP_INPUT_SUBQUERY$5". "IS_PRIMARY_ADVISOR$11" "IS_PRIMARY_ADVISOR", "LOOKUP_INPUT_SUBQUERY$5". "SCHEMA_NAME$10" "SCHEMA_NAME", "LOOKUP_INPUT_SUBQUERY$5". "LOOKUP$$$_1_DUMMY_VALUE$7" "LOOKUP$$$_1_DUMMY_VALUE" FROM (SELECT "DEDUP_SRC_0$2". "USERS_ADVISORS_KEY$7" "USERS_ADVISORS_KEY$6", "DEDUP_SRC_0$2". "PERSON_ID$12" "PERSON_ID$11", "DEDUP_SRC_0$2". "ADVISOR_PERSON_ID$12" "ADVISOR_PERSON_ID$11", "DEDUP_SRC_0$2". "INVITE_CLIENT_ID$10" "INVITE_CLIENT_ID$9", "DEDUP_SRC_0$2". "IS_PRIMARY_ADVISOR$12" "IS_PRIMARY_ADVISOR$11", "DEDUP_SRC_0$2". "SCHEMA_NAME$11" "SCHEMA_NAME$10", "DEDUP_SRC_0$2". "LOOKUP$$$_1_DUMMY_VALUE$8" "LOOKUP$$$_1_DUMMY_VALUE$7" FROM (SELECT CAST (NULL AS NUMERIC) "USERS_ADVISORS_KEY$7", "AGG_INPUT$2". "PERSON_ID$13" "PERSON_ID$12", "AGG_INPUT$2". "ADVISOR_PERSON_ID$13" "ADVISOR_PERSON_ID$12", MIN( "AGG_INPUT$2". "INVITE_CLIENT_ID$11") "INVITE_CLIENT_ID$10", MIN( "AGG_INPUT$2". "IS_PRIMARY_ADVISOR$13") "IS_PRIMARY_ADVISOR$12", "AGG_INPUT$2". "SCHEMA_NAME$12" "SCHEMA_NAME$11", MIN( "AGG_INPUT$2". "LOOKUP$$$_1_DUMMY_VALUE$9") "LOOKUP$$$_1_DUMMY_VALUE$8" FROM (SELECT ( :B4 ) "USERS_ADVISORS_KEY$8", "USER_ADVISOR". "PERSON_ID" "PERSON_ID$13", "USER_ADVISOR". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID$13", "INVITE_CLIENTS". "INVITE_CLIENT_ID" "INVITE_CLIENT_ID$11", "USER_ADVISOR". "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR$13", ( :B3 ) "SCHEMA_NAME$12", 0 "LOOKUP$$$_1_DUMMY_VALUE$9" FROM ( SELECT "SET_OPERATION$2". "PERSON_ID$14" "PERSON_ID", "SET_OPERATION$2". "ADVISOR_PERSON_ID$14" "ADVISOR_PERSON_ID", "SET_OPERATION$2". "CREATED_ON$2" "CREATED_ON", "SET_OPERATION$2". "IS_PRIMARY_ADVISOR$14" "IS_PRIMARY_ADVISOR", "SET_OPERATION$2". "MOD_TAG$2" "MOD_TAG", "SET_OPERATION$2". "MODIFIED_ON$2" "MODIFIED_ON" FROM (SELECT "PERSON_ID" "PERSON_ID$14", "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID$14", "CREATED_ON" "CREATED_ON$2", "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR$14", "MOD_TAG" "MOD_TAG$2", "MODIFIED_ON" "MODIFIED_ON$2" FROM (SELECT "USERS_ADVISORS". "PERSON_ID" "PERSON_ID", "USERS_ADVISORS". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID", "USERS_ADVISORS". "CREATED_ON" "CREATED_ON", "USERS_ADVISORS". "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR", "USERS_ADVISORS". "MOD_TAG" "MOD_TAG", "USERS_ADVISORS". "MODIFIED_ON" "MODIFIED_ON" FROM "ADVIEWPROD". "USERS_ADVISORS" "USERS_ADVISORS" UNION SELECT "USERS_ADVISORS_DLOG". "PERSON_ID" "PERSON_ID", "USERS_ADVISORS_DLOG". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID", "USERS_ADVISORS_DLOG". "CREATED_ON" "CREATED_ON", "USERS_ADVISORS_DLOG". "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR", "USERS_ADVISORS_DLOG". "MOD_TAG" "MOD_TAG", "USERS_ADVISORS_DLOG". "MODIFIED_ON" "MODIFIED_ON" FROM "ADVIEWPROD". "USERS_ADVISORS_DLOG" "USERS_ADVISORS_DLOG") ) "SET_OPERATION$2" ) "USER_ADVISOR" LEFT OUTER JOIN ( SELECT "INVITE_CLIENTS". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID", "INVITE_CLIENTS". "PERSON_ID" "PERSON_ID", "INVITE_CLIENTS". "INVITE_CLIENT_ID" "INVITE_CLIENT_ID" FROM "ADVIEWPROD". "INVITE_CLIENTS" "INVITE_CLIENTS" ) "INVITE_CLIENTS" ON ( (( "USER_ADVISOR". "PERSON_ID" = "INVITE_CLIENTS". "PERSON_ID" )) AND (( "USER_ADVISOR". "ADVISOR_PERSON_ID" = "INVITE_CLIENTS". "ADVISOR_PERSON_ID" )) ) WHERE ( ( "USER_ADVISOR". "CREATED_ON" BETWEEN (TO_DATE( ( :B2 ) , 'mm/dd/yyyy hh24:mi:ss') ) AND (TO_DATE( ( :B1 ) , 'mm/dd/yyyy hh24:mi:ss') ) OR "USER_ADVISOR". "MODIFIED_ON" BETWEEN (TO_DATE( ( :B2 ) , 'mm/dd/yyyy hh24:mi:ss') ) AND (TO_DATE( ( :B1 ) , 'mm/dd/yyyy hh24:mi:ss') ) ) ) ) "AGG_INPUT$2" GROUP BY "AGG_INPUT$2". "PERSON_ID$13", "AGG_INPUT$2". "ADVISOR_PERSON_ID$13", "AGG_INPUT$2". "SCHEMA_NAME$12" ) "DEDUP_SRC_0$2" ) "LOOKUP_INPUT_SUBQUERY$5" WHERE ( (NOT ( "LOOKUP_INPUT_SUBQUERY$5". "PERSON_ID$11" IS NULL AND "LOOKUP_INPUT_SUBQUERY$5". "ADVISOR_PERSON_ID$11" IS NULL AND "LOOKUP_INPUT_SUBQUERY$5". "SCHEMA_NAME$10" IS NULL)) ) ) "INGRP1" LEFT OUTER JOIN ( SELECT "DUMMY_LEVEL_0". "DUMMY_LEVEL_KEY" "DUMMY_LEVEL_KEY", "DUMMY_LEVEL_0". "DUMMY_VALUE" "DUMMY_VALUE", "DUMMY_LEVEL_0". "DESCRIPTION" "DESCRIPTION" FROM "WM_USERS_ADVISORS_DIM" "DUMMY_LEVEL_0" WHERE ( "DUMMY_LEVEL_0". "DIMENSION_KEY" = "DUMMY_LEVEL_0". "DUMMY_LEVEL_KEY" ) AND ( "DUMMY_LEVEL_0". "DUMMY_LEVEL_KEY" IS NOT NULL ) ) "INGRP2" ON ( ( "INGRP1". "LOOKUP$$$_1_DUMMY_VALUE" = "INGRP2". "DUMMY_VALUE" ) ) )
    INSERT /*+ APPEND PARALLEL ("USERS_ADVISORS_STG") */ INTO "OWB$ *USERS_ADVISORS__1FEA66* " "USERS_ADVISORS_STG" ( "PERSON_ID", "ADVISOR_PERSON_ID", "INVITE_CLIENT_ID", "IS_PRIMARY_ADVISOR", "SCHEMA_NAME", "DUMMY_LEVEL_KEY", "DESCRIPTION", "DUMMY_VALUE") (SELECT "INGRP1". "PERSON_ID" "PERSON_ID$10", "INGRP1". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID$10", "INGRP1". "INVITE_CLIENT_ID" "INVITE_CLIENT_ID$8", "INGRP1". "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR$10", "INGRP1". "SCHEMA_NAME" "SCHEMA_NAME$9", "INGRP2". "DUMMY_LEVEL_KEY" "DUMMY_LEVEL_KEY$8", "INGRP2". "DESCRIPTION" "DESCRIPTION$12", "INGRP1". "LOOKUP$$$_1_DUMMY_VALUE" "LOOKUP$$$_1_DUMMY_VALUE$6" FROM ( SELECT "LOOKUP_INPUT_SUBQUERY$5". "USERS_ADVISORS_KEY$6" "USERS_ADVISORS_KEY", "LOOKUP_INPUT_SUBQUERY$5". "PERSON_ID$11" "PERSON_ID", "LOOKUP_INPUT_SUBQUERY$5". "ADVISOR_PERSON_ID$11" "ADVISOR_PERSON_ID", "LOOKUP_INPUT_SUBQUERY$5". "INVITE_CLIENT_ID$9" "INVITE_CLIENT_ID", "LOOKUP_INPUT_SUBQUERY$5". "IS_PRIMARY_ADVISOR$11" "IS_PRIMARY_ADVISOR", "LOOKUP_INPUT_SUBQUERY$5". "SCHEMA_NAME$10" "SCHEMA_NAME", "LOOKUP_INPUT_SUBQUERY$5". "LOOKUP$$$_1_DUMMY_VALUE$7" "LOOKUP$$$_1_DUMMY_VALUE" FROM (SELECT "DEDUP_SRC_0$2". "USERS_ADVISORS_KEY$7" "USERS_ADVISORS_KEY$6", "DEDUP_SRC_0$2". "PERSON_ID$12" "PERSON_ID$11", "DEDUP_SRC_0$2". "ADVISOR_PERSON_ID$12" "ADVISOR_PERSON_ID$11", "DEDUP_SRC_0$2". "INVITE_CLIENT_ID$10" "INVITE_CLIENT_ID$9", "DEDUP_SRC_0$2". "IS_PRIMARY_ADVISOR$12" "IS_PRIMARY_ADVISOR$11", "DEDUP_SRC_0$2". "SCHEMA_NAME$11" "SCHEMA_NAME$10", "DEDUP_SRC_0$2". "LOOKUP$$$_1_DUMMY_VALUE$8" "LOOKUP$$$_1_DUMMY_VALUE$7" FROM (SELECT CAST (NULL AS NUMERIC) "USERS_ADVISORS_KEY$7", "AGG_INPUT$2". "PERSON_ID$13" "PERSON_ID$12", "AGG_INPUT$2". "ADVISOR_PERSON_ID$13" "ADVISOR_PERSON_ID$12", MIN( "AGG_INPUT$2". "INVITE_CLIENT_ID$11") "INVITE_CLIENT_ID$10", MIN( "AGG_INPUT$2". "IS_PRIMARY_ADVISOR$13") "IS_PRIMARY_ADVISOR$12", "AGG_INPUT$2". "SCHEMA_NAME$12" "SCHEMA_NAME$11", MIN( "AGG_INPUT$2". "LOOKUP$$$_1_DUMMY_VALUE$9") "LOOKUP$$$_1_DUMMY_VALUE$8" FROM (SELECT ( :B4 ) "USERS_ADVISORS_KEY$8", "USER_ADVISOR". "PERSON_ID" "PERSON_ID$13", "USER_ADVISOR". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID$13", "INVITE_CLIENTS". "INVITE_CLIENT_ID" "INVITE_CLIENT_ID$11", "USER_ADVISOR". "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR$13", ( :B3 ) "SCHEMA_NAME$12", 0 "LOOKUP$$$_1_DUMMY_VALUE$9" FROM ( SELECT "SET_OPERATION$2". "PERSON_ID$14" "PERSON_ID", "SET_OPERATION$2". "ADVISOR_PERSON_ID$14" "ADVISOR_PERSON_ID", "SET_OPERATION$2". "CREATED_ON$2" "CREATED_ON", "SET_OPERATION$2". "IS_PRIMARY_ADVISOR$14" "IS_PRIMARY_ADVISOR", "SET_OPERATION$2". "MOD_TAG$2" "MOD_TAG", "SET_OPERATION$2". "MODIFIED_ON$2" "MODIFIED_ON" FROM (SELECT "PERSON_ID" "PERSON_ID$14", "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID$14", "CREATED_ON" "CREATED_ON$2", "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR$14", "MOD_TAG" "MOD_TAG$2", "MODIFIED_ON" "MODIFIED_ON$2" FROM (SELECT "USERS_ADVISORS". "PERSON_ID" "PERSON_ID", "USERS_ADVISORS". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID", "USERS_ADVISORS". "CREATED_ON" "CREATED_ON", "USERS_ADVISORS". "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR", "USERS_ADVISORS". "MOD_TAG" "MOD_TAG", "USERS_ADVISORS". "MODIFIED_ON" "MODIFIED_ON" FROM "ADVIEWPROD". "USERS_ADVISORS" "USERS_ADVISORS" UNION SELECT "USERS_ADVISORS_DLOG". "PERSON_ID" "PERSON_ID", "USERS_ADVISORS_DLOG". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID", "USERS_ADVISORS_DLOG". "CREATED_ON" "CREATED_ON", "USERS_ADVISORS_DLOG". "IS_PRIMARY_ADVISOR" "IS_PRIMARY_ADVISOR", "USERS_ADVISORS_DLOG". "MOD_TAG" "MOD_TAG", "USERS_ADVISORS_DLOG". "MODIFIED_ON" "MODIFIED_ON" FROM "ADVIEWPROD". "USERS_ADVISORS_DLOG" "USERS_ADVISORS_DLOG") ) "SET_OPERATION$2" ) "USER_ADVISOR" LEFT OUTER JOIN ( SELECT "INVITE_CLIENTS". "ADVISOR_PERSON_ID" "ADVISOR_PERSON_ID", "INVITE_CLIENTS". "PERSON_ID" "PERSON_ID", "INVITE_CLIENTS". "INVITE_CLIENT_ID" "INVITE_CLIENT_ID" FROM "ADVIEWPROD". "INVITE_CLIENTS" "INVITE_CLIENTS" ) "INVITE_CLIENTS" ON ( (( "USER_ADVISOR". "PERSON_ID" = "INVITE_CLIENTS". "PERSON_ID" )) AND (( "USER_ADVISOR". "ADVISOR_PERSON_ID" = "INVITE_CLIENTS". "ADVISOR_PERSON_ID" )) ) WHERE ( ( "USER_ADVISOR". "CREATED_ON" BETWEEN (TO_DATE( ( :B2 ) , 'mm/dd/yyyy hh24:mi:ss') ) AND (TO_DATE( ( :B1 ) , 'mm/dd/yyyy hh24:mi:ss') ) OR "USER_ADVISOR". "MODIFIED_ON" BETWEEN (TO_DATE( ( :B2 ) , 'mm/dd/yyyy hh24:mi:ss') ) AND (TO_DATE( ( :B1 ) , 'mm/dd/yyyy hh24:mi:ss') ) ) ) ) "AGG_INPUT$2" GROUP BY "AGG_INPUT$2". "PERSON_ID$13", "AGG_INPUT$2". "ADVISOR_PERSON_ID$13", "AGG_INPUT$2". "SCHEMA_NAME$12" ) "DEDUP_SRC_0$2" ) "LOOKUP_INPUT_SUBQUERY$5" WHERE ( (NOT ( "LOOKUP_INPUT_SUBQUERY$5". "PERSON_ID$11" IS NULL AND "LOOKUP_INPUT_SUBQUERY$5". "ADVISOR_PERSON_ID$11" IS NULL AND "LOOKUP_INPUT_SUBQUERY$5". "SCHEMA_NAME$10" IS NULL)) ) ) "INGRP1" LEFT OUTER JOIN ( SELECT "DUMMY_LEVEL_0". "DUMMY_LEVEL_KEY" "DUMMY_LEVEL_KEY", "DUMMY_LEVEL_0". "DUMMY_VALUE" "DUMMY_VALUE", "DUMMY_LEVEL_0". "DESCRIPTION" "DESCRIPTION" FROM "WM_USERS_ADVISORS_DIM" "DUMMY_LEVEL_0" WHERE ( "DUMMY_LEVEL_0". "DIMENSION_KEY" = "DUMMY_LEVEL_0". "DUMMY_LEVEL_KEY" ) AND ( "DUMMY_LEVEL_0". "DUMMY_LEVEL_KEY" IS NOT NULL ) ) "INGRP2" ON ( ( "INGRP1". "LOOKUP$$$_1_DUMMY_VALUE" = "INGRP2". "DUMMY_VALUE" ) ) )
    Thanks in advance
    Meg
    Edited by: Meg on Jan 4, 2012 5:33 PM

    Hello,
    These wrappers were separated into different templates.  What you would need to do is to run the templates that you need. You can find these templates in the C:\Program Files\National Instruments\MATRIXx\mx_71.4\case\ACC\templates folder.
    Hope this helps.
    Ricardo S.
    National Instruments

  • Generate bar codes in smartforms

    Hi,
    I wonder to know how can I add bar codes to a smartform. Bar codes should be generated in a automatic sequence and its number should be printed too.
    Thanks a lot,
    Nuno Moreira

    Hi Gregor,
    Let me try to explain better.
    1. I'm using the bar code in smartforms and I'm able to generate the bar code graphic. But I want to print the bar code graphic and the bar code number, so what I was asking is if there is some way to associate automatically the number with bar code graphic, instead of write the number again with a regular font format, because like this is very difficult to format properlly the graphic with the associated number.
    2. What I want to do is, print daily several letters identified with a bar code, so it'll be nice if the system could generate a automatic sequence of number to convert in bar code graphics.
    I hope you could understand my doubts.
    Thanks again,
    Nuno Moreira

  • Generate BP Code

    Hi all!
    I have created a formatted search which generates the business code automatically. Essentially it works with following query:
    SELECT MAX(T0. CardCode)+1 FROM OCRD T0 WHERE T0.CARDTYPE= $[OCRD.CARDTYPE] FOR BROWSE
    I want that the BP code only increases when I add a new data record. But currently the BP code also increases when Iu2019m just viewing the data record.
    Regards,
    Thilo Spiertz

    Hello,
    how can I make the following query to work with a nummeric bp code?
    select max(cardtype)                                      
    + cast(substring( max(cardcode), 2, len(max(cardcode)))   
    + 1 as nvarchar(10)) from ocrd                            
    where cardtype = $[OCRD.CARDTYPE]

  • How do I generate redemption code for creative cloud?

    how do I generate redemption code for creative cloud?

    On October 27th 2014, you have purchased two CC (one complete &one photography) under the same Adobe ID. That is the reason you are being asked for a code because under one Adobe ID only one CC can be activated(twice).
    Please contact Adobe Support or you can inbox me privately the CC order number  that you would like to cancel.
    You can also check if the host file has Adobe entry or not as if Adobe entries are there then also CC can ask for serial number. You can check the host by the followinh method.
    Creative cloud do not need a serial number. it will be using your Adobe ID on which you have purchased the creative cloud membership.
    So you need to login with your Adobe ID and password to activate the cloud membership.
    Log out & log back in of the CC Desktop App.
    In case it is not signing in successfully please try the following:
    I don't know which operating system you are working on so i am giving you some steps windows and MAC OS:
       Windows:
       In windows 7 navigate to following location:
         /windows/system32/drivers/etc
       1. look out for "Hosts" file
       2. Open it with notepad
       3. Check if you have any entry for Adobe
       4. Remove the entries and try again launching any product from CC
      Mac:
       1. Please click on "Go" and navigate to /private/etc
       2. Open "hosts" file and check out for any entries for Adobe.com
       3. Remove the entries and save the file
       4.  try again launching any product from CC
      Please refer to Creative Cloud applications ask for serial number
    Hope it helps you.
    Regards
    Rajshree
    Cannot license Illustrator CC after buying subscription

  • Studio 12: C compiler generates bad code with -m64 -KPIC -xO2

    Hello,
    after upgrading my Solaris 10/x64 machine from Studio 11 to Studio 12 some problems were fixed, but others came up; like this one:
    I have a code snippet that obviously causes the C compiler to generate wrong code if compiled with options -m64 -KPIC -xO2. If any of these options are missing, it runs fine. Here's the example code:
    #include <stdio.h>
    #include <strings.h>
    static int do_something() { return 0; }
    static int foo() {
        fprintf(stderr, "\n!! BUG: BAD CODE! unexpected function call foo()!\n\n");
        return 222;
    static int bar() {
        fprintf(stdout, "\nOK: bar() called\n\n");
        return 0;
    static const struct {
        const char* name;
        int (*func)();
        int flag;
    } tab[] = {
        { "foo",  &foo,  0 },
        { "bar",  &bar,  0 },
        { 0, 0, 0 }
    int main(int argc, const char** argv) {
        int i;
        for (i=0; tab.name; i++) {
    if( strcmp(tab[i].name, "bar") == 0 ) {
    if(tab[i].flag) {   /* not reached */
    if(!do_something()) {
    return 2;
    return (*tab[i].func)();
    return 1; /* not reached */
    Many lines seem to be bogus, but they are actually needed to reproduce the problem.
    This is what happens:# cc -m64 -KPIC -xO2 bug.c && ./a.out ; echo $?
    !! BUG: BAD CODE! unexpected function call foo()!
    222
    If I compile with debugging information (-g), I get expected behavior, which is:# cc -m64 -KPIC -g bug.c && ./a.out ; echo $?
    OK: bar() called
    0
    While creating the test case I've also seen SIGSEGV at runtime in the bug case - which is probably due to a wrong calculated function address for jmp (just guessing).
    Does anyone know if this is a known bug?
    Any help is appreciated.
    The rest of this posting is information about my system and Studio 12 patch level:# uname -a
    SunOS v20 5.10 Generic_137112-08 i86pc i386 i86pc
    # /usr/SUNWspro/bin/version
    Machine hardware: i86pc
    OS version: 5.10
    Processor type: i386
    Hardware: i86pc
    The following components are installed on your system:
    Sun Studio 12
    Sun Studio 12 C Compiler
    Sun Studio 12 C++ Compiler
    Sun Studio 12 Tools.h++ 7.1
    Sun Studio 12 C++ Standard 64-bit Class Library
    Sun Studio 12 Garbage Collector
    Sun Studio 12 Fortran 95
    Sun Studio 12 Debugging Tools (including dbx)
    Sun Studio 12 IDE
    Sun Studio 12 Debugger GUI
    Sun Studio 12 Performance Analyzer (including collect, ...)
    Sun Studio 12 X-Designer
    Sun Studio 12 VIM editor
    Sun Studio 12 XEmacs editor
    Sun Studio 12 Performance Library
    Sun Studio 12 LockLint
    Sun Studio 12 Building Software (including dmake)
    Sun Studio 12 Documentation Set
    Sun Studio 12 /usr symbolic links and GNOME menu item
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9 SunOS_i386 Patch 124868-07 2008/10/07
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9 SunOS_i386 Patch 124864-08 2008/10/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.3 SunOS_i386 Patch 127002-04 2008/04/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.6 SunOS_i386 Patch 124873-06 2008/08/20
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Analyzer 7.6 SunOS_i386 Patch 126996-04 2008/09/03
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19

    I'm watching Bug ID: [6774287|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6774287] for quite a while and it seems to be fixed some time ago (State: 8-Fix Available, bug). Does anybody know if the fix made it in some officially available SunStudio 12 C compiler (backend) patch already? I'm using this SS12 patch-level meanwhile:
    # /usr/SUNWspro/bin/version
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9 SunOS_i386 Patch 124868-08 2008/11/25
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9 SunOS_i386 Patch 124864-09 2008/12/16
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.3 SunOS_i386 Patch 127002-05 2008/10/21
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.6 SunOS_i386 Patch 124873-06 2008/08/20
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Analyzer 7.6 SunOS_i386 Patch 126996-04 2008/09/03
    version of "/usr/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19

  • The BEx Analyzer cannot generate VBA code due to the security settings

    Hello experts,
    when I try to open a query in BEx Analyser I get this error message for each Item of the Query:
    Diagnosis
    The BEx Analyzer cannot generate VBA code due to the security settings.
    System Response
    VBA code is not generated.
    Procedure
    Choose Tools -> Macro -> Security.
    On the Trusted Publishers tab page, select Trust access to Visual Basic project.
    Choose OK.
    Close the BEx Analyzer and continue working as before.
    Access to Visual Basic project is only needed when generating VBA code.
    This only takes place in design mode or when 3.x workbooks are upgraded.
    Of course I did exactly what was recommanded in the "procedure-section" of this error message. But BEx ist still not working!
    I use SAP NetWeaver 7.0 together with MS Excel 2007
    Thanks
    Axel

    Hello experts,
    I am an additional person interested in the way this issue was solved.
    I confirm that the issue is coming from the SP2 of Microsoft Office (I have another environnement without the SP2 and everything works well), and I am in a situation where I can't remove the update.
    Regards
    Guillaume P.
    EDIT :
    Solution found : I applied the bi710sp10p_1001-10004472.exe patch
    (downloaded via the download maanger : Support Packages and Patches - Entry by Application Group" SAP Frontend Components" BI ADDON FOR SAP GUI" BI 7.0 ADDON FOR SAP GUI 7.10)
    Edited by: GUILLAUME PETIAUX on Apr 13, 2010 10:29 AM

  • Hand made or generated GUI code, what do proffesional use?

    Hello!
    I am currious about what programs people that work as a programmer use? Is it common that they use programs that generats code like Netbeens for instance? I tryed that program in design mode to make a gui, but when I looked at the code it had generated I could not understand it. When I have seen simple example of gui code that has been hand written I have no trouble to understand the code.
    My opinion is that code is something that others than yourself can read and understand. Wich ofcource is not as simple as it sounds :) The reason I could not understand Netbeens generated code can ofcource be that I am a java beginner.
    So, what I am asking is that:
    1. Is it common that proffesional programmers use programs like Netbeens to generate GUI code ?
    2. The problem that others cant read or understand the code, is it more common that the programmer have used generated code or does the problem as easly occur when the code is hand written?
    Regards
    Martin
    Edited by: onslow77 on Nov 4, 2009 8:02 AM

    gimbal2 wrote:
    but I prefer hand made code; that generated crap is unreadable (all imho of course) and I don't understand it eitherSeconded. Code generation not only creates messy, undocumented code, but it also leads to hidden mistakes which are the worst kind. I'd rather spend a little more time writing the stuff by hand and not only having full control over the outcome, but also have full knowledge of its inner workings.Thirded. For my money, if you're building rich GUIs that are anything other than trivial, it's probably worth investing some effort in writing a layer of code to simplify building those GUIs. Working with vast amounts of raw Swing, for example, is a painful experience. For our Swing products, we've got a whole library of controls we built specific to our apps. We also wrote a layer of abstraction over the whole of Swing itself, but that's another story. Another alternative is to use a Rich Client Platform like Eclipse RCP, which provides a lot of common, rich components, and a framework for deploying them in, out of the box. Both the Eclipse and NetBeans IDEs are built upon their own respective RCP packages, which are available for you to use for your own apps. All those nice editors, drag-n-drop views, trees, menus, shortcuts and what-not, all just there for you to use without having to write any tiresome window-resizing code. Lovely. I don't know about IntelliJ, but I wouldn't be surprised if it, too, did so. Spring RCP is another such package.

  • Error when integrating the generated SUP code in Visual Studio

    Hi,
    I am working on SUP2.1 and trying to create a Windows Mobile Application. I have created MBOs and generated the code successfully. Now, when I am trying to integrate the generated code with the client application in Visual Studio, I am getting an error:  "File or assembly name 'sup-client, Version=1.5.2.0, Culture=neutral, PublicKeyToken=F7584B9EEA15C033', or one of its dependencies, was not found"
    Does anybody has any idea on this? Any help is appreciated!

    If I memory servers, you have to open the Crystal_Regwiz2003.msm in the .NET deployment project. One of the properties of the msm was Keycode (or similar). You entered the keycode here. To find your keycode; in VS2003 IDE, go to the Help | About screen. You will see one of the installed components as Crystal Reports and the keycode will be on the right of that. Copy the keycode from here, paste in the above.
    For more details see the article Crystal Reports and Visual Studio .NET - Application Deployment.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • How to generate QR Codes and link then to web site

    I need help generating QR Codes with Adobe Photoshop Elements 12; please

    Thanks for reply, would visual studio professional allow me to generate
    dynamic QR Codes or which software do you recommend

  • [svn:fx-trunk] 12077: Although Spark RichText does not support link formats , modifying compiled FXG to not generate ActionScript code that will cause compile time exceptions .

    Revision: 12077
    Revision: 12077
    Author:   [email protected]
    Date:     2009-11-20 18:16:32 -0800 (Fri, 20 Nov 2009)
    Log Message:
    Although Spark RichText does not support link formats, modifying compiled FXG to not generate ActionScript code that will cause compile time exceptions.
    Removing references to Flex Builder 3 in RPC.
    QE notes: N/A
    Doc notes: N/A
    Bugs:
    SDK-24305 - Link format property nodes cause errors on RichText in FXG 2.0
    SDK-24322 - A couple references to Flex Builder 3 in Flex 4 LangRef (and code comments)
    Reviewer: Deepa
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24305
        http://bugs.adobe.com/jira/browse/SDK-24322
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java

  • Tax code automatically to Freight costs document created thru VI01

    Dear friends,
    Could I determine tax code automatically into freight costs document when I create document in VI01 ?
    How could I do that ?
    This tax code goes to PO when PO created to pay this freight costs ?
    best regards,
    Ale

    Dear Alessandro,
    Herewith I attached the link which would help you.
    transaction codes..
    Please refer to this link. You will get better view. TQ
    rgds,
    nanthakumar

  • How to generate html-code using csv input with JSP or JAVA???

    Hello,
    I want to read out a .csv-file and generate html-code dynmically with JSP in an EP6 Application. The problem is, that the csv-file can’t be located or openend.
    BTW if every knows a good tutorial or weblog for this, please post the link.
    It’s located in a par-archive under:
    />dist>files
    I tried various methods, in the doContent mehtod or with JSP. Everytime same result.
    Here part of the code I tried in the doContent():
    public class CSV extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
            String strWRoot = request.getWebResourcePath();
            String contentCSV="", line="";
            String linesep = System.getProperty("line.separator");
            File fileLoadCSV = new File(strWRoot+"/files/ma_infosysteme.csv");
            boolean exCSV = fileLoadCSV.exists();
            boolean reCSV = fileLoadCSV.canRead();
            int a=0;
            if(exCSV&&reCSV){
                response.write("ok");
                try {
                  BufferedReader inputCSV = new BufferedReader(new FileReader(fileLoadCSV));
                  while((line=inputCSV.readLine())!=null){
                    contentCSV=contentCSVlinelinesep;
                    a++;
                  inputCSV.close(); 
                catch(IOException ioex){
                    System.out.println("Fehler");  
            else {
                response.write("not ok");
            response.write("<br>Wroot: "+strWRoot);
            response.write("<br>File: "+fileLoadCSV);
            response.write("<br>exists: "+exCSV);
            response.write("<br>read: "+reCSV);
            response.write("<br>Input: "+contentCSV);
    The Output is:
    not ok
    Wroot: /irj/portalapps/DHTML
    File: \irj\portalapps\DHTML\files\ma_infosysteme.csv
    exists: false
    read: false
    Input:
    So thanks to everyone who can give me a good hint.
    Bye.

    Without really looking too much into this it looks like the problem is with the way in which you are trying to open the file. I believe that when creating a File object you need to use a physical path. By using the getWebResourcePath() method you are retrieving the URL to this file and not the physical path name. There is another method (can't remember the exact name) called getPublicResourcePath() (or something similar) which will return the physical path to this file, i.e. c:\usr\sap\.....etc. If you try it this way it may well work
    I hope this helps
    D

Maybe you are looking for

  • Ping iTunes server returns error message

    Help!! I have tried to ping the server following the instructions on the Tech Specs page (http://www.apple.com/itunes/podcasts/techspecs.html), but whenever I put the URL w/podcast id into my browser, I simply get an error message back from Apple and

  • Notes lost

    I backed up my iPhone 4s before installing ios7. However I've noticed that some of my notes from the Notes app have disappeared. How do I get them back?

  • Imac intel + snow on HP 5100 printer

    Since I purchased my iMac (with Snow Leopard installed) I can no longer connect to my HP 5100Tn laserjet. I've tried using gutenprint, IP address, even paralel-to-USB connection, they all failed. I learned that to try using 'Ping' in Network utilitie

  • Analog cassette to digital?

    I hope I'm in the right place. I'm trying to convert my cassette tapes to digital and store then on my itunes. Any advice on types of cassette players, converter units, and or software to use would be helpful. Also any help in where to find info. on

  • Problema al instalar lightroom 5.3 en 32 bits

    me dice que no encuentra el fichero lightroom.msi