Error status 26:Syntax error in IDoc (segment cannot be identified)

Hi Experts,
i extended one idoc which has the following structure
                           A(this is the parent segment)
                                z1
                                    zz1.1
                                    zz1.2
                                    zz1.3
                                    zz1.4
                                e1
                                e2
                                    z2
                                       zz2.1
                                       zz2.2
                                       zz2.3
                                       zz2.4
I am using an user exit for populating the custom segment. values are getting poppulated.
My problem is all segments are coming in the same level. like below
A
z1
zz1.1
zz1.2
zz1.3                                  
zz1.4
e1
e2
z2
zz2.1
zz2.2
zz2.3                                  
zz2.4
Diagonsis of error.:
The segment Z1BPAD1VL does not occur at the current level of the basic type CREMAS05 (extension ZCREMAS05).
This error can have several reasons:
The segment Z1BPAD1VL is assigned to a group whose header segment does not occur.
The segment Z1BPAD1VL does not exist in the syntax description of the basic type CREMAS05 (extension ZCREMAS05).
The sequence of segments in the group in which the segment appears is incorrect.
Previous errors ('mandatory' segment or group missing) may be due to this error.
i have maintained we81 and we82. partner configuration in we20 is also maintained..
What might be the problem??pointers on this will be very helpful.
Regards
Sridevi S

Hi,
>check whether all the parent segments are filled before  child segments .
>check the heirarchy level you r passing for each segment.
Regards,
Lokeswari.

Similar Messages

  • IDOC Status 26: EDI: Syntax error in IDoc (segment cannot be identified).

    Hi All,
    I have created IDOC extension for IDOC Basic type "PROACT01" and have followed all required necessary steps but getting IDOC
    Status 26. EDI: Syntax error in IDoc (segment cannot be identified). The exact error is:
    Please check Error Details and the details of the steps I followed for Setting up IDOC Extension:
    Error Detail :
    EDI: Syntax error in IDoc (segment cannot be identified)
    Message no. E0078
    Diagnosis
    The segment ZPROSEG does not occur at the current level of the basic type PROACT01 (extension PROACTEX).
    This error can have several reasons:
    The segment ZPROSEG is assigned to a group whose header segment does not occur.
    The segment ZPROSEG does not exist in the syntax description of the basic type PROACT01 (extension PROACTEX).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Procedure
    Please check the IDoc or the syntax description of the basic type PROACT01 (extension PROACTEX).
    Can you please look at this problem and suggest what is wrong with IDOC Extension/Custome Segment?
    Below is the Details of the Steps which I have followed:
    1. Tcode WE31 - Created new custom Segment ZPROSEG with 4 fields. Released segment.
    2. TCode WE30 - Created IDOC Extension PROACTEX for Basic Type PROACT01. Released IDOC extension.
         Here when I run syntax check warning appears "No predecessors exist".  I am not sure if its okay!!
    3. TCode WE82 - Added Extension PROACTEX in the Message Type PROACT with BASIC Type PROACT01.
    4. TCode WE20 - Added IDOC Extension PROACTEX in the predefined partner profile in WE20 transaction.
    5. Added the following code in the Customer Exit EXIT_SAPLWVMI_001 include ZXWVMIU01 .
    DATA segnam(27).
    READ TABLE dedidd WITH KEY segnam = 'ZPROSEG'.
    IF sy-subrc NE 0.
    LOOP AT dedidd WHERE segnam = 'E1EDP31'.
    CLEAR dedidd.
    dedidd-segnam = 'ZPROSEG'.
    zproseg-matnr = 'Mat1'.
    zproseg-lgort = '001'.
    zproseg-gernr = 'SNo1'.
    zproseg-labst = 2.
    dedidd-sdata = zproseg.
    APPEND dedidd.
    ENDLOOP.
    ENDIF.
    Finally ran  transaction WVM2 (Transfer of Stock & Sales Data) to generate IDOC, its creating IDOC but when checked IDOC in WE05 its getting Status Error "26".
    Looking forward for your reply.
    Many thanks in advance.

    Hello,
    Actually you are appending the Z segment instead of inserting into the correct position. So the segment is added at the last, so hierarchy of segments is collapsed.
    So get the index of the previous segment E1EDP31 and increase the index by 1 and INSERT the Z segment with that new index as below.
    LOOP AT dedidd WHERE segnam = 'E1EDP31'.
    lv_index = sy-tabix. " <<--
    ADD 1 TO lv_index. " <<--
    CLEAR dedidd.
    dedidd-segnam = 'ZPROSEG'.
    zproseg-matnr = 'Mat1'.
    zproseg-lgort = '001'.
    zproseg-gernr = 'SNo1'.
    zproseg-labst = 2.
    dedidd-sdata = zproseg.
    *APPEND dedidd.
    INSERT dedidd INDEX lv_index. " <<---
    ENDLOOP.
    Here actually we are insering the record inside the LOOP and it regenerates the index again. It is not actually a good practice.
    So the best practice is get the index and generate the segment inside the loop, store them into another internal table, come out the loop and insert the Z segments into DEDIDD by looping the new internal table.

  • Idoc Error - EDI: Syntax error in IDoc (segment cannot be identified)

    Hi All,
    have created a new reduced message type for our new vendor A/C group through BD53. Also done reqd config for sending the vendor master through this message type. .
    I have created couple of vendors for testing with X01 with withholding tax functionality and when try to send these vendors , Idocs are getting failed .
    When I create vendor without withholding tax functionality , idoc is getting posted succesfully . If create vendor with entries in the feild whih are related to withholding tax  . Idocs are getting failed .
    If I see the status in WE05 ,Idocs which are posted succefully are showing the basic type as CREMAS03 . For idocs which are getting failed have the basic type as CREMAS04 and also the extension  as Z1CREMAS . I don`t understand why the system is defaulting CREMA04 & Z1CREMAS when I send the vendor master with withholding tax feild entries.
    I am not much familiar with ALE /Idoc set up. Please can any body help me to resolve the issue.
    The error message in we05 as below
    EDI: Syntax error in IDoc (segment cannot be identified)
    Message no. E0078
    Diagnosis
    The segment Z1LFA1M does not occur at the current level of the basic type CREMAS04 (extension Z1CREMAS).
    This error can have several reasons:
    The segment Z1LFA1M is assigned to a group whose header segment does not occur.
    The segment Z1LFA1M does not exist in the syntax description of the basic type CREMAS04 (extension Z1CREMAS).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Procedure
    Please check the IDoc or the syntax description of the basic type CREMAS04 (extension Z1CREMAS).
    Thanks

    Hi,
    I don`t understand what do you mean release after adding segment.
    Message type works i.e. Idoc get posted if I send with the  vendor w/o withholding tax field entries. Idoc fails when send vendor with withholding tax field entry.
    Regards

  • EDI: Syntax error in IDoc (segment cannot be identified)

    Hi All,
    Im facing the below error EDI: Syntax error in IDoc (segment cannot be identified).
    And this error is coming only for few idocs rest are getting processed successfully.
    Message no. E0078
    Diagnosis
    The segment E1EDP03 does not occur at the current level of the basic type ORDERS05 (extension ).
    This error can have several reasons:
    The segment E1EDP03 is assigned to a group whose header segment does not occur.
    The segment E1EDP03 does not exist in the syntax description of the basic type ORDERS05 (extension ).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Procedure
    Please check the IDoc or the syntax description of the basic type ORDERS05 (extension ).
    Please suugest.
    Thanks,
    Spandana

    Hi,
    Is this standard program or custom program?
    you might be appending the Z segment instead of inserting it. Always best practice is get the index of the segment and instert it.
    If all the data is not populated then segment position will change incase of appending. Please check your code and revert back.
    Refer the below link for detailed information.
    IDOC Status 26: EDI: Syntax error in IDoc (segment cannot be identified).
    Thank you

  • Regarding EDI: Syntax error in IDoc (segment cannot be identified)

    Hi,
    My requirement is that I was adding two diffrent field values under two diffrent segments as "E1EDKA1" and "E1EDK02" in outbound invoice IDOCS, INVOIC02 (process code: SD09 - IDOC_OUTPUT_INVOIC).
    I am getting the IDOC number through Tcode "VF02". Can any body give me idea how to check that syntax error in debug mode.
    Please find the following error details using TCODE "WE02".
    *EDI: Syntax error in IDoc (segment cannot be identified)*
    *Message no. E0 078*
    *Diagnosis*
    *The segment E1EDKA1 does not occur at the current level of the basic type INVOIC02 (extension ).*
    *This error can have several reasons:*
    *The segment E1EDKA1 is assigned to a group whose header segment does not occur.*
    *The segment E1EDKA1 does not exist in the syntax description of the basic type INVOIC02 (extension ).*
    *The sequence of segments in the group in which the segment appears is incorrect.*
    *Previous errors ('mandatory' segment or group missing) may be due to this error.*
    Please help me to resolve this problem. <REMOVED BY MODERATOR>
    Regards,
    Skumar.
    Edited by: Alvaro Tejada Galindo on Apr 28, 2008 1:09 PM

    It seems that you added segment E1EDKA1 at a place where it is not supposed to be. That's where this error is coming from. The structure of every IDOC is definded by SAP standard and you cannot change the sequence or the level of standard segments. If you require a certain field at a certain level you have to add that field to a Z-segment and then add that Z-segment where appropriate in your extension.
    Hope that helps,
    Michael

  • Regarading IDOC status 26 ,syntax error

    Hi All,
    we have some problem to create IDOC type ORDERS05 for Purchase Order.
    *ERROR STATUS 26:*
    (SYNTAX ERROR IN IDOC (SEGMENT CANT B IDENTIFIED))
    msg number E0078:
    The segment E1EDK14 does not occur at the current level of the basic type ORDERS05 (extension ) AND
       e1edk14 segment missed.instead of 5 ,it shows only 4.
    *ERROR STATUS 26:*
    (SYNTAX ERROR IN IDOC (MANDATORY DATA MISSING))
    msg E0072:The segment E1EDK01 has the attribute 'Mandatory' in the syntax description of the basic type ORDERS05 (customer enhancement ).
    header data was totally different.
    it contains street fields,n country ,,like dat,instead of document number
    However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.
    This happens for order create (ORDERS) and for order change (ORDCHG)
    Do you have any idea to solve the problem? I'm using a standard IDOC.

    hi
    Usually posting program contains your logic which exists in process code this process code contain function module nothing but posting program
    and also
    check whether u r using
    1) sap standard program
    2) user defined program
    3) enhancing sap program using user exits
    if it is standard program check all ur ALE settings once again
    if ur using user defined check ur program logic and compare it with idoc structure
    if ur enhancing sap standard program check partner profiles using correct message & idoc type
    check your user exit logic
    reward if u find helpful
    Thanks&Regards
    Nagesh.Paruchuri

  • UTL.MAIL error ORA-29279: SMTP permanent error: 501 Address Syntax Error in

    Hi,
    I am new to the forum so please excuse if I post incorrectly without conforming to the standards.
    We need to send mails using the UTL.MAIL package and have installed them on the database.
    Whenever I am trying to send an email I am getting the following error:
    ERROR at line 1:
    ORA-29279: SMTP permanent error: 501 Address Syntax Error in
    [email protected]
    ORA-06512: at "SYS.UTL_MAIL", line 654
    ORA-06512: at "SYS.UTL_MAIL", line 671
    ORA-06512: at line 2
    The test code which I am running is as follows:
    BEGIN
    UTL_MAIL.send(sender => 'test <[email protected]>',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    I have tried different combinations:
    BEGIN
    UTL_MAIL.send(sender => 'test "<[email protected]>"',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    even tried
    BEGIN
    UTL_MAIL.send(sender => '[email protected]',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    Everytime I am getting the same error.
    This seems to be working with an exchange mail server but never on the SMTP server.
    In the SMTP server logs the sender address is not having the angular brackets <> unlike the other mails which are being sent over.
    It seems that the SMTP server is pretty strict and the SMTP admin will not change any settings on the server.
    The oracle version is as follows
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Could you please help me out with a solution.
    Some how the angular brackets are geting stripped off (which UTL MAIL package generally does), Is there any way in which I can include the angular brackets.
    Edited by: 984757 on 29-Jan-2013 02:56
    Edited by: 984757 on 29-Jan-2013 02:57

    I dislike UTL_MAIL - clunky and poor abstraction interface, and not well written.
    Had a look at the code. It does this:
    WHILE (ALL_RCPTS IS NOT NULL) LOOP
          UTL_SMTP.RCPT(MAIL_CONN,'&lt;' || GET_ADDRESS(ALL_RCPTS) || '&gt;');
    END LOOP;The GET_ADDRESS() function process the ALL_RCPTS parameter, returns the 1st address from it, and updates the (in/out) parameter with the remaining string.
    SQL> var address varchar2(200);
    SQL> exec :address := '<[email protected]>,[email protected]';
    PL/SQL procedure successfully completed.
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||:address );
    get_address=[email protected] address=[email protected]
    PL/SQL procedure successfully completed.
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||:address );
    get_address=[email protected] address=
    PL/SQL procedure successfully completed.
    SQL> The address is explicitly surrounded by brackets as per the RFC. So that is what your SMTP server should see.
    If not - perhaps then our UTL_MAIL versions do not match. Cannot recall from what version I pulled and unwrapped the UTL_MAIL package code I have.
    Personally though, I've ceased using UTL_MAIL a while back. It lacks in may respects. I have written my own mail package that supports multiple attachment, complex Mime formatting, attachments of 20+ MB in size, and so on - running on the UTL_SMTP interface (that provides the transport layer for sending mail). And for issues like you are facing, I suggest considering using UTL_SMTP directly.
    Edited by: Billy Verreynne on Jan 29, 2013 12:52 PM
    (Updated the code with HTML entity names to get the code snippet to render correctly)

  • ERROR - 1242021 - (1) Syntax error near ['security_file']

    When invoking the command "export security_file to data_file essbase_security_file.txt;" I get the error message "ERROR - 1242021 - (1) Syntax error near \['security_file'\]". I get the same message from EAS when right clicking and exporting from the console. The end game here is that I want to dump the Essbase.sec file into a readable format.
    Any help appreciated.
    Thanks
    -Kevin
    Edited by: user5439694 on Dec 31, 2009 11:58 AM
    Edited by: user5439694 on Dec 31, 2009 11:59 AM

    IT is easier to just go into EAS and select the Essbase server, then right click on Security and select export security file. Enter the file name you want it to go to. In Version 11 it puts the file in Arborpath\Products\Essbase\EssbaseServer\Bin
    I also ran the following MaxL export security_file to data_file 'e:\datafiles\security_test.txt';
    and it ran fine (It put the file onto the Essbase server in the specified directory)

  • IDOC extension (segment cannot be identified)

    Hi all,
    I have IDOC DEBMAS configured, but when I trigger 1 customer from BD12, the IDOC is failing with status 26 error segment cannot be identified.
    In WE82, we have the following:
    DEBMAS     DEBMAS06                     470
    DEBMAS     DEBMAS06     ZDEBMAS06     470
    I only need the standard structure without extension but we have one interface using the same IDOC with extension.
    In the partner profile(WE20), i set DEBMAS in the message type, DEBMAS06 in the basic type, and blank in the extension.
    What could be missing in the configuration?
    Thanks,
    Nene

    Extension segment is being populated in the user-exit. Only insert extension for specific output type. Closing this thread.

  • Hierarchy load - Error RSAR 683 Syntax error in generated program, row 0

    Hi guys,
    When I load the hierarchy on ZMATERIAL (load from 0MATERIAL hierarchy - source system BW), I have this error message : RSAR 683 Syntax error in generated program, row 0.
    I have found several SAP notes, especially [Sap Note 944842|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_whm/~form/handler], but the implementation on our system does not change anything.
    We are working on BW3.5 SP12.
    Can anyone could tell me what to do ?
    Will this issue be solved once we upgrade until SP18 as it is mentionned in the SAPNote ?
    Thanks,
    Alexandra
    Edited by: Alexandra Guillaux on Apr 1, 2009 4:36 PM

    Hello Alex,
    after implementing the corrrection part of note 944842 via SNOTE, plaese also:
    1. replicate datasource
    2. activate transfer structure (report RS_TRANSTRU_ACTIVATE_ALL)
    3. activate infoobject   (make dummy change to description
    of infoobject etc, save and activate it, remove change and save and
    activate it again).
    Hope it could resolve the incident.
    Thank you & Best regards,
    Vince

  • Offline Backup got error Status Finished with error

    Dear all ,
    OS AIX , DB Oracle , SAP ECC6.0 , Tivoli Storage Manager
    Offline Backup got error Status shows Finished with Error   (Backups are fired through DB13)
    Retune Code :0005 Error during processing
    Detail Logs:
    BKI0027I: Time: 12/10/09 05:19:06 Object: 47 of 47 in process: /oracle/IRP/origlogA/cntrl/cntlrIRP.dbf Size: 14.422 MB, MGMNT-CLASS: WEEKLYMGM
    BKI5005E: Tivoli Storage Manager Error:
    ANS1312E (RC12)   Server media mount not possible
    BKI1208W: The object '/oracle/IRP/origlogA/cntrl/cntlrIRP.dbf' will be retried [4].
    BKI0027I: Time: 12/10/09 05:19:38 Object: 47 of 47 in process: /oracle/IRP/origlogA/cntrl/cntlrIRP.dbf Size: 14.422 MB, MGMNT-CLASS: WEEKLYMGM
    BKI5005E: Tivoli Storage Manager Error:
    ANS1312E (RC12)   Server media mount not possible
    BKI1231E: Maximum number of retries for file /oracle/IRP/origlogA/cntrl/cntlrIRP.dbf exceeded.
    BR0233E Backup utility has reported an error while saving file /oracle/IRP/origlogA/cntrl/cntlrIRP.dbf
    BR0280I BRCONNECT time stamp: 2009-12-10 05.20.07
    #END /oracle/IRP/origlogA/cntrl/cntlrIRP.dbf
    BR0280I BRCONNECT time stamp: 2009-12-10 05.20.07
    BR0304I Starting and opening database instance IRP ...
    BR0280I BRCONNECT time stamp: 2009-12-10 05.20.26
    BR0305I Start and open of database instance IRP successful
    BR0280I BRCONNECT time stamp: 2009-12-10 05.20.26
    BKI1215I: Average transmission rate was 237.735 GB/h (67.622 MB/sec).
    BKI1227I: Average compression factor was 1.000.
    BKI0405I: TDP waited 497 sec. for BRBACKUP in util_file_online communication.
    BKI0020I: End of program at: Thu Dec 10 05:20:33 IST 2009 .
    BKI0021I: Elapsed time: 02 h 20 min 31 sec .
    BKI0024I: Return code is: 2.
    BR0280I BRBACKUP time stamp: 2009-12-10 05.20.33
    BR0279E Return code from '/usr/sap/IRP/SYS/exe/run/backint -u IRP -f backup -i /oracle/IRP/sapbackup/.beccdcmb.lst -t file_online -p /oracle/I
    BR0232E 0 of 47 files saved by backup utility
    BR0280I BRBACKUP time stamp: 2009-12-10 05.20.33
    BR0231E Backup utility call failed
    BR0056I End of database backup: beccdcmb.aff 2009-12-10 05.20.33
    BR0280I BRBACKUP time stamp: 2009-12-10 05.20.35
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2009-12-10 05.20.35
    BR0291I BRARCHIVE will be started with options '-U -jid ALGOF20091210030000 -d util_file -c force -p initIRPweekly.sap -cds'
    BR0280I BRBACKUP time stamp: 2009-12-10 05.23.07
    BR0292I Execution of BRARCHIVE finished with return code 5
    regards

    Hi,
    > BKI5005E: Tivoli Storage Manager Error:
    > ANS1312E (RC12)   Server media mount not possible
    Have you checked tape is properly mounted on TSM ?
    Check below guide on page 69.
    http://www.redbooks.ibm.com/redbooks/pdfs/sg246554.pdf
    Thanks
    Sunny
    Edited by: Sunny Pahuja on Dec 12, 2009 12:25 PM

  • Javascript application error message? syntax error

    I am getting a pop up error message continuously when using firefox 10,7.5 and prior versions,
    "Javascript Application Error:
    syntax error:
    It demands I click on "OK" button to proceed.
    How do I fix this problem?
    thanks
    linniek
    or
    [email protected]

    The Social Fixer extension has been reported to cause this issue.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Flash is complaining about XML? Im using AS3 why are there XML errors? Unknown syntax errors.

    Sorry to keep spamming these forums with my stupid errors, but I am trying really hard to learn Flash/AS3 and when I have got to grips with it, I will return the love.
    I am a flash rookie trying to make a simple calculation device and I am getting a whole world of errors I have never seen before.
    My Code (I apologise but it may be my bad syntax):
    import flash.ui.Mouse;
    var Hnum:String;
    var PCnum:String;
    var calc:Number = 25;
    var Total:Number;
    num1.restrict = "0-9";
    num2.restrict = "0-9";
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function PartCount(event:MouseEvent):void{
        PCnum = num2.text;
        if (PCnum > 0 && < 10){
            parseInt(PCnum) * 10;
        or if (PCnum > 11 && < 20){
            parseInt(PCnum) * 5;
        or if (PCnum > 21){
            parseInt(PCnum) * 1;
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function calculate(event:MouseEvent):void{
        Hnum = num1.text;
        PCnum = num2.text;
        Total = parseInt(Hnum) * calc + parseInt(PCnum);
        Total.toString();
        Total_txt.text = String(Total);
    I had everything working when I was only calculating Hnum by 25. But when I try to intergrate  the if or statement everything goes wrong and I get these 5 errors.
    Scene 1, Layer 'Actions', Frame 1, Line 15
    1104: invalid xml name
    Scene 1, Layer 'Actions', Frame 1
    1084: Syntax error: expecting xmltagendend before end of program.
    Scene 1, Layer 'Actions', Frame 1
    1084: Syntax error: expecting rightparen before end of program.
    Scene 1, Layer 'Actions', Frame 1
    1084: Syntax error: expecting identifier before end of program.
    Scene 1, Layer 'Actions', Frame 1
    1084: Syntax error: expecting rightbrace before end of program.
    I dont understand what these errors are pointing out? Why XML? is it my variable names?
    Here is the code I had before the second function that worked fine:
    var Hnum:String;
    var PCnum:String;
    var calc:Number = 25;
    var Total:Number;
    num1.restrict = "0-9";
    num2.restrict = "0-9";
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function calculate(event:MouseEvent):void{
         Hnum = num1.text;
         PCnum = num2.text;
         Total = parseInt(Hnum) * calc;
         Total.toString();
         Total_txt.text = String(Total);
    Any help would be greatly appreciated! I will get the hang of this!
    MrB

    Thanks guys you were right it was parse problem with the var type.
    I have changed the code adding parseInt where necessary.
    I have also added the other functions. But now after it was working fine with just the one function it is doing the strangest thing.
    There are no errors, it is running fine but it is outputting the letter "a" instead of any numbers? Is this something to do with the strings? It is most odd.
    Any help would be greatly appreciated.
    Here is the new code:
    import flash.ui.Mouse;
    var Hnum:String;
    var PCnum:String;
    var PCcalc:Number;
    var Pmath:Number;
    var calc:Number = 25;
    var Total:Number;
    num1.restrict = "0-9";
    num2.restrict = "0-9";
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function PartCount(event:MouseEvent):void{
        if (parseInt(PCnum) > 0 && parseInt(PCnum)< 10){
            PCcalc == 1;
        if (parseInt(PCnum) > 11 && parseInt(PCnum)< 20){
            PCcalc == 2;
        if (parseInt(PCnum) > 21 && parseInt(PCnum)<200){
            PCcalc == 3;
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function PartCalc(event:MouseEvent):void{
        if (PCcalc == 1){
            Pmath * 10;
        if (PCcalc == 2){
            Pmath * 5;
        if (PCcalc == 3){
            Pmath * 1;
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function calculate(event:MouseEvent):void{
        Hnum = num1.text;
        PCnum = num2.text;
        Total = parseInt(Hnum) * calc + Pmath;
        Total.toString();
        Total_txt.text = String(Total);
    Thanks
    MrB

  • Error Status 'U'  with error code value set validation error in ValueSet_Validate() from  INV_ITEM_CATEGORY_PUB.Create_Category  API

    HELLO Experts, Please help ,after running the the below anonymous block I am geeting error mentioned in the subject :-
    I am not able to understand why 'U' is coming what is the main cause for this??
    DECLARE
    l_category_rec    INV_ITEM_CATEGORY_PUB.CATEGORY_REC_TYPE;
    l_return_status  VARCHAR2(80);
    l_error_code      NUMBER; l_msg_count      NUMBER;
    l_msg_data        VARCHAR2(80);
    l_out_category_id NUMBER;
    BEGIN  insert into gkaur values ('Before'); COMMIT;
    l_category_rec.segment1 := 'DECAF TEST'; --l_category_rec.structure_id := 50440;
    SELECT f.ID_FLEX_NUM    INTO l_category_rec.structure_id  FROM FND_ID_FLEX_STRUCTURES f
    WHERE f.ID_FLEX_STRUCTURE_CODE = 'XXINV_COST_ACCOUNTING'; l_category_rec.description := 'ABC'; l_category_rec.web_status      := NULL;     l_category_rec.supplier_enabled_flag := NULL;
    insert into gkaur values ('Before RUNNING API');
    COMMIT;
    INV_ITEM_CATEGORY_PUB.Create_Category     ( p_api_version  =>1.0,      
                                                                                                 p_init_msg_list =>FND_API.G_TRUE,        
                                                                                                  p_commit        =>FND_API.G_TRUE,  
                                                                                 x_return_status =>l_return_status,
             x_errorcode    =>l_error_code,          x_msg_count    =>l_msg_count,          x_msg_data      =>l_msg_data,          p_category_rec  =>l_category_rec, --p_category_rec.structure_id =>l_category_rec.structure_id, x_category_id  =>l_out_category_id          );  insert into gkaur values ('After running API'); COMMIT; IF l_return_status = fnd_api.g_ret_sts_success or l_return_status <> fnd_api.g_ret_sts_success
    THEN
    insert into gkaur values ('Hi After status validation');
    insert into gkaur values (l_return_status||'-'||l_error_code||'-'||l_msg_count||'-'||l_msg_data);
    COMMIT;
    DBMS_OUTPUT.put_line ('Creation of Item Category is Successful : '||l_out_category_id);
    ELSE  insert into gkaur values ('Bye');
    DBMS_OUTPUT.put_line ('Creation of Item Category Failed with the error :'||l_error_code);  
    ROLLBACK;
    END IF;
    exception when NO_DATA_FOUND
    then
    insert into gkaur values ('oho');
    commit;
    END;

    HELLO Experts, Please help ,after running the the below anonymous block I am geeting error mentioned in the subject :-
    I am not able to understand why 'U' is coming what is the main cause for this??
    DECLARE
    l_category_rec    INV_ITEM_CATEGORY_PUB.CATEGORY_REC_TYPE;
    l_return_status  VARCHAR2(80);
    l_error_code      NUMBER; l_msg_count      NUMBER;
    l_msg_data        VARCHAR2(80);
    l_out_category_id NUMBER;
    BEGIN  insert into gkaur values ('Before'); COMMIT;
    l_category_rec.segment1 := 'DECAF TEST'; --l_category_rec.structure_id := 50440;
    SELECT f.ID_FLEX_NUM    INTO l_category_rec.structure_id  FROM FND_ID_FLEX_STRUCTURES f
    WHERE f.ID_FLEX_STRUCTURE_CODE = 'XXINV_COST_ACCOUNTING'; l_category_rec.description := 'ABC'; l_category_rec.web_status      := NULL;     l_category_rec.supplier_enabled_flag := NULL;
    insert into gkaur values ('Before RUNNING API');
    COMMIT;
    INV_ITEM_CATEGORY_PUB.Create_Category     ( p_api_version  =>1.0,      
                                                                                                 p_init_msg_list =>FND_API.G_TRUE,        
                                                                                                  p_commit        =>FND_API.G_TRUE,  
                                                                                 x_return_status =>l_return_status,
             x_errorcode    =>l_error_code,          x_msg_count    =>l_msg_count,          x_msg_data      =>l_msg_data,          p_category_rec  =>l_category_rec, --p_category_rec.structure_id =>l_category_rec.structure_id, x_category_id  =>l_out_category_id          );  insert into gkaur values ('After running API'); COMMIT; IF l_return_status = fnd_api.g_ret_sts_success or l_return_status <> fnd_api.g_ret_sts_success
    THEN
    insert into gkaur values ('Hi After status validation');
    insert into gkaur values (l_return_status||'-'||l_error_code||'-'||l_msg_count||'-'||l_msg_data);
    COMMIT;
    DBMS_OUTPUT.put_line ('Creation of Item Category is Successful : '||l_out_category_id);
    ELSE  insert into gkaur values ('Bye');
    DBMS_OUTPUT.put_line ('Creation of Item Category Failed with the error :'||l_error_code);  
    ROLLBACK;
    END IF;
    exception when NO_DATA_FOUND
    then
    insert into gkaur values ('oho');
    commit;
    END;

  • When my adobe flashplugin crashes the error message says 'syntax error'. How do I correct this?

    I have installed the flashplugin and sometimes it works, sometimes it crashes. I have done everything to correct this problem that I can think of. I finally got this error message when searching for another reason why.
    What I dont understand is why it works sometimes. Then sometimes I get the little box (question mark) in the corner that means my flashplugin is not working.
    I have uninstalled the adobe flashplugin in both my windows and the main. I know its installed correctly. I just do not understand what is making it so difficult to work properly. It does work sometimes.. so why not all the time?
    Thanks for any advice or help. I have used every option available on your trouble shooting pages both on firefox and mozilla.

    Thanks for the advice, but sadly I have done this... over and over again. I have uninstalled it in both the Windows and other. Each time I try to no avail. It does work sometimes and then crashes so I know it really is installed, just that something is blocking it. I use msn and have checked my settings to allow it, and on firefox done the same. Once in a very blue moon it allows it to work, but that is very rare.
    That is what I dont understand. The program is there, but somehow something is making it not work properly.
    I have been thru all the help and support and done everything that anyone has suggested to remove or unblock, and files to be removed etc. Still scratching my head over this one.
    Thanks again.

Maybe you are looking for

  • CS4 does not recognize some DNGs

    My Panasonic GK2 creates raw files as RW2. I use (on my Mac) LightRoom 3.6 to import, convert to DNG and develop the files. Photoshop CS4 Camera Raw 5.0 for Mac had been processing these without a problem. As of about 30 h. ago, it appears that my sy

  • Query for classfication for material number

    Hi, I would like to create a query that links the material number (MARA) with its assigned classes (in classification in material master) and characteristics for each class. So I want to be able to key in a material number and receive the class and a

  • Group-Policy and Inheritence

    I have a Group-Policy created with all the attributes that my SVC clients should be using -- this GP is called GP-SVC.  My client wants to add different access-levels for different sets of users.  I would like to do this by having three new Group-Pol

  • High ISO RAW files not importing properly since upgrading to Yosemite

    Since updating to Yosemite I am having a problem with trying to use RAW files shot at ISOs higher then 800. I am simply getting a black rectangle with a message about "unsupported file format". I am able to import the images using the Canon software,

  • CS3 Production Premium compatibility with Windows 7 Premium 64 bit?

    I am starting to think that CS is not compatible with Windows 7 Home Premium 64 bit. Can anyone confirm this? If so, is there a way around it?