Error in transferring results of assembly order

hi, all,
i'd like to ask for assistance with the error i got during VA02 transaction. when i did check availability/delivery proposal, i encountered this error on one of the line items.
Error in transferring results of assembly order
thanks in advance.

Hi Gurus,
Have anyone found solution for this problem?
Thanks,
Tanveer

Similar Messages

  • Error-M2O-Settlement rule for assembly order for item...could not be genera

    Hi,
    When I am creating Sales Order (VA01) for M2O, I am able to do the costing and copy the EK02 condition type. I have verified the the incompletion log, it indicates that document is complete.
    But while saving the sales order, the below error message is displaed:
    Settlement rule for assembly order for item 000010 could not be generated. Should the order still be saved?
                    Yes/No
    1. If No is choosen the following error message is displayed
           Error when processing Production order
          Error when processing Production order
          Message no. V1380
          Diagnosis
            A technical error has occurred. On calling up the assembly interface, exception 5 was triggered. The exceptions have the  following meanings:
    1 = External block,  2 = General error,  3 = Insufficient data for the interface,  4 = Order was not found, 5 = Update has been rejected, 6 = Final document number for Production order is not issued.  Procedure: Inform your system administrator.
    2. If Yes is choosen, it is creating Production Order without settlement rule. Able to perform GI & Gr. If I try to enter settelement rule (Settlement receiver SDI - Sales document item) in production order (CO02), the belwo error message is displayed
    "Distribution rule for Sales document item can only be created automatically Message no. KD063"
    We are using the requierement class with below details:
    Reqmts class: ZSO- for M2O
    AAC = E, Valuation = A, Settlement profile =SD1, RAKey = 000004, Assembly type = 3.
    Settlement profile contain:
    Allocation structure, PA structure, Default object type = SDI. Valid receivers: Optional -Sales Order / Prof. seg.
    If I make the Valuation field as blank in Reqmts class, there is no error while creating Sales order. And also Settelemnt rule with sales document item as receiver is successfully creating for the production order. Since the Valuation is blank in requirement class, it is Non valuated Sales order stock. All GIs & GR are non valuated
    The business requirement is it should be valuated sales order stock and the production varinaces has to be settled to Sales order. Then Sales order has to be settled to COPA.
    Need your valuable inputs to meet this requirement.
    Let me know if you need any further details.
    Thanks in advance.
    Regards,
    ADI

    Dear SAP PP Consultant ,
    What is the strategy group you are maintained in the material master ?

  • Posting rule for assembly order for item 000000 could not be generated

    Hi all,
        While creating production order from sales order system giving an error message 'Posting rule for assembly order for item 000000 could not be generated.'
        Kindly help to resolve the issue.
    SmanS

    Dear SAP PP Consultant ,
    What is the strategy group you are maintained in the material master ?

  • Commit error while transferring Sales order Document to GTS

    Hello,
    We faced a transfer error while transferring sales order document to GTS.
    When I debugged the code function /SAPSLL/API_6800_SYNCH is called. In this function, /SAPSLL/CUHD_MAINTAIN_SINGLE is called with parameter lv_no_commit = 'X'. When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.) In debug mode I set the value of lv_no_commit to space, and then it works. It creates the GTS document.
    We are also transferring billing documents and it works fine. When I checked what is the difference between transferring sales order document and transferring Billing document, I saw that in the transferring billing document there is another function is called /SAPSLL/API_6800_CSD_SYNCH, and it's calling parameters(in background, as seperate unit) are different from calling parameters of /SAPSLL/API_6800_SYNCH. You can see the difference below.
    For sales document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_SYNCH'
          DESTINATION cs_transfer-rfc_dest
    For billing document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_CSD_SYNCH'
          IN BACKGROUND TASK
          DESTINATION cs_transfer-rfc_dest
          AS SEPARATE UNIT
    So my question is, do you think is it a sap standard program error, or is there any suitable settings in the customizing or SM59 to fix this error?
    Thanks in advance
    Serhat
    Edited by: Serhat Dirihan on Jan 22, 2009 11:46 AM

    Dear Serhat,
    I don't think this is an RFC problem or an error. But you wrote:
    When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
    It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
    Balazs

  • You Cannot select assembly order for deletion error with BAPI_SALESORDER_CAHNGE after EHP6 upgrade

    Hi All,
    We are using Z transaction to update Wbs element data to sales order line item through BAPI_SALESORDER_CHANGE. After EHP6 upgrade while updating Wbs element data to old sales orders(Created before EHP6 upgrade)  we are getting  You cannot select assembly order < order number> for deletion (V1 748) error in BAPI return table, For multiple Sales order run.
    But if  we run the same order individually it is getting processed successfully. W e are passing the same values in individual and multiple case.
    We debugged the BAPI and found one more error related to Authorization, But BAPI return table is giving different error (V1 748)message. Please help us in finding the issue.

    Hi Sujay..
    Please check.
    http://help.sap.com/saphelp_47x200/helpdata/en/b7/58c4c87e0811d2b66a0000e82d8bd1/frameset.htm

  • Error:(in tcodeVA02)"You cannot select assembly order 16600192 for deletion

    when i am trying to delete one line item from sales order using VA02 tcode its throwing error "You cannot select assembly order 16600192 for deletion".
    could you tell me please what might be the reason and how to resolve this issue.
    waiting for your response.
    thanks,
    aritra
    Message was edited by: Aritra Samanta
    Message was edited by: Aritra Samanta

    Let me ask you this: Is the assembly order 16600192 your VA02 order number? If not, your sales order item might have created an assembly order (with this number). Depending on its status, you may not be able to delete the assembly order and therefore the sales order item deletion is not possible.
    Verify the assembly order status.
    Good luck!

  • Error while transferring Forwarding settlement document to ERP Billing

    Hi Experts,
    My forwarding settlement document is consistent.
    All the basic customizing in SAP ERP, TM has been completed as follows, but getting error while transferring forwarding settlement document to ERP billing (Ref. 1st screenshot).
    I am using SAVE AND TRANSFER button to send the document to ERP, also same error is displaying while using PREVIEW INVOICE button (Ref.2nd screenshot)
    Please suggest if I missed anything to send forwarding settlement document to ERP.
    Customizing settings for transferring Forwarding settlement document to SAP ERP.
    1. In SD Billing all condition types has been maintained, pricing procedure determination configured.
    2. In SAP ERP SD condition types mapped to TM charge types using following path.
    Integration with other sap components - Transportation management - Invoice integration - Billing - Definition for transportation charge elements - Define charge types.
    3. Assignment of charge types in ERPSD
    4. Define charge category, subcategory codes
    5. Mapped ERP SD, TM sales organization with logical TM system, sales area, Order type, Billing type, Pricing procedure
    6. Output types determination configured for ERP Billing in SD

    Dear Serhat,
    I don't think this is an RFC problem or an error. But you wrote:
    When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
    It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
    Balazs

  • Error occurred during install of assembly policy 8.0.microsoft.vc80.CRT

    I've been trying to upgrade to itunes 9 on windows vista system. During the install, it says "error occurred during installation of assembly policy 8.0.microsoft.vc80.CRT, version 8.0.50727.403 type win 32 policy public key token=1fc8b3b901e18e3bprocess architecture=x86 Quicktime installs OK, but Itunes install is interruped -- Apple Support install portion is rolled back after this error pops up. I went thru suggested Apple troubleshooting options, got same error. Ran install as administrator from desktop, also did not work. Tried installing both thru apple software updater and directly from Apple website -- still get error. I asked about this on Microsoft site, they sent me back here. thanks for any solutions.

    flabud, here are the next steps that I would suggest.
    1) If you haven't done so already, reenable McAfee. I'm guessing that you've already done that though.
    2) Create a manual restore point. You can also do this after each of the following steps if they are successful but you don't have to necessarily do it each time. One restore point at the beginning should suffice.
    3) Disable Windows Defender so that it no longer has possible conflicts with McAfee. McAfee put out this notice earlier this year because the combination of those two programs were causing problems and that notice describes how to disable WD. You should also uncheck Windows Defender using MSConfig (Startup tab) after disabling it as described in the notice. One of my systems had the exact error message described in the notice and since disabling WD it has encountered no further problems.
    4) Check Programs and Features in Control Panel for the following programs and install using the associated links if they do not show up. Restart after each installation and then check to make sure the install was successful in Control Panel.
    a) Microsoft Visual C++ 2005 Redistributable Package (x86)
    b) Microsoft .NET Framework 3.5 (if MS .NET Framework 3.5 SP1 already exists then do not install this)
    {I added this because I had problems with this install at the time of the McAfee/WD conflict}
    5) Run Windows Update and install any Important or Recommended updates. The installation of the programs in step 4 should allow the others to complete successfully but if any still fail make a note of them as you did before.
    6) If everything completes successfully to this point then reattempt the installation of iTunes using the file that you have in the Downloads folder.
    I've written the steps in the order that they should be done so if you run into a snag in any step let us know before proceeding to the next step.

  • No BOM explosion in assembly order

    Dear Experts,
    I am running a assembly order, type PP04 which is directly created from a sales order.  During the creation, the BOM is exploded.
    My question is that how can I disable the BOM explosion as I want to enter all the components according to our customer rule instead of a predefined BOM.
    If there is no BOM of that material, there will be a error message when saving the production order.
    Thanks.
    Claude

    Hi,
           following settings to be made in Customization for the Assembly Order If you don'twant to explode the BOM
    1) Create the selection ID with priority & BOM usage in OPJI
    2) Create the BOM Application & Assign the selection ID created in above step & Also mantain the following cheks in OPJM
    uncheck the Sales Order explosion indicator--OPJM
    3)Assign the above Application to the Order type & Plant in OPL8
    Thanks,
    Rajanikanth

  • TS2516 an error occurred uploading my iPhoto Book order. It puts the book together and starts to send but at the very last moment comes up with an error message. but checking the book in iPhoto there are no problems to be found.

    an error occurred uploading my iPhoto Book order. It puts the book together and starts to send but at the very last moment comes up with an error message. but checking the book in iPhoto there are no problems to be found.

    This user talked to Apple Support personnel and confirms what Larry is suggesting:
    crowland1066
    Re: book upload fails
    Nov 30, 2013 3:02 PM (in response to pablo123)
    Just got off the phone with apple support.  If the photo book completes the assembly process but fails during the upload process the problem is in their overloaded servers.They just started a free shipping promotion for the holidays which has increased the traffic dramatically. I bought a calendar a week ago and it went right through. I'm going to try again during less peak times.
    Happy Holidays

  • Question -  how i can prevent assembly order rescheduling when in VA02 ?

    Hi                                             ( ECC 6.0)
    I am working with assembly orders.  In sales order create - the system creates an assembly order - requirements type = dynamic order.
    If i amend the sales order a few days later - the system reschedules the assembly order - even when the assembly order is started and has status REL = released.  I get error CO061 - start date in past.. as the system first backwards reschedules and then reschedules forwards.
    Question -  any ideas how i can prevent assembly order rescheduling when in sales order change VA02 ? I need the system  to check the production order status and if = REL then prevent the rescheduling.  Putting a change block on the production order does not work as it ultimately breaks the link between sales:assembly order.
    I am thinking i need to use an SD user exit to read the assembly order and prevent order changes if the assembly order is = REL.
    thanks in advance
    Graham.

    Hi Ram
    We are using dynamic link.  My original solution was to set the 'nochange' on release- however if the sales order qty changed - or the dates changed - or indeed any ATP check was performed - the link was sometimes lost - dependant on user keystrokes.  VA02 still calls assembly order change in this scenario - and the user gets the mesage that no change is present - and ATP returns 0 qty.
    What I think i can use is user exit  EXIT_SAPLCOEXT_001 in conjunction with a user status.  I plant to set the status 'block' on release - although configure it to have no action.  In the user exit - called in the interface between sales / assembly order - I plan to check the assembly order for this status and set the error condition if the status is set.  In debug mode - setting the eror manually - this appears to work as the system never calls assembly order change and accepts the assembly order date/qty as 'supply' in the atp check.
    thanks for you assistance.
    regards
    Graham

  • Connect by - sql help : getting error ORA-01489: result of string concatena

    here is an sql query and I am trying to cook a decode but since there are many columns invloved when I am trying to run this I am getting the following error:
    ORA-01489: result of string concatenation is too long
    Any kind of help is appreciated, I need to get this going otherwise I am dead :(
    Regards
    Rahul
    SQL:
    select sys_connect_by_path(c.decode_prep,'-') decode_prep
    from (select 'DECODE(BIAPPS_11.'||substr(b.all_cols,instr(b.all_cols,',',1,a.rn)+1,instr(b.all_cols,',',1,a.rn+1)-instr(b.all_cols,',',1,a.rn)-1)||','||'RAHULKALRA.'||substr(b.all_cols,instr(b.all_cols,',',1,a.rn)+1,instr(b.all_cols,',',1,a.rn+1)-instr(b.all_cols,',',1,a.rn)-1)||',''1'',''0'')' decode_prep, rownum curr, rownum -1 prev
    from (select rownum rn
    from dual connect by rownum <=
    (select (length('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM')
    - length(replace('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM',',')))+1 total_cols
    from dual)) a, (select ','||'ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM'||',' all_cols from dual) b) c
    start with curr = 1
    connect by prior curr = prev
    order by length(sys_connect_by_path(c.decode_prep,'-')) desc
    same as above sql only difference is here I am pulling the first record from the result set which above query returns :
    select ltrim(replace(decode_prep,'-','||'),'||') decode_prep
    from (select sys_connect_by_path(c.decode_prep,'-') decode_prep
    from (select 'DECODE(BIAPPS_11.'||substr(b.all_cols,instr(b.all_cols,',',1,a.rn)+1,instr(b.all_cols,',',1,a.rn+1)-instr(b.all_cols,',',1,a.rn)-1)||','||'RAHULKALRA.'||substr(b.all_cols,instr(b.all_cols,',',1,a.rn)+1,instr(b.all_cols,',',1,a.rn+1)-instr(b.all_cols,',',1,a.rn)-1)||',''1'',''0'')' decode_prep, rownum curr, rownum -1 prev
    from (select rownum rn
    from dual connect by rownum <=
    (select (length('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM')
    - length(replace('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM',',')))+1 total_cols
    from dual)) a, (select ','||'ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM'||',' all_cols from dual) b) c
    start with curr = 1
    connect by prior curr = prev
    order by length(sys_connect_by_path(c.decode_prep,'-')) desc)
    where rownum = 1
    Edited by: Mac_Freak_Rahul on Nov 28, 2012 1:31 AM : in the first sql ')'
    removed after desc in the last line so now this query will run and throw an error.

    Clearly your error is because the string concatenation you are doing with sys_connect_by_path is exceeding the 4000 bytes permitted by SQL.
    In that case you need to concatenate your data into a CLOB datatype, for which you'll need a CLOB aggregation function...
    create or replace type clobagg_type as object
      text clob,
      static function ODCIAggregateInitialize(sctx in out clobagg_type) return number,
      member function ODCIAggregateIterate(self in out clobagg_type, value in clob) return number,
      member function ODCIAggregateTerminate(self in clobagg_type, returnvalue out clob, flags in number) return number,
      member function ODCIAggregateMerge(self in out clobagg_type, ctx2 in clobagg_type) return number
    create or replace type body clobagg_type is
      static function ODCIAggregateInitialize(sctx in out clobagg_type) return number is
      begin
        sctx := clobagg_type(null) ;
        return ODCIConst.Success ;
      end;
      member function ODCIAggregateIterate(self in out clobagg_type, value in clob) return number is
      begin
        self.text := self.text || value ;
        return ODCIConst.Success;
      end;
      member function ODCIAggregateTerminate(self in clobagg_type, returnvalue out clob, flags in number) return number is
      begin
        returnValue := self.text;
        return ODCIConst.Success;
      end;
      member function ODCIAggregateMerge(self in out clobagg_type, ctx2 in clobagg_type) return number is
      begin
        self.text := self.text || ctx2.text;
        return ODCIConst.Success;
      end;
    end;
    create or replace function clobagg(input clob) return clob
      deterministic
      parallel_enable
      aggregate using clobagg_type;
    SQL> select trim(',' from clobagg(ename||',')) as enames from emp;
    ENAMES
    SMITH,ALLEN,WARD,JONES,MARTIN,BLAKE,CLARK,SCOTT,KING,TURNER,ADAMS,JAMES,FORD,MILLER
    SQL> ed
    Wrote file afiedt.buf
      1  with t as
      2    (select 'PFL' c1, 0 c2,110 c3 from dual union all
      3     select 'LHL', 0 ,111 from dual union all
      4     select 'PHL', 1, 111 from dual union all
      5     select 'CHL', 2, 111 from dual union all
      6     select 'DHL', 0, 112 from dual union all
      7     select 'VHL', 1, 112 from dual union all
      8     select 'CPHL', 0, 114 from dual union all
      9     select 'WDCL', 1, 114 from dual union all
    10     select 'AHL' ,2 ,114 from dual union all
    11     select 'NFDL', 3, 114 from dual)
    12  --
    13  -- end of test data
    14  --
    15  select trim(clobagg(c1||' ')) as c1, c3
    16  from (select * from t order by c3, c2)
    17  group by c3
    18* order by c3
    SQL> /
    C1                                     C3
    PFL                                   110
    LHL CHL PHL                           111
    DHL VHL                               112
    CPHL AHL NFDL WDCL                    114

  • I/O error:Failed to persist the assembly

    Hello,
    I have an error when I try to activate one of my activity.
        ===== Post-Processing =====  started at 2008-04-02 14:33:24.814 GMT
            STORE build results... started at 2008-04-02 14:33:24.814 GMT
            ===== Post-Processing =====  finished at 2008-04-02 14:33:24.814 GMT and took 0 ms
            Change request state from PROCESSING to FAILED
            Error! The following problem(s) occurred  during request processing:
            Error! The following error occurred during request processing:I/O error:Failed to persist the assembly
    What could be this I/O error ?
    In local my DC compile perfectly.
    Thanks by advance for all of your help.
    Johann

    Hi John,
    Check your disk space, Dont assemble all SC at same time. Do One by one.
    Regards
    Praveen

  • Error when i reject the sales order

    Hi:
    I´m in Upgrade to 6.0, and when I reject a sales order in SD, the system show me this message "Subsequent function 'Production order/plan order from sales document' not possible: Item 000010 was rejected Message no. V1579".
    In the implementation the products was delivered for the company, but today they work with service orders but the integration SD with PP is until running but they user the order for documentation and to saw the costs.
    I wrote a SAP message and read this notes 964813 and Note 1028464 but both are already aplicated. SAP responce to me but I don´t konw to much of the SD and PP integration. Please, can any one help me?
    SAP responce:
    Info to SAP    
    12.03.2008 - 12:49:44 CET - Reply by SAP     Attachments
    SAP Note 97272  - Rejections of individual order items possible
    SAP Note 356895  - Rejection of third-party items and individual PO items
    SAP Note 549972  - FAQ: rejecting third-party or individual PO items
    SAP Note 1054121  - The SAP Ecosystem in a Nutshell
    Dear Gina,
    I was analyzing the problme in your system.
    If I understand you rigt you are expecting that the link between the
    sales order and the production order is not deleted when you set the
    reason for rejection. When you set the reason for rejection again then anew production order is created.
    The standard behaviour is that the link between sales order and
    production/assembly/service order is deleted. As field vbep-aufnr is
    deleted also no later restructuring is possible.
    In the header table of the order aufk-kdauf there is still the relation
    to the sales order number but there is a deletion flag set for it and
    the link can't be reactivated.
    I am sorry that I could not give you a more positive reply.

    Hi:
    In the table AFKO I don´t have any order document. I searched this, before reject the sales order, and then, when I try to reject the sales order, and in both cases I don´t have the relation about the order and the sales order in this table.
    I looked at the table AUFK and in the field KDAUF I saw the sales order and the relation with the PM order, and this is my problem, I don´t no why the message error tell me something  about PP order,  I didn´t understand.
    I saw the customizing and I Know they works with the "Strategy group" in materials and it was customizing in "Demand Management" and the order was customizing in "Plant Maintenance and Customer Service", (PM) customizing the Order Types. I think when finally they decided that the material was only for services, they changed something, and the customizing is not complete in PP.
    In the old version 4.6C the rejection of sales order works, but in this version 6.0 and with MRP implementacion I don´t know in what step this was change. If you Know where can i find if something of MRP affect the previous integration please let me know, because I think is a PP customizing problem.
    Thanks
    Best Regards
    Gina

  • Error 1935 - An error occured during the installation assembly

    Every time I try to download Acrobat Reader 8.1.2 I get the following error message: Error 1935 - An error occured during the installation assembly. I have Microsoft Vista - Internet Explorer 7. I have a Dell computer.

    Not alone.
    Lots of things tried. None worked for me so far.
    Search Results for Error 1935
    36 matches found
    n Topic name: Error 1935 - An error occured during the installation assembly
    Forum name: Adobe Reader - Message #1
    Posted By: Stephen Castle - Feb 17, 2008 04:18 pm
    I think that I have the same problem Adobe Reader 8.1.2 Installer Information On MS Vista Business even when installed as administrator Error 1935.An error occurred during the installation of assembly. 'Microsoft.VC80.CRT,version='8.0.50727.163",
    Discussion: Topic name: Error 1935 - An error occured during the installation assembly
    Forum name: Adobe Reader
    Posted By: Ismael Dieppa - Feb 17, 2008 04:18 pm
    Every time I try to download Acrobat Reader 8.1.2 I get the following error message: Error 1935 - An error occured during the installation assembly. I have Microsoft Vista - Internet Explorer 7. I have a Dell computer.
    n Topic name: Unable to download Adobe Reader 8
    Forum name: Adobe Reader - Message #6
    Posted By: T M - Jan 6, 2008 12:28 pm
    For Error 1935 Open a command prompt from the start menu as an administrator Type in: fsutil resource setautoreset true C:\ Restart and try again. I was having multiple issues with my machine, one of them being Error 1935 with Acrobat. The ot
    n Topic name: Unable to download Adobe Reader 8
    Forum name: Adobe Reader - Message #4
    Posted By: Saundra Ashley - Dec 20, 2007 02:11 pm
    Would this work on Vista Home Premium? My error is Error 1935, see forum for my original posting unable to download 8.0 and 8.1.1 Thanks Saundra
    n Topic name: Unable to download Adobe Reader 8
    Forum name: Adobe Reader - Message #3
    Posted By: Saundra Ashley - Dec 20, 2007 02:07 pm
    I am having difficulty downloading Reader 8.1.1. I am running Vista Premium Home Edition and when I tried 4 times to download I received Error 1935(see forum on Topics Page for 8.0 & 8.1.1). Now I am sitting with no reader since the download convenie
    n Topic name: Error 1935
    Forum name: Adobe Reader - Message #5
    Posted By: bob bedell - Feb 10, 2008 06:14 am
    I received a message to update the adobe reader in my laptop. I clicked proceed, but it would not finish installing. I received the same error message, 1935, as above. Also, pdf files can NOT now be opened! My OS is windows vista. All I want to do is go b
    Discussion: Topic name: Error 1935
    Forum name: Adobe Reader
    Posted By: BenDavis - Feb 16, 2008 12:02 pm
    Whenever I try and install Adobe Reader, I get the following messgae: Erroe 1935. Adn error occured during the installation of assembly 'Microsoft.VC80.CRT.version="8.0.50727.163"'publicKey Toekn="1fc8b3b9a1e18e3b"'processorArchitectur
    n Topic name: Can't Install Premiere Elements 4.0 Error 1935
    Forum name: Premiere Elements - Message #2
    Posted By: Russel Brunton - Feb 14, 2008 10:39 pm
    I had the same exact problem as Charles Kaiser, "Error 1935. An error occurred during the installation of assembly component {97F81AF1-oE47-DC99-A01F-C8B3B9A1E18E}. HRESULT: 0x80070005.". Any help.
    Discussion: Topic name: Can't Install Premiere Elements 4.0 Error 1935
    Forum name: Premiere Elements
    Posted By: Charles Kaiser - Feb 15, 2008 04:20 am
    When trying to install Premiere Elements 4.0, everything cranks along fine until I get the pop-up "Error 1935. An error occurred during the installation of assembly component {97F81AF1-oE47-DC99-A01F-C8B3B9A1E18E}. HRESULT: 0x80070005." So wh
    n Topic name: 8.1.2 error 1935
    Forum name: Adobe Reader - Message #1
    Posted By: Werner F Hartl - Feb 11, 2008 10:54 am
    Tried running fsutil per suggestion of TM. Didn't work. Search "error 1935" for this suggestion and other users with same problem. I notice no suggestions (that work) for a fix. Is that it? Now I can't open any pdf documents on my computer? W
    Discussion: Topic name: 8.1.2 error 1935
    Forum name: Adobe Reader
    Posted By: Werner F Hartl - Feb 14, 2008 08:16 am
    Using Vista. Accepted offer to update. This removed Reader from my machine. When I tried to download and install got error 1935.
    n Topic name: 8.1.2 error 1935
    Forum name: Adobe Reader - Message #2
    Posted By: Werner F Hartl - Feb 14, 2008 08:16 am
    Got fix from another post (Laura Finateau). Go to Microsoft web site: http://windowshelp.microsoft.com/Windows/en-US/Help/ca7d15d7-8ee3-4993-bd01-753dadc904121 033.mspx It's the same fix as already mentioned. When I first tried it the problem may hav
    Discussion: Topic name: Vista/Reeder error 1935
    Forum name: Adobe Reader
    Posted By: Laura Finatean - Feb 14, 2008 07:56 am
    Error 1935 when trying to download/install Reeder. Tried everything, finally the 5th technician solved it with this: http://windowshelp.microsoft.com/Windows/en-US/Help/ca7d15d7-8ee3-4993-bd01-753dadc904121 033.mspx
    Discussion: Topic name: 8.1.2 error 1935
    Forum name: Adobe Reader
    Posted By: Werner F Hartl - Feb 11, 2008 09:51 am
    Downloaded a pdf file with a 4 day download restriction. I was close. Downloaded and opened file and got popup from adobe offering to update to 8.1.2. I accepted. Lost "reader" and coudn't reinstall- got error 1935.
    n Topic name: Adobe 8 Standard in Vista
    Forum name: Acrobat Windows - Message #6
    Posted By: wmcalpine - Sep 10, 2007 06:31 am
    I have tried everything to install version 8.1 for Windows Vista. After getting halfway complete, I get the following error and install ends: Error 1935. An error occured during the installation of assembly "Microsoft.VC80.CRT, version = 8.0.50727

Maybe you are looking for

  • Rogue implicit SELECT FOR UPDATE statement in forms 9i  9.0.4.0.19

    all, out of 200 production forms, one form occasionally and incorrectly "selects for update" an entire 3 million row table, during an update transaction. this creates 100+ archive logs. we cannot repeat the event via testing. but the rogue select sta

  • Problem using aspects with appclient

    I am trying to create a jms client server and want to include aspects in my program. I can successfully run using appclient provided no pointcuts from my aspect get called. If it does get called ClassDefNotFound error and NoAspectBoundException are t

  • Enlarging raster vs vector Objects

    as i understand it vector objects should enlarge without losses, while raster objects pixilate on enlargement. In this image http://img212.imageshack.us/img212/6178/triangleswithrastercz0.gif the top triangle is raster. The bottom one is vector. Othe

  • Cropping video to still image

    Is there a way to crop within a SINGLE frame and then keeping the crop as a still image? Right now I have a footage of a puppy.  When I select a single frame to crop the puppy, the still image of the puppy doesn't stay stationary as the video plays.

  • Unable to create Policy packages - missing snapin

    Product: Novell Small Business Suite 6 SP5 installed, ZFD sp3 installed. When attempting to create policy packages I get the following message: "There is not a snap-in to create this type of object. If you proceed and use the generic object creator,