Angular JS and coded UI

Hi 
our website is developed using angularJS and HTML5 . I am trying to record a coded UI for the login.
Recording is good and code is generated properly, however when i run the script, it presses the login button but login is not successful.
Infact nothing happens on the login page, and userid and password field becomes empty without user being on the next page.
However, if i login manually - things works perfect.
i tried to debug the jscript in IE11 and i found one error (when running from coded UI)
"Accessing the 'arguments' property of a function is not allowed in strict mode"
Does any one else have the same issue -?
any solution?

Please check the below links it should solve your problem.
The work-around is to add the following to the App.config file for your test project:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="WebWaitForReadyLevel" value="3"/>
  </appSettings>
</configuration>
Links: For more details please visit this links:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/fda7f05a-4db1-43fc-a81a-5b2e46f6355f/ie-clicking-on-signin-button-does-not-take-user-to-next-page?forum=vstest#892375d4-2e5b-49f1-9c1b-f0251a40b1f4
https://social.msdn.microsoft.com/Forums/vstudio/en-US/ce509aa3-cb60-4596-b1ff-1ea11242d981/coded-ui-automation-issue-with-vs2013?forum=vstest
http://stackoverflow.com/questions/17849074/jquery-ajax-success-not-getting-triggered-with-coded-ui-test-project
Regards,
Ahetejazahmad Khan.

Similar Messages

  • Java style and coding conventions

    Hello All,
    Most of my programming experience is in Java, and as such, I try to conform to the style and coding conventions that are used in all of the Sun tutorials, and to my understanding, the specification. I'm enrolled in my final semester of a bachelor's of computer science and engineering, and one of my courses is "Software Engineering". Our course assignment is to make a website, written in PHP. I don't really care for PHP, so I volunteered for the Code Quality Assurance team, thinking, I'm fairly consistent when it comes to adhering to the Java conventions, it should be reasonable to determine similar conventions for this project, and give my classmates pointers on how to improve the readability and layout of their source listings.
    The problem is, my professor, absolutely, whole-heartedly hates Java. He despises everything about it. For example, I sent him a source listing that I felt was well written, readable, and adequately documented. Some of the things that I was "doing wrong" were:
    1. Naming Conventions
    All of the Classes were first-letter capitalized, subsequent first-letter of each word capitalized. FormLayoutManager was one particular example. All instance or primitive identifiers were first-letter lowercase, subsequent first-letter capitalized, so an instance of FormLayoutManager could be formLayoutManager, or menuLayoutManager, etc. All constants were all capitals, with underscores separating each word. MAXIMUM_POWER. All methods were first-letter lowercase, subsequent first-letter capitalized, showLoginComponents().
    My Professor insists that the convention I (and most of the Java community as far as I can see) is terribly unreadable, and that all instances variables and method names be first-letter capitalized. I tried explaining that this sacrifices the ability to easily distinguish between a class type or interface, and an instance, and was ignored.
    2. Declaration and Initialization
    Also, supposedly declaring a local identifier and initializing it in the same line is some sort of abomination of everything sacred in programming. So I found myself constantly doing things like
    public String info() {
      StringBuilder info;
      info = new StringBuilder(512);
      // append a bunch of information to info
      return info.toString();
    }3. 80 Character line widths
    He wants me to break any statement that is over 80 characters in width into multiple lines. I know a long statement wrapping around in your editor is a irritating, but 80 characters, seriously, who doesn't have an editor that can't handle more than 80 characters on a line?
    4. this and argument names
    In most of my constructors that accept arguments, I would usually do something like
    public Student(String name, int age) {
       this.name = name;
       this.age = age;
    }Which he thinks is horribly confusing, and should be
    public Student(String n, int a) {
      name = n;
      age = a;
    }5. singular collections / arrays identifiers
    I had something like:
    String[] keywords= new String[] { "new", "delete", "save", "quit" };
    for (int i = 0; i < keywords.length; i++) {
       System.out.println(keywords);
    And he insisted that "keywords" be renamed "keyword", as in, the i-th keyword, which I think is kind of stupid because the array is an array of keywords, and having a singular identifier makes that less obvious.
    It's driving me crazy. It's driving everyone else in the class crazy because they're all mostly used to Java style conventions as well. I've tried pleading my case and I can't even get him to acknowledge the benefits of the "alternative" styles that I've used in my programs up to this point.
    Have any of you had to deal with either professors or bosses who have this type of attitude, whether it be towards Java or any other language? This guy has been involved with computer science for a while. I think he's used to Pascal (which I know nearly nothing about).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    You will find people who will disagree about this stuff all the time. I had a similar course and we read "Code Complete" which offers some style suggestions. Fortunately, my professor was intelligent enough to allow a discussion of these styles and I had a chance to argue against the "bracket every if statement" idea and other little things I didn't agree with. It was insightful conversation, rather than a "I'm the professor, you're a student, so listen to me".
    Here's the important part: It doesn't matter what the standard is, only that there is one.
    Unless I misunderstand, he allowed you to take on the responsibility of QA, so it is ultimately your decision. If the project suffers because of poor quality of code, it will be on your head. If, on the other hand, you give in to him and use a style that makes no sense and the project suffers because of poor code, it will still be on your head.
    So he really has no position in this because he is not a stakeholder in this decision. Tell him that this is your responsibility and you need to make the choices that are right for your group, not right for him. If he's teaching you anything that can reasonably be called software engineering, he should understand that. Otherwise he's just teaching out of a book called "Software Engineering" and doesn't know anything (or so it seems from this small window you've given us).
    caveat: If he's reviewing the code and he's particularly snarky about his "styles", you might want to consider giving in to his demands for the sake of your grade. Sad reality.

  • Need an help to maintain catalog structure for objects parts,defects,causes,activities and coding in one z table

    Hi Experts,
    I am trying to create a z table with the same fields repeating for the development in PM module.
    I want to have Catalog structure (Catalog,Code group,Code) for objects parts,defects,causes,activities and coding in one z table.Firstly I have created these fields by selecting it from QPCD table.Then as I want the same functionality as it is in IW21 (PM Notification) I created the fields by referring to VIQMFE, VIQMUR , VIQMEL and VIQMMA as in IW21.
    1) However, I am not able to maintain the values.Once I select catalog structure for object parts and then when I am selecting it for defects the search help is still taking the object parts value in it and not allowing me to get the relevant data and also to maintain the data.
    I feel the problem is of check table as all the fields are referring  to the same check tables TQ15 , QPGR and QPCD but I am not getting the exact solution.
    Please find attach the screen shot of the table I have created and also the error I am getting while maintaining the values.
    Please do the needful.
    With Regards,
    Sonali Deshmukh

    Hi All...
    I got the solution.
    Thank You.
    With Regards,
    Sonali Deshmukh

  • Find the KOSTL(cost center) value using coing group and coding code

    Hi,
        Can we get the value cost center Kostl by using coding code and coding group. As per the requirement the coding group is specified in the table qmel-qmgrp and the coding code is qmel-qmcod.. So by using this values only can we get the KOSTL value..Please do help me in this regard.

    so the thing is for the particular coding group QMGRP we have the coding codes QMCOD assigned to it and for the transaction QM01 we cannot have the notification number (as this number is generated only after the transaction is completed)only the notification type is specified in first screen after we press enter a subscreen with Production order number is specified press enter,
    later in the first tab strip specify any material number and also plant number later the defect location and defect type, later in the subject tab strip in the coding group we get the F4 help for the coding code and group,there by picking any of the elements we also get the KOSTL value in text so i was just worried where can we get this value i have checked for the options that u have specified but this doesn't work for me...
    Thanx and reply me back(very Urgent)

  • Missing Load Test and Coded UI Templates

    Missing Load Test and Coded UI Templates even though i have installed Premium Version of Visual studio 2010.
    How can we install these?
    saikalyan

    Hi saikkalyan,
    Based on your issue, as far as I know that the Premium Version of Visual studio 2010 is only support the Unit test and coded UI test template.
    And I know that the load test template is only supported with the Ultimate version of Visual Studio 2010.
    Reference:
    https://msdn.microsoft.com/en-us/library/ms182572(v=vs.100).aspx
    So if you want to get the load test project template, you will need to install the VS2010 Ultimate.
    However, as you said that the coded UI test template missing in the VS2010 Premium, I suggest you could try to
    delete your ItemTemplatesCache, ProjectTemplatesCache folder and then run the the devenv /InstallVSTemplates switch and
    devenv /Setup switch. Please refer to the following steps:
    Step1: Please open Windows Explorer, and navigate to <Visual Studio Installation Path>\Common7\IDE (by default is <C:\Program Files(x86) \Microsoft Visual Studio 10.0\Common7\IDE>)
    Step2:
     Delete the ItemTemplatesCache, ProjectTemplatesCache folder; 
    Step3: Open Visual Studio Command Prompt (2010 x64 Cross Tools Command Prompt under Start menu -> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools
    (run it with Administrator privilege: right-click the program -> Run as administrator); 
    Step4: Run the devenv /InstallVSTemplates switch and the devenv /Setup switch
    http://msdn.microsoft.com/en-us/library/ms241279.aspx
    http://msdn.microsoft.com/en-us/library/ex6a2fad.aspx
    If you want to get both the load test and coded UI test template, you will need to install the VS2010 Ultimate as I pervious said.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BDC-STEPS AND CODING

    HI
    HI I WANT THE STEPS AND CODING USING THESE FUNCTION PLEASE SEND IT
    1) BCD_OPEN_GROUP
    2) BCD_INSERT
    3) BCD_CLOSE_GROUP
    ADVANCE THANKA FOR U

    HI siva,
    PLease find the sample code.
    *& Report  ZB02BDC                                                     *
    report  zb02bdc  line-size 125                               .
    *-TABLES DECLARATION.
    tables : zb02splfi , zb02sflight.
    *-END OF DECLARATION.
    *-DECLARING THE PARAMETERS FOR FILES.
    parameters : p_file1 type rlgrap-filename default
    'd:/chandu/master1.txt',
                 p_file2 type rlgrap-filename default 'd:/chandu/flight.txt'
    *-END.
    *-DECLARING THE INTERNAL TABLES.
    data : begin of itab1 occurs 0 ,
           carrid     type s_carr_id,
           connid(10) type c,
           countryfr type land1,
           cityfrom type     s_from_cit,
           airpfrom type     s_fromairp,
           countryto type land1,
           cityto     type s_to_city,
           airpto     type s_toairp,
          end of itab1.
    data : g_field type fnam_____4,
           g_count(4) type n value 0.
    data : begin of itab2 occurs 0,
             carrid(3) type c,
             connid(4) type c,
             fldate(10) type c,
             price(15) type c,
             currency(5) type c,
             planetype(10) type c,
             seatsmax(10) type c,
             seatsoccs(10) type c,
           end of itab2.
    data : itab_bdc like standard table of bdcdata,
           wa_bdc like bdcdata.
    *-END OF INTERNAL TABLES DECLARATION.
    *-UPLOADING DATA FROM FLAT FILES.
    call function 'WS_UPLOAD'
      exporting
        filename                = p_file1
        filetype                = 'DAT'
      tables
        data_tab                = itab1
      exceptions
        conversion_error        = 1
        file_open_error         = 2
        file_read_error         = 3
        invalid_type            = 4
        no_batch                = 5
        unknown_error           = 6
        invalid_table_width     = 7
        gui_refuse_filetransfer = 8
        customer_error          = 9
        no_authority            = 10
        others                  = 11.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    *-UPLOADING DATA FROM FLAT FILES.
    call function 'WS_UPLOAD'
      exporting
        filename                = p_file2
        filetype                = 'DAT'
      tables
        data_tab                = itab2
      exceptions
        conversion_error        = 1
        file_open_error         = 2
        file_read_error         = 3
        invalid_type            = 4
        no_batch                = 5
        unknown_error           = 6
        invalid_table_width     = 7
        gui_refuse_filetransfer = 8
        customer_error          = 9
        no_authority            = 10
        others                  = 11.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    *-END OF UPLOAD.
    *-DISPLAY UPLOADED DATA USING LOOP.
    loop at itab1.
      write : / itab1.
    endloop.
    *-DISPLAY UPLOADED DATA USING LOOP.
    loop at itab2.
      write : / itab2.
    endloop.
    *-BDC_OPEN_GROUP.
    call function 'BDC_OPEN_GROUP'
      exporting
        client              = sy-mandt
        group               = 'B02BDCDATA'
        user                = sy-uname
      exceptions
        client_invalid      = 1
        destination_invalid = 2
        group_invalid       = 3
        group_is_locked     = 4
        holddate_invalid    = 5
        internal_error      = 6
        queue_error         = 7
        running             = 8
        system_lock_error   = 9
        user_invalid        = 10
        others              = 11.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    *-UPLOADING EACH DATA USING WORK AREA.
    loop at itab1.
      clear itab_bdc.
      wa_bdc-program = 'SAPMZB02MODULE1' .
      wa_bdc-dynpro = '1000'.
      wa_bdc-dynbegin  = 'X'.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-APPEND CARRID.
      wa_bdc-fnam = 'ZB02SPLFI-CARRID'.
      wa_bdc-fval  =  itab1-carrid.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-APPEND CONNID.
      wa_bdc-fnam = 'ZB02SPLFI-CONNID'.
      wa_bdc-fval  =  itab1-connid.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-OKCODE FOR PROCEED.
      wa_bdc-fnam = 'BDC_OKCODE'.
      wa_bdc-fval  =  'PROCEED'.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
      wa_bdc-program = 'SAPMZB02MODULE1' .
      wa_bdc-dynpro = '1001'.
      wa_bdc-dynbegin  = 'X'.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-APPEND COUNTRYFR.
      wa_bdc-fnam = 'ZB02SPLFI-COUNTRYFR'.
      wa_bdc-fval  =  itab1-countryfr.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-APPEND CITYFROM.
      wa_bdc-fnam = 'ZB02SPLFI-CITYFROM'.
      wa_bdc-fval  =  itab1-cityfrom.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-APPEND AIRFROM.
      wa_bdc-fnam = 'ZB02SPLFI-AIRPFROM'.
      wa_bdc-fval  =  itab1-airpfrom.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-APPEND COUNTRYTO.
      wa_bdc-fnam = 'ZB02SPLFI-COUNTRYTO'.
      wa_bdc-fval  =  itab1-countryto.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-APPEND CITYTO.
      wa_bdc-fnam = 'ZB02SPLFI-CITYTO'.
      wa_bdc-fval  =  itab1-cityto.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-APPEND AIRPTO.
      wa_bdc-fnam = 'ZB02SPLFI-AIRPTO'.
      wa_bdc-fval  =  itab1-airpto.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-OKCODE FOR NEXT.
      wa_bdc-fnam = 'BDC_OKCODE'.
      wa_bdc-fval  =  'NEXT'.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
      clear g_count.
    *-LOOP AT INTERNAL TABLE2 FOR APPENDING FLIGHT DETAILS.
      loop at itab2 where carrid = itab1-carrid and connid = itab1-connid.
        g_count = g_count + 1.
        wa_bdc-program = 'SAPMZB02MODULE1' .
        wa_bdc-dynpro = '1002'.
        wa_bdc-dynbegin  = 'X'.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        wa_bdc-fnam = 'BDC_OKCODE'.
        wa_bdc-fval  =  'ZTAB1_INSR'.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        wa_bdc-program = 'SAPMZB02MODULE1' .
        wa_bdc-dynpro = '1002'.
        wa_bdc-dynbegin  = 'X'.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
    *-APPENDING THE FLIGHT DETAILS IN ZB02SFLIGHT TABLE.
        zb02sflight-carrid = itab2-carrid.
        zb02sflight-connid = itab2-connid.
        concatenate 'ZB02SFLIGHT-FLDATE(' g_count ')' into g_field.
    *-APPENDING FLDATE FROM TABLE WIZARD CONTROL.
        wa_bdc-fnam = g_field.
        wa_bdc-fval  =  itab2-fldate.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        clear g_field.
        concatenate 'ZB02SFLIGHT-PRICE(' g_count ')' into g_field .
    *-APPENDING PRICE FROM TABLE WIZARD CONTROL.
        wa_bdc-fnam = g_field.
        wa_bdc-fval  =  itab2-price.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        clear g_field.
        concatenate 'ZB02SFLIGHT-CURRENCY(' g_count ')' into g_field .
    *-APPENDING CURRENCY FROM TABLE WIZARD CONTROL.
        wa_bdc-fnam =  g_field.
        wa_bdc-fval  =  itab2-currency.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        clear g_field.
    *-APPENDING PLANETYPE FROM TABLE WIZARD CONTROL.
        concatenate 'ZB02SFLIGHT-PLANETYPE(' g_count ')' into g_field .
        wa_bdc-fnam =  g_field.
        wa_bdc-fval  =  itab2-planetype.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        clear g_field.
        concatenate 'ZB02SFLIGHT-SEATSMAX(' g_count ')' into g_field .
    *-APPENDING SEATMAX FROM TABLE WIZARD CONTROL.
        wa_bdc-fnam = g_field.
        wa_bdc-fval  =  itab2-seatsmax.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        clear g_field.
        concatenate 'ZB02SFLIGHT-SEATSOCCS(' g_count ')' into g_field .
    *-APPENDING SEATSOCCS FROM TABLE WIZARD CONTROL.
        wa_bdc-fnam = g_field.
        wa_bdc-fval  =  itab2-seatsoccs.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        clear g_field.
        wa_bdc-fnam = 'BDC_OKCODE'.
        wa_bdc-fval  =  '/00'.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
        wa_bdc-program = 'SAPMZB02MODULE1' .
        wa_bdc-dynpro = '1002'.
        wa_bdc-dynbegin  = 'X'.
        append wa_bdc to itab_bdc.
        clear wa_bdc.
      endloop.
    *-END OF LOOP
    *-OKCODE FOR SAVE BUTTON.
      wa_bdc-fnam = 'BDC_OKCODE'.
      wa_bdc-fval  =  'SAVE'.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
      wa_bdc-program = 'SAPMZB02MODULE1' .
      wa_bdc-dynpro = '1002'.
      wa_bdc-dynbegin  = 'X'.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-OKCODE FOR EXIT.
      wa_bdc-fnam = 'BDC_OKCODE'.
      wa_bdc-fval  =  'EXIT'.
      append wa_bdc to itab_bdc.
      clear wa_bdc.
    *-BDC-INSERT.
      call function 'BDC_INSERT'
       exporting
         tcode                  = 'zb02flight1'
            POST_LOCAL             = NOVBLOCAL
            PRINTING               = NOPRINT
            SIMUBATCH              = ' '
            CTUPARAMS              = ' '
        tables
          dynprotab              = itab_bdc
           exceptions
             internal_error         = 1
             not_open               = 2
             queue_error            = 3
             tcode_invalid          = 4
             printing_invalid       = 5
             posting_invalid        = 6
             others                 = 7
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endloop.
    BDC-CLOSE-GROUP.
    PS:Reward Points if helpful.
    Thanks,
    Reddy.

  • How to modify the layout  and coding for 'RVORDER01' after copying ..

    Hi all,
       I am trying to modify standard script layout SALES ORDER for Quotation,
    i.e. I had copied standard form 'RVORDER01' to 'ZBAT_RVORDER01'.
    and now I am trying to compress the information box. But no box in the layout  was selecting while trying to resize it. Can any one help in this issue.
      And I also want to know, how to modify the coding in that standard script. i.e. to add a perform statement and etc..
    Thanks in advance,
    Surender.

    GOTO SE71, and give the form name as 'ZBAT_RVORDER01' and Language as DE, try to compress the box according to your requirement, save activate and return to SE71, now change the language to EN, you will see the compressed window in EN.
    The casue of your problem is the original language is in DE so window changes, character formats etc can be done in DE language or change original language to english,
    TO change original language to EN, SE71 ,FOrm name Language DE click change, goto utilities--> change Language.
    Regards,
    Sairam

  • How to know the image size and coding of our j2me project

    Hi,
    I have developed a game and i did the obfuscation. My jar size is now 170KB. How can differentiate the coding size and the image size from the total jar size.
    If i asked any thing wrongly, please forgive me and clarify my doubt.
    I am looking forward to meet ur queries if any.
    Thanks and Regards,
    Hithayath.

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** -->
    <project xmlns:projdeps2="http://www.netbeans.org/ns/ant-project-references/2" basedir=".." default="jar" name="-impl">
    <target name="pre-init"/>
    <target depends="pre-init" name="pre-load-properties">
    <property file="nbproject/private/private.properties"/>
    <property value="0.0.1" name="deployment.number"/>
    <property value="000002" name="deployment.counter"/>
    <property location="${netbeans.user}/build.properties" name="user.properties.file"/>
    <available file="${user.properties.file}" property="user.properties.file.exists"/>
    </target>
    <target unless="config.active" depends="pre-load-properties" name="exists.config.active">
    <echo message="Active configuration (config.active property) is not set - using default." level="warning"/>
    <property name="config.active" value=""/>
    </target>
    <target unless="netbeans.user" depends="pre-load-properties" name="exists.netbeans.user">
    <echo message="NetBeans IDE user directory (netbeans.user property) is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: ant-ext library home, ...). You could also open this project in the NetBeans IDE - in this case this property would be set automatically." level="warning"/>
    </target>
    <target unless="user.properties.file.exists" depends="pre-load-properties" name="exists.user.properties.file">
    <echo message="User properties file (user.properties.file) property is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: libraries, platforms, ...)." level="warning"/>
    </target>
    <target depends="pre-load-properties,exists.config.active,exists.netbeans.user,exists.user.properties.file" name="load-properties">
    <loadproperties srcfile="nbproject/project.properties">
    <filterchain>
    <containsregex replace="\1" pattern="^configs\.${config.active}\.(.*)"/>
    <concatfilter prepend="nbproject/project.properties"/>
    <containsregex pattern="^platform.active=|^deployment.method="/>
    </filterchain>
    </loadproperties>
    <loadproperties srcfile="${user.properties.file}">
    <filterchain>
    <replaceregex replace="platform." pattern="^platforms\.${platform.active}\."/>
    <replaceregex replace="deployment.scriptfile=" pattern="^deployment\.${deployment.method}\.scriptfile="/>
    </filterchain>
    </loadproperties>
    <loadproperties srcfile="nbproject/project.properties">
    <filterchain>
    <containsregex replace="\1" pattern="^configs\.${config.active}\.(.*)"/>
    <concatfilter prepend="nbproject/project.properties"/>
    </filterchain>
    </loadproperties>
    </target>
    <target unless="platform.active" depends="load-properties" name="exists.platform.active">
    <echo message="Active platform (platform.active property) in not set. If you set this and user.properties.file property, many properties required by the project will be automatically evaluated (e.g.: platform home, platform classpath, ...)." level="warning"/>
    </target>
    <target depends="load-properties" unless="platform.configuration" name="exists.platform.configuration">
    <echo message="Platform configuration (platform.configuration) is not set. Using default (CLDC-1.0) configuration." level="warning"/>
    <property value="CLDC-1.0" name="platform.configuration"/>
    </target>
    <target depends="load-properties" unless="platform.profile" name="exists.platform.profile">
    <echo message="Platform profile (platform.profile) is not set. Using default (MIDP-1.0) profile." level="warning"/>
    <property value="MIDP-1.0" name="platform.profile"/>
    </target>
    <target depends="pre-init,load-properties,exists.platform.active,exists.platform.configuration,exists.platform.profile" name="init">
    <fail unless="libs.j2me_ant_ext.classpath">Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-modules-kjava-antext.jar file in the IDE installation directory.</fail>
    <fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>
    <fail unless="platform.bootclasspath">Platform boot classpath (platform.bootclasspath property) is not set. Value of this property should be ${platform.active.description} emulator boot classpath containing all J2ME classes provided by emulator.</fail>
    <fail unless="src.dir">Must set src.dir</fail>
    <fail unless="build.dir">Must set build.dir</fail>
    <fail unless="build.classes.dir">Must set build.classes.dir</fail>
    <fail unless="preprocessed.dir">Must set preprocessed.dir</fail>
    <fail unless="preverify.classes.dir">Must set preverify.classes.dir</fail>
    <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
    <fail unless="dist.dir">Must set dist.dir</fail>
    <fail unless="dist.jar">Must set dist.jar</fail>
    <fail unless="dist.jad">Must set dist.jad</fail>
    <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
    <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
    <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
    <property value="" name="abilities"/>
    <property value="" name="obfuscator.classpath"/>
    <property value="" name="kjava.configuration"/>
    <property value="UEI-1.0" name="platform.type"/>
    <property value="" name="platform.device"/>
    <property value="0" name="obfuscation.level"/>
    <property value="false" name="sign.enabled"/>
    <property value="file://" name="dist.jad.url"/>
    <property value="1.3" name="javac.source"/>
    <property value="1.1" name="javac.target"/>
    <property value="${file.encoding}" name="javac.encoding"/>
    <condition property="no.deps">
    <istrue value="${no.dependencies}"/>
    </condition>
    <condition property="no.javadoc.preview">
    <isfalse value="${javadoc.preview}"/>
    </condition>
    <condition value="${filter.excludes},**/*Test.java,**/test,**/test/**" property="filter.excludes.evaluated">
    <istrue value="${filter.exclude.tests}"/>
    </condition>
    <property value="${filter.excludes}" name="filter.excludes.evaluated"/>
    <condition value="" property="evaluated.run.security.domain">
    <isfalse value="${run.use.security.domain}"/>
    </condition>
    <condition value="" property="deployment.do.override.jarurl">
    <istrue value="${deployment.override.jarurl}"/>
    </condition>
    <property value="${run.security.domain}" name="evaluated.run.security.domain"/>
    <taskdef resource="org/netbeans/modules/kjava/antext/defs.properties">
    <classpath>
    <pathelement path="${libs.j2me_ant_ext.classpath}"/>
    </classpath>
    </taskdef>
    <uptodate targetfile="${preprocessed.dir}/.timestamp" property="no.clean.before.build">
    <srcfiles dir="nbproject">
    <include name="project.properties"/>
    <include name="build-impl.xml"/>
    </srcfiles>
    </uptodate>
    <condition property="skip.deployment">
    <equals trim="true" casesensitive="false" arg2="NONE" arg1="${deployment.method}"/>
    </condition>
    <condition property="skip-sign-keystore-password-input">
    <or>
    <isfalse value="${sign.enabled}"/>
    <and>
    <isset property="sign.keystore"/>
    <isset property="sign.keystore.password"/>
    <not>
    <equals trim="true" arg2="" arg1="${sign.keystore}"/>
    </not>
    <not>
    <equals trim="true" arg2="" arg1="${sign.keystore.password}"/>
    </not>
    </and>
    </or>
    </condition>
    <condition property="skip-sign-alias-password-input">
    <or>
    <isfalse value="${sign.enabled}"/>
    <and>
    <isset property="sign.keystore"/>
    <isset property="sign.alias"/>
    <isset property="sign.alias.password"/>
    <not>
    <equals trim="true" arg2="" arg1="${sign.keystore}"/>
    </not>
    <not>
    <equals trim="true" arg2="" arg1="${sign.alias}"/>
    </not>
    <not>
    <equals trim="true" arg2="" arg1="${sign.alias.password}"/>
    </not>
    </and>
    </or>
    </condition>
    <antcall inheritrefs="true" inheritall="true" target="post-init"/>
    </target>
    <target name="post-init"/>
    <target name="deps-jar" depends="init" unless="no.deps"/>
    <target description="Clean project in case its meta information has changed." unless="no.clean.before.build" depends="init" name="conditional-clean">
    <antcall target="do-clean" inheritall="true" inheritrefs="true"/>
    </target>
    <target name="pre-preprocess"/>
    <target description="Preprocess project sources." depends="init,pre-preprocess,deps-jar,conditional-clean" name="preprocess">
    <mkdir dir="${preprocessed.dir}"/>
    <echo file="${preprocessed.dir}/.timestamp" message="ignore me"/>
    <nb-prep encoding="${javac.encoding}" preprocessfor="${config.active},${abilities}" destdir="${preprocessed.dir}">
    <fileset excludes="${filter.excludes.evaluated}" defaultexcludes="${filter.use.standard}" dir="${src.dir}"/>
    </nb-prep>
    <antcall inheritrefs="true" inheritall="true" target="post-preprocess"/>
    </target>
    <target name="post-preprocess"/>
    <target description="Extracts all bundled libraries." depends="init,deps-jar,conditional-clean" name="extract-libs">
    <mkdir dir="${build.classes.dir}"/>
    <nb-extract excludeManifest="true" dir="${build.classes.dir}">
    <classpath>
    <path path="${libs.classpath}"/>
    </classpath>
    </nb-extract>
    </target>
    <target name="pre-compile"/>
    <target description="Compile project classes." depends="init,preprocess,extract-libs,pre-compile" name="compile">
    <mkdir dir="${build.classes.dir}"/>
    <javac encoding="${javac.encoding}" bootclasspath="${platform.bootclasspath}" srcdir="${preprocessed.dir}" destdir="${build.classes.dir}" debug="${javac.debug}" optimize="${javac.optimize}" deprecation="${javac.deprecation}" target="${javac.target}" source="${javac.source}" includeantruntime="false">
    <classpath>
    <path path="${libs.classpath}"/>
    </classpath>
    </javac>
    <copy todir="${build.classes.dir}">
    <fileset excludes="${filter.excludes.evaluated},${build.classes.excludes}" defaultexcludes="${filter.use.standard}" dir="${src.dir}"/>
    </copy>
    <antcall inheritrefs="true" inheritall="true" target="post-compile"/>
    </target>
    <target name="post-compile"/>
    <target name="pre-compile-single"/>
    <target description="Compile selected project classes." depends="init,preprocess,extract-libs,pre-compile-single" name="compile-single">
    <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
    <mkdir dir="${build.classes.dir}"/>
    <javac encoding="${javac.encoding}" includes="${javac.includes}" bootclasspath="${platform.bootclasspath}" destdir="${build.classes.dir}" srcdir="${preprocessed.dir}" debug="${javac.debug}" optimize="${javac.optimize}" deprecation="${javac.deprecation}" target="${javac.target}" source="${javac.source}" includeantruntime="false">
    <classpath>
    <path path="${libs.classpath}"/>
    </classpath>
    </javac>
    <antcall inheritrefs="true" inheritall="true" target="post-compile-single"/>
    </target>
    <target name="post-compile-single"/>
    <target depends="init" name="create-jad">
    <mkdir dir="${build.dir}"/>
    <dirname property="dist.jad.dir" file="${dist.dir}/${dist.jad}"/>
    <mkdir dir="${dist.jad.dir}"/>
    <condition value="${manifest.apipermissions}" property="evaluated.manifest.apipermissions">
    <not>
    <equals arg2="MIDP-1.0" arg1="${platform.profile}"/>
    </not>
    </condition>
    <condition value="${manifest.pushregistry}" property="evaluated.manifest.pushregistry">
    <not>
    <equals arg2="MIDP-1.0" arg1="${platform.profile}"/>
    </not>
    </condition>
    <condition property="contains.manifest.configuration">
    <contains string="${manifest.others}" substring="MicroEdition-Configuration: "/>
    </condition>
    <condition property="contains.manifest.profile">
    <contains string="${manifest.others}" substring="MicroEdition-Profile: "/>
    </condition>
    <property name="evaluated.manifest.apipermissions" value=""/>
    <property name="evaluated.manifest.pushregistry" value=""/>
    <property value="" name="manifest.jad"/>
    <property value="" name="manifest.manifest"/>
    <echo file="${dist.dir}/${dist.jad}">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.jad}</echo>
    <echo file="${build.dir}/manifest.mf">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.manifest}</echo>
    <antcall inheritrefs="true" inheritall="true" target="add-configuration"/>
    <antcall inheritrefs="true" inheritall="true" target="add-profile"/>
    </target>
    <target unless="contains.manifest.configuration" name="add-configuration">
    <echo append="true" file="${dist.dir}/${dist.jad}">MicroEdition-Configuration: ${platform.configuration}
    </echo>
    <echo append="true" file="${build.dir}/manifest.mf">MicroEdition-Configuration: ${platform.configuration}
    </echo>
    </target>
    <target unless="contains.manifest.profile" name="add-profile">
    <echo append="true" file="${dist.dir}/${dist.jad}">MicroEdition-Profile: ${platform.profile}
    </echo>
    <echo append="true" file="${build.dir}/manifest.mf">MicroEdition-Profile: ${platform.profile}
    </echo>
    </target>
    <target name="pre-obfuscate"/>
    <target description="Up-to-date check before obfuscation." depends="init,compile" name="obfuscate-check">
    <uptodate targetfile="${obfuscator.destjar}" property="no.obfusc">
    <srcfiles dir="${build.classes.dir}"/>
    </uptodate>
    </target>
    <target unless="no.obfusc" description="Obfuscate project classes." depends="init,compile,obfuscate-check,pre-obfuscate" name="obfuscate">
    <dirname property="obfuscator.srcjar.dir" file="${obfuscator.srcjar}"/>
    <dirname property="obfuscator.destjar.dir" file="${obfuscator.destjar}"/>
    <mkdir dir="${obfuscator.srcjar.dir}"/>
    <mkdir dir="${obfuscator.destjar.dir}"/>
    <jar basedir="${build.classes.dir}" jarfile="${obfuscator.srcjar}"/>
    <property value="" name="obfuscation.custom"/>
    <nb-obfuscate extraScript="${obfuscation.custom}" obfuscationLevel="${obfuscation.level}" classpath="${platform.bootclasspath}" obfuscatorclasspath="${obfuscator.classpath}" destjar="${obfuscator.destjar}" srcjar="${obfuscator.srcjar}"/>
    <mkdir dir="${obfuscated.classes.dir}"/>
    <unjar dest="${obfuscated.classes.dir}" src="${obfuscator.destjar}"/>
    <antcall inheritrefs="true" inheritall="true" target="post-obfuscate"/>
    </target>
    <target name="post-obfuscate"/>
    <target name="pre-preverify"/>
    <target description="Preverify project classes." depends="init,compile,obfuscate,pre-preverify" name="preverify">
    <mkdir dir="${preverify.classes.dir}"/>
    <nb-preverify commandline="${platform.preverifycommandline}" platformtype="${platform.type}" platformhome="${platform.home}" configuration="${platform.configuration}" classpath="${platform.bootclasspath}" destdir="${preverify.classes.dir}" srcdir="${obfuscated.classes.dir}"/>
    <antcall inheritrefs="true" inheritall="true" target="post-preverify"/>
    </target>
    <target name="post-preverify"/>
    <target unless="skip-sign-keystore-password-input" if="netbeans.home" depends="init" name="set-keystore-password">
    <nb-enter-password passwordproperty="sign.keystore.password" keystore="${sign.keystore}"/>
    </target>
    <target unless="skip-sign-alias-password-input" if="netbeans.home" depends="init" name="set-alias-password">
    <nb-enter-password passwordproperty="sign.alias.password" keyalias="${sign.alias}" keystore="${sign.keystore}"/>
    </target>
    <target name="pre-jar"/>
    <target description="Build jar and application descriptor." depends="init,preverify,create-jad,set-keystore-password,set-alias-password,pre-jar" name="jar">
    <dirname property="dist.jar.dir" file="${dist.dir}/${dist.jar}"/>
    <mkdir dir="${dist.jar.dir}"/>
    <jar manifest="${build.dir}/manifest.mf" jarfile="${dist.dir}/${dist.jar}" compress="${jar.compress}">
    <fileset dir="${preverify.classes.dir}"/>
    <fileset dir="${obfuscated.classes.dir}">
    <exclude name="**/*.class"/>
    </fileset>
    </jar>
    <nb-jad aliaspassword="${sign.alias.password}" alias="${sign.alias}" keystorepassword="${sign.keystore.password}" keystore="${sign.keystore}" sign="${sign.enabled}" url="${dist.jar}" jarfile="${dist.dir}/${dist.jar}" jadfile="${dist.dir}/${dist.jad}"/>
    <antcall inheritrefs="true" inheritall="true" target="post-jar"/>
    </target>
    <target name="post-jar"/>
    <target description="Rebuild the application." depends="init,clean,jar" name="rebuild"/>
    <target description="Run MIDlet suite." depends="init,jar" name="run">
    <nb-run commandline="${platform.runcommandline}" securitydomain="${evaluated.run.security.domain}" execmethod="${run.method}" platformtype="${platform.type}" platformhome="${platform.home}" device="${platform.device}" jadurl="${dist.jad.url}" jadfile="${dist.dir}/${dist.jad}"/>
    </target>
    <target description="Quick Run already built MIDlet suite." depends="init" name="run-no-build">
    <nb-run commandline="${platform.runcommandline}" securitydomain="${evaluated.run.security.domain}" execmethod="${run.method}" platformtype="${platform.type}" platformhome="${platform.home}" device="${platform.device}" jadurl="${dist.jad.url}" jadfile="${dist.dir}/${dist.jad}"/>
    </target>
    <target depends="init,clean,jar" description="Debug project." name="debug">
    <delete file="${preprocessed.dir}/.timestamp"/>
    <parallel>
    <nb-run commandline="${platform.debugcommandline}" securitydomain="${evaluated.run.security.domain}" execmethod="${run.method}" jadfile="${dist.dir}/${dist.jad}" device="${platform.device}" platformhome="${platform.home}" platformtype="${platform.type}" debuggeraddressproperty="jpda.port" debugserver="true" debugsuspend="true" debug="true"/>
    <sequential>
    <sleep seconds="5"/>
    <antcall target="nbdebug"/>
    </sequential>
    </parallel>
    </target>
    <target if="netbeans.home" description="Start NetBeans debugger" name="nbdebug">
    <nb-kjava-debug period="2000" timeout="30000" name="${app.codename}" address="${jpda.port}">
    <bootclasspath>
    <path path="${platform.bootclasspath}"/>
    </bootclasspath>
    <classpath>
    <path path="${dist.dir}/${dist.jar}"/>
    </classpath>
    <sourcepath>
    <path path="${src.dir}"/>
    <path path="${libs.src.path}"/>
    </sourcepath>
    </nb-kjava-debug>
    </target>
    <target depends="init,preprocess" name="javadoc">
    <mkdir dir="${dist.javadoc.dir}"/>
    <javadoc private="${javadoc.private}" windowtitle="${javadoc.windowtitle}" version="${javadoc.version}" author="${javadoc.author}" splitindex="${javadoc.splitindex}" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" use="${javadoc.use}" notree="${javadoc.notree}" bootclasspath="${platform.bootclasspath}" destdir="${dist.javadoc.dir}" source="${javac.source}">
    <classpath>
    <path path="${libs.classpath}"/>
    </classpath>
    <sourcepath>
    <pathelement location="${preprocessed.dir}"/>
    </sourcepath>
    <fileset dir="${preprocessed.dir}"/>
    </javadoc>
    <antcall target="browse-javadoc"/>
    </target>
    <target unless="no.javadoc.preview" if="netbeans.home" name="browse-javadoc">
    <nbbrowse file="${dist.javadoc.dir}/index.html"/>
    </target>
    <target name="pre-clean"/>
    <target description="Clean build products." if="no.clean.before.build" depends="init,conditional-clean" name="clean">
    <antcall inheritrefs="true" inheritall="true" target="do-clean"/>
    </target>
    <target depends="pre-clean" name="do-clean">
    <delete dir="${preprocessed.dir}"/>
    <delete dir="${build.classes.dir}"/>
    <delete file="${obfuscator.srcjar}"/>
    <delete file="${obfuscator.destjar}"/>
    <delete dir="${obfuscated.classes.dir}"/>
    <delete dir="${preverify.classes.dir}"/>
    <delete file="${build.dir}/manifest.mf"/>
    <delete file="${dist.dir}/${dist.jar}"/>
    <delete file="${dist.dir}/${dist.jad}"/>
    <delete dir="${dist.javadoc.dir}"/>
    <antcall inheritrefs="true" inheritall="true" target="post-clean"/>
    </target>
    <target name="post-clean"/>
    <target name="pre-deploy"/>
    <target if="deployment.do.override.jarurl" depends="init,jar,pre-deploy" name="override-jad">
    <property value="${dist.jar}" name="deployment.jarurl"/>
    <nb-jad aliaspassword="${sign.alias.password}" alias="${sign.alias}" keystorepassword="${sign.keystore.password}" keystore="${sign.keystore}" sign="${sign.enabled}" url="${deployment.jarurl}" jarfile="${dist.dir}/${dist.jar}" jadfile="${dist.dir}/${dist.jad}"/>
    </target>
    <target unless="skip.deployment" if="deployment.method" depends="init,jar,override-jad,pre-deploy" name="deploy">
    <fail unless="deployment.scriptfile">Property deployment.${deployment.method}.scriptfile not set. The property should point to an Ant script providing ${deployment.method} deployment.</fail>
    <ant inheritrefs="true" inheritall="true" antfile="${deployment.scriptfile}">
    <property location="${dist.dir}/${dist.jad}" name="deployment.jad"/>
    <property location="${dist.dir}/${dist.jar}" name="deployment.jar"/>
    </ant>
    <propertyfile file="nbproject/private/private.properties">
    <entry pattern="000000" default="2" operation="+" type="int" key="deployment.counter"/>
    <entry value="${deployment.counter}" key="deployment.number"/>
    </propertyfile>
    <replaceregexp replace="deployment.number=\2\3.\5\6.\8\9" match="^deployment.number=[0-9]*(0|([1-9]))([0-9])(0|([1-9]))([0-9])(0|([1-9]))([0-9])$" file="nbproject/private/private.properties" byline="true"/>
    <antcall inheritrefs="true" inheritall="true" target="post-deploy"/>
    </target>
    <target name="post-deploy"/>
    <target name="for-all-configs">
    <antcall inheritrefs="false" inheritall="false" target="${target.to.call}">
    <param value="" name="config.active"/>
    </antcall>
    </target>
    <target name="jar-all">
    <antcall target="for-all-configs">
    <param value="jar" name="target.to.call"/>
    </antcall>
    </target>
    <target name="javadoc-all">
    <antcall target="for-all-configs">
    <param value="javadoc" name="target.to.call"/>
    </antcall>
    </target>
    <target name="deploy-all">
    <antcall target="for-all-configs">
    <param value="deploy" name="target.to.call"/>
    </antcall>
    </target>
    <target name="rebuild-all">
    <antcall target="for-all-configs">
    <param value="rebuild" name="target.to.call"/>
    </antcall>
    </target>
    <target depends="load-properties" name="clean-all">
    <fail unless="build.root.dir">Property build.root.dir is not set. By default its value should be \"build\".</fail>
    <fail unless="dist.root.dir">Property dist.root.dir is not set. By default its value should be \"dist\".</fail>
    <delete dir="${build.root.dir}"/>
    <delete dir="${dist.root.dir}"/>
    <antcall target="for-all-configs">
    <param value="clean" name="target.to.call"/>
    </antcall>
    </target>
    </project>
    I have pasted the content of that file, please do the needs....

  • Auto project creation and coding mask

    hi to all,
    i dont understand how system determines name of project definition during automatic project creation based on sales order.
    if the standard project definition does not have a coding mask then the project created is simply the sales order number. (no problem with that)
    however if the standard project definition has a coding mask, then in my case the newly created project just contains a certain number of 000000 and includes the last part of the standard project.
    hope someone could enlighten me on this..

    Hi,
    This scenario is very well explained in PS under title "Assembly processing".
    An assemble to order environment is one in which the product or service is assembled on receipt of the sales order. Key components are planned in anticipation of the sales order. Receipt of the order initiates assembly of the customized product. This business process is called assembly processing. It creates a link between sales document and project. It is an indirect method of generating a network or a WBS from a sales order. It is used throughout SAP R/3 logistics applications to automatically generate the order types like Planned order, Production order, Process order, Service order, Network (project).
    You will find the "SD/PS assignment" indicator in the control data for the project definition of the standard project. This indicator determines whether, during assembly processing, a hierarchy is created in the operative WBS for each sales document item, or whether a hierarchy is created for the entire
    sales document in the operative WBS.
    If we use SD/PS assignment indicator, do not flag "Only one Root" option in the project profile ( t code OPSA).
    Regards
    Tushar

  • Sending PDF via Email and coding in workflow

    Dear Experts,
    Following is my Requirement
    When a Sales order is created, Delivery gets created automatically in Background. When Delivery is created based on the materials we would decide to which user an email should be sent. To the Email a PDF should be attached with the list of materials.
    To do this I have created a workflow with the Event LIKP. The Event is getting Triggered but where can i write the code to fetch the materials of Delivery and decide the email id of User based on materials. Alsoto attach as PDF i understand i need to write the code. All this code where can i write in Workflow.
    Please kindly help.
    Regards
    Sam.

    Dear Vinoth,
    Thanks for your reply. I have a solution which works through badi but the client wants it to be done by Workflow.
    Also  there are many other Workflow Developments where in between the Workflow steps some coding is needed.
    So Can you please guide me where i can write the coding i n workflow after the event is triggered.
    Regards
    Sam

  • Specifications for designing and coding

    Maybe a stupid question but is there any documentation out there that helps an engineer learn and use the best object oriented design techniques. Also, is there one available in the area of coding techniques.
    thanks

    Maybe a stupid question but is there any documentation
    out there that helps an engineer learn and use the
    best object oriented design techniques. Also, is there
    one available in the area of coding techniques.I don't think that there are any accepted "best practice". One of the important reasons, I think, is that design is a highly creative activity which cannot necessarily be categorized, schematized, or any think like that. There are, however, good design solutions to standard problems (in the software developer community they are known as "patterns"). I think that they are a good starting point when learning OOP because they are exemplary. A good book on the subject of patterns is:
    Gamma et al. Design Patterns. Addison-Wesley. 1995.
    But if you don't want to invest in a book, there is plenty of patterns material on the web. Try searching for "software pattern" or "design pattern".
    Regards,
    S&oslash;ren Bak

  • Design and coding specifications

    Maybe a stupid question but is there any documentation out there that helps an engineer learn and use the best object oriented design techniques. Also, is there one available in the area of coding techniques.
    thanks

    OOD:
    http://www.amazon.com/exec/obidos/tg/detail/-/0201633612/qid=1047332381/sr=8-2/ref=sr_8_2/103-2687342-5754236?v=glance&s=books&n=507846
    Techniques/Style:
    http://www.amazon.com/exec/obidos/tg/detail/-/0521777682/qid=1047332795/sr=1-15/ref=sr_1_15/103-2687342-5754236?v=glance&s=books
    silentOpen

  • Podpress problems, especially with regards to formatting and coding

    Here is my RSS url: http://www.regrettablesincerity.com/?feed=podcast
    I've been having a lot of problems trying to figure out the coding that goes with files that were too large (over 8 MB) to be uploaded through Wordpress, and had to be uploaded via FTP.
    In Podpress' general settings, the URI link is: http://www.regrettablesincerity.com/wp-content/uploads
    The suggestion for the load paths for media directory is: /home/content/e/l/m/elmooxygen/html/wp-content/uploads
    I'm assuming that this refers to the larger files, so do I put my website's name before the /home? And if so, what do I put in the article itself? [Located here: http://www.regrettablesincerity.com/?p=4513
    I've gone with: http://www.regrettablesincerity.com/home/content/e/l/m/elmooxygen/html/wp-conten t/uploads/audio/Outlook%20Radio%20Interview%20Ex-Gay.mp3
    I've tried a myriad of a variations, without the %20, removing the word uploads, etc. No matter which I've tried, Podpress can't figure out how big or how long the file is, insisting it is 1 byte. I've made the proper correction and it says as much in my feed link, but if you click on the specific file on the feed page, it is different than the URL I provided, and will not change back. It now reads as: http://www.regrettablesincerity.com/podpress_trac/feed/4513/0/Outlook%20Radio%20 Interview%20Ex-Gay.mp3 I don't know why the podpress_trac thing is in there, but it won't go back to what I told no matter what.
    My overall goal is to be able to just have the RSS point to a specific page which has all of my director interviews and podcasts: http://www.regrettablesincerity.com/?page_id=846 However, once I tried that, the description given for the podcast on Itunes (only the first one, the Rolf De Heer interview, seemed to be read by the feed) was incorrect and it also said that the length of the podcast was 1 minute and 1 second, when it is in fact well over an hour. On top of that, you couldn't download it at all.
    Now I don't mind if I have to put the podcasts in individual posts if that solves the problem, but what about when there are more than one audio file in a specific post, because I broke them up in parts? I did a 3 part interview here: http://www.regrettablesincerity.com/?p=3921 As you can see in my feed link, http://www.regrettablesincerity.com/?feed=podcast , it only lists the first file, not all three.
    The smaller issues have to do with Itunes and my feed link ignoring the fact that I've changed the description within the specific settings for Itunes section in Podpress, but it still shows the original version, no matter what I do (this is a problem because some of the podcasts are in posts with film reviews, and so the articles have different explanations than would work in Itunes for a potential downloader). Also, my stats test fails in the general settings section of Podpress. I tried all different combinations, at the moment it is: Use WP permalinks for the Method and Full for the logging. A weirder problem is that when I have the Podpress plug-in activated, Wordpress will no longer give me any resize options when uploading a photo, I have to do the cropping on outside software.
    Below is my feed link:
    http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.regrettablesincerity .com%2F%3Ffeed%3Dpodcast
    It has some problems that I have no idea how to solve, since I've even tried to correct the "object" issue, but Wordpress puts the word back in when I hit update. The enclosure problem, I have no clue on, because there's no text I can find to delete. Line 112 is a mystery too, because I don't even know where that line would be.
    Thanks to anyone who manages to read this entire post, let alone make suggestions. I've spent several weeks trying to figure this all out but have been stymied in terms of help by all manner of Apple customer service reps and there's no contact option on Podpress' main page. I'm sure I'll think of more issues I'm having if I tried, so I better stop before those who browse this topic grow far more impatient.
    Message was edited by: Adam Lippe

    To answer a couple of your queries:
    The FeedValidator comments mostly refer to things inside the 'content:encoded' tag which is not relevant to iTunes.
    Each 'item' tag can only contain one enclosure. The second enclosure will be ignored.
    The '%20' business is because you have spaces in your filenames. Spaces are not allowed in a URL and so browsers and programs writing feed replace them with the HTML code for a space. This shouldn't cause problems.
    Your main difficulty seems to be in providing a valid URL for your episode media files. If these are being hosted by Wordpress then it's something you will have to take up with them. Most people upload the files to a server or an iDisk and place the URL in the feed (the episodes don't have to be on the same server as the feed): really the URL should be directly to the feed rather than using a script to call it or a redirect.

  • Pricing and coding information please

    Hello all,
    Last time I asked for help I got great answers so thought as
    im stuck again I would ask again
    Im thinking of starting a flight only travel website
    as I have some good contacts in the field and wish to have a search
    for flights facility as well as payments online for these bookings
    and regular news bullitins with latest offers.
    I was quoted a very extreme sum by a design company and was
    wondering the rough price of a site of this nature? Also not being
    that technical in coding whats the best way to have the search
    facitily on each flight?
    Thanks for any help

    I'm guessing more than $10K - probably alot more. This is
    heavy duty stuff.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Angela_g" <[email protected]> wrote in
    message
    news:eqdh9c$3v9$[email protected]..
    > Hello all,
    >
    > Last time I asked for help I got great answers so
    thought as im stuck
    > again I
    > would ask again
    Im thinking of starting a flight only travel
    > website as
    > I have some good contacts in the field and wish to have
    a search for
    > flights
    > facility as well as payments online for these bookings
    and regular news
    > bullitins with latest offers.
    >
    > I was quoted a very extreme sum by a design company and
    was wondering the
    > rough price of a site of this nature? Also not being
    that technical in
    > coding
    > whats the best way to have the search facitily on each
    flight?
    >
    > Thanks for any help
    >

  • Logic and coding needed for CU42

    Hi,
    I want to write a BDC program for transaction CU42 inorder to change single level BOM explosion to multilevel.There are around 10k materials.
    So please provide me the logic and if possible coding for that.
    Regards,
    Ramesh

    Hi Ramesh,
    Check the below tables.
    CUCO                           Additional Data for Configurable Objects
    CUCU                           Dependency Source Code Base: Source text:
    CUCVRNT                     Variants of Constraints
    CUEX                            Dependency Storage - Compilation
    CUFM                           Customizing: Class/Config: Screendesigner
    CUICONTEXT                 Control Table for Context in the iPPE Work
    CUKB                           Administrative Information for Dependency
    CUKBT                          Text Table for Dependency Maintenance Admi
    CUKN                            Dependency Storage - Variants/Configuratio
    CULL_TRACEFILTER      Filter for Low-Level Configuration Trace
    CUOB                           Assignment of Object to Dependency
    CUOBOM_CHANGE      Manually Changed Items in the Order BOM
    CUPE                           Extension to BOM Item for Variants
    CURSADD                    Dependency Net Additional Data
    Pls reward if it is useful.
    Regards,
    Boobalan Suburaj.

Maybe you are looking for

  • How do I add new photos to an existing photobook album?

    I'm creating a photobook and nearly finished it but want to add some more photos that weren't in the original album I used.  Can anyone advise how you add new photos to it that you can then select to go into the Photobook?  I can't find any way to ad

  • Printing from a mobile device

    Hi everybody, I created a programa in ABAP that was generated with the its mobile generator provided by SAP. This application calls a sapscript, if I print it in a system printer there is no problem, but sometimes I need to print it in a network prin

  • Solman and Content Server

    Hi Gurus, There is demand on my project to configure Content Server with Solman. My stance is that , why we need Content server or KW , if Solman already has the capability of storing documents ( road map and project documents-BBPs stc.) in its own r

  • Commandline to run Reports using RWSebService

    Hi, I am trying to run the existing reports using the RwWebService from asp.net application here are some sample command lines that I am using, but I am getting the same error. If someone can point me in the right direction, I would really appreciate

  • URL.openConnection() odes not work

    I am trying to make a applet talk to a servlet. i am using the foll code snippet: URL url = new URL(TARGET_URL); URLConnection con = url.openConnection(); con.setDoOutput(true); con.setDoInput(true); OutputStream out = con.getOutputStream(); out.writ