ASSIGN_TYPE_CONFLICT error is coming

Hi,
I am facing problem when Loop at Field Symbol is executing. In first one block Loop to work area is giving dump and in second one it is showing error in Assign statement where char value to internal table assign statement has written.
Please find the code below.
Thanks in advance.
Regards,
Jyoti
TYPES: BEGIN OF gs_icatsd.  "Structure copied from LCATSTOP
          INCLUDE STRUCTURE catsd_ext.
  TYPES:   tooltips_day1_31(1550)  TYPE c,
         END OF gs_icatsd.
  data:    l_tname     TYPE char25 VALUE '(SAPLCATS)ICATSD[]',
              l_pernr      TYPE pernr_d.
  FIELD-SYMBOLS:    <fs_icatsd>            TYPE STANDARD TABLE,
                                  <fs_icatsd_wa>     TYPE gs_icatsd.
  ASSIGN (l_tname) TO <fs_icatsd>. 
    CLEAR l_pernr.
   IF ( <fs_icatsd> IS ASSIGNED ).
      LOOP AT <fs_icatsd> ASSIGNING <fs_icatsd_wa>. ********************"This line is giving Type conflict error"**************
        l_pernr = <fs_icatsd_wa>-pernr.
      ENDLOOP.
   ENDIF.
data:    l_tname     TYPE char25 VALUE '(SAPLCATS)ICATSD[]',
             l_pernr      TYPE pernr_d..
DATA:  Itab TYPE TABLE OF  gs_icatsd.
FIELD-SYMBOLS:    <fs_icatsd>            LILE Itab,
                                  <fs_icatsd_wa>    LIKE LINE OF Tgs_icatsd.
  ASSIGN (l_tname) TO <fs_icatsd>. "This line is giving dump"
    CLEAR l_pernr.
   IF ( <fs_icatsd> IS ASSIGNED ).
      LOOP AT <fs_icatsd> ASSIGNING <fs_icatsd_wa>.
        l_pernr = <fs_icatsd_wa>-pernr.
      ENDLOOP.
   ENDIF.

Hi jyoti,
< ASSIGN (l_tname) TO <fs_icatsd>. >
You can not assign the values to the internal table directly, instead you need to assign the values to the work area and then
append that work area in to an internal table.  Even i am not getting your question clearly, i am just giving one example here..
For example:
types:begin of typ,
          example type c length 25,
          end of typ.
data: l_example TYPE char25 VALUE '(SAPLCATS)ICATSD[]'.
data: itab type ref to data,
         wa type ref to data.
FIELD-SYMBOLS: <fs_itab> TYPE STANDARD TABLE,
<fs_wa> TYPE any,
<fs_val> TYPE any.
CREATE DATA itab TYPE TABLE OF typ.
ASSIGN itab->* TO <fs_itab>.
CREATE DATA wa TYPE typ.
ASSIGN itab->* TO <fs_wa>.
*here the sy-index is 1 field position of example
ASSIGN COMPONENT 1 OF STRUCTURE <fs_wa> TO <fs_val>.
if sy-subrc = 0.
<fs_val> = l_example.
endif.
append <fs_wa> to <fs_itab>.
then you can loop this table now.
Regards,
Guna.

Similar Messages

  • Hi Experts, when i am trying to deploy the application error is coming

    Hi Experts,
    when i am trying to deploy the webdynpro java pplication error is coming.but before up to 2 days every thing is working fine.
    from two days onwards i cant run any webdynpro applications even which are sap provided applications also.and also can not come properly http://hostname:portno/sld  page. i can not moving to more to do anything.
           every browser saying  javavoid(0); and java applet can not be run like.
    only the opera browser shoeing the error toatlly . here i paste the error . please give reply why i can not doing any thing more. But my server and every thing is showing up and good.
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    This page was created by SAP NetWeaver. All rights reserved.
    Web Dynpro client:
    Nokia Series 80 Client
    Web Dynpro client capabilities:
    User agent: Opera/9.80 (Windows NT 5.2; U; en) Presto/2.2.15 Version/10.00, client type: op6, client type profile: op6, ActiveX: disabled, Cookies: enabled, Frames: enabled, Java applets: disabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Accessibility mode: false
    Web Dynpro runtime:
    Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-05:15:08:24[UTC], changelist=413534, host=pwdfm101), build date: Thu Aug 13 23:44:29 GMT+05:30 2009
    Web Dynpro code generators of DC sap.com/tcsldwd~main:
    SapDictionaryGenerationCore: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:07:52[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro: 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:10:47[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:02[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapGenerationFrameworkCore: 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:54:14[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:20[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary: 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:05:18[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:10[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCore: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:30[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:08:00[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    Web Dynpro code generators of DC sap.com/tcsldwd~landscape:
    SapDictionaryGenerationCore: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:07:52[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro: 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:10:47[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:02[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapGenerationFrameworkCore: 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:54:14[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:20[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary: 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:05:18[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:10[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCore: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:30[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:08:00[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    Web Dynpro code generators of DC sap.com/tcwddispwda: No information available!
    Web Dynpro code generators of DC sap.com/tcsldwd~businesssystem:
    SapDictionaryGenerationCore: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:07:52[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro: 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:10:47[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:02[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapGenerationFrameworkCore: 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:54:14[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:20[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary: 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:05:18[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:10[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCore: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:30[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:08:00[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    Web Dynpro code generators of DC sap.com/tcsldwd~technicalsystem:
    SapDictionaryGenerationCore: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:07:52[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro: 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:10:47[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:02[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapGenerationFrameworkCore: 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:54:14[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:20[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary: 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:05:18[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:10[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCore: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:30[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:08:00[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    Web Dynpro code generators of DC sap.com/tcwdcorecomp: No information available!
    Web Dynpro code generators of DC sap.com/tcsldwd~softwarecatalog:
    SapDictionaryGenerationCore: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:07:52[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro: 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:10:47[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:02[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapGenerationFrameworkCore: 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:54:14[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:20[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary: 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:05:18[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:10[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCore: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:30[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:08:00[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    Web Dynpro code generators of DC sap.com/tcsldwd~namereservation:
    SapDictionaryGenerationCore: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:07:52[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro: 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:10:47[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:02[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCTemplates: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:32:04[UTC], changelist=413534, host=pwdfm101)
    SapGenerationFrameworkCore: 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:54:14[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:20[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary: 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:05:18[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon: 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-20:04:55:10[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCore: 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:14:30[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates: 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-20:05:08:00[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    J2EE Engine:
    7.00   patchlevel
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_12-b03, vendor: Sun Microsystems Inc.
    O

    HI surya,
    Restart the SDM and try again...
    regards,
    viswa

  • Trying to install iOS 7.1.2 error message coming up

    TRying to install iOS 7.1.2 to iPad error message coming so won't install

    Just to make sure are you connected to WiFi?
    Try a reset:
    - Hold the home button and sleep/wake button down at the same time. When the Apple logo appears release both buttons.
    If issue remains try another WiFi network. Alternatively you can try the steps below to update with iTunes on a computer:
    First back up: iOS: Back up and restore your iOS device with iCloud or iTunes
    Then Update iOS with iTunes: Update your iPhone, iPad, or iPod touch

  • HT4863 I have an error message coming up when trying to send an email which says 'sending the message failed because you're exceeding the limit' can anyone help me to resolve this please

    I have an error message coming up when trying to send an email which says 'sending the message failed because you're exceeding the limit' can anyone help me to resolve this please

    Try reentering the password in your iCloud mail settings.

  • Error is coming when executing the report in bex

    hai experts,
    any body help me in this matter.
    when i execute the qurey in bex its showing error message coming with popup box.
    Error is showing like this.
    "no value found"
    " Exception 1 when calling WB_HTML_HELP_URL_GEToccured"
    but when i click on "OK"  button its showing result.can any body tell  me why its showing error  message like this .
    regards
    mahesh

    you default method is WEB so its useing URl to open the results, change the setting to use analyzer(XLS) and update your GUI Front End patch.

  • Error is coming at the time of Installation of SAP Netweaver 04's sp7

    Hi All,
    An Error is coming at the time of Installation of SAP Netweaver 04's sp7
    Error: Unable to create an account for <SystemName> for <SAP Service sid>
    can anyone suggest me regarding this.
    Regards
    Phanikumar

    Hi
    Thanks for ur suggestion,
    I got the solution to this error.
    The main reason is at the time of Intsalling Netweaver on windows 2003 server with Administrator rights, as per the Installtion manual we have to follow the windows password policy must and should and give the same for the Master Password while installing, then we won't get error.
    Thanks & Regards
    phanikumar

  • While saving the sales document .this error is coming.

    Is there any body to help it out .......
    While saving the document this error is coming
    **Financial document: No financial document assigned**

    Dear dinesh
    It seems the field "Financial doc.no" is made as mandatory in VA01.  Also if I am right, you are trying to create an export sale order which is against L/C.
    To create L/C, go to VX11N, give the required datas and save.  While saving, system will generate a reference.  Make a note of this reference and now go to VA01, give the required datas and select header Billing tab where you can find a field "Financial doc.no.".  Assign the above reference here and now save.
    thanks
    G. Lakshmipathi

  • While deleting the PO the below error is coming

    Hi All,
    While deleting the PO the below error is coming..
    "Invoice pending of delivery costs(function not possible)".
    Since it was 2006 PO,Is there any possiblity to close the invoice verification without impacting the vendor payment account.
    clarify us how to solve the issue..

    Flag check box "Final Invoice" and try.
    If this doesn't work, then one option could be to post the Invoice, Set deletion flag to PO, then post FI credit memo to clear the vendor.

  • "Device can not be read from or written to" error keeps coming up...

    I have recently updated to the 3.1 firmware on my iPhone 3G (after a couple failed attempts).
    The problems seemed to start there when the update froze midway through and I had to try a couple more times. After I did and restored my settings, iTunes said that my backup file didn't work. I tried a couple more times to restore from the backup but ended up having to restore as a new device.
    Now, as I try to sync all of my, well, everything, I keep getting an error message.
    It synced all of my contacts, apps, calendar, etc., but when it gets to my music and videos it will sync a bit of it before giving me the error messages:
    "Cannot sync ___, the required disk is not found"
    and immediately after,
    "Device can not be read from or written to."
    I've tried syncing my iPhone many times, and these errors keep coming up.
    What should I do?

    Hi,
    This article: http://support.apple.com/kb/HT1207 provides tips that will resolve issues causing this message to appear with iPhones and iPods.
    Make sure the iPhone is directly connected to a high-speed USB2 port on the PC, using the cable that came with it.
    -Jason

  • Program to update BOM by CSAP_MAT_BOM_CREATE as error KEY_INCOMPLETE coming

    Hi to all,
    Can any one provide me sample program to update BOM via Function Module CSAP_MAT_BOM_CREATE.
    As i already have created the program , but run time error is coming KEY_INCOMPLETE for CSAP_MAT_BOM_CREATE.
    as i have already search the SDN , but cant get any specific answer for that.
    Note: itab_bom_header and itab_bom_item_details are of same line type as
      i_stko and t_stpo  with data.     
    DATA: wa_bom_header  TYPE     zia_str_bom_header,
          wa_itab_bom_item_details TYPE zia_str_bom_item_details.
    IF  itab_bom_header[] IS  NOT INITIAL .
      READ TABLE  itab_bom_header INTO wa_bom_header INDEX 1 .
    ENDIF.
    *---- BOM header data structure
    DATA: BEGIN OF tstko OCCURS 0.
            INCLUDE STRUCTURE stko_api01.
    DATA: END OF tstko.
    DATA: wa_tstko  LIKE LINE OF tstko.
    *---- BOM items table
    DATA: BEGIN OF tstpo OCCURS 0.
            INCLUDE STRUCTURE stpo_api01.
    DATA: END OF tstpo.
    DATA: wa_tstpo LIKE LINE OF tstpo.
    **---- Object dependencies table
    Basis data
    *data: begin of tdep_data occurs 0.
    *include structure csdep_dat.
    *data: end of tdep_data.
    Description
    *data: begin of tdep_descr occurs 0.
    *include structure csdep_desc.
    *data: end of tdep_descr.
    Source
    *data: begin of tdep_source occurs 0.
    *include structure csdep_sorc.
    *data: end of tdep_source.
    Sequence
    *data: begin of tdep_order occurs 0.
    *include structure csdep_ord.
    *data: end of tdep_order.
    Documentation
    *data: begin of tdep_doc occurs 0.
    *include structure csdep_doc.
    *data: end of tdep_doc.
    CALL FUNCTION 'CALO_INIT_API'
    EXPORTING
      FLAG_DB_LOG_ON                 = 'X'
      FLAG_MSG_ON                    = 'X'
      FLAG_API_API_CALL_ON           = ' '
      FLAG_COLLECT_MSG_ON            = ' '
      EXTERNAL_LOG_NO                = 'API'
      DEL_LOG_AFTER_DAYS             = '10'
      DATA_RESET_SIGN                = '!'
    EXCEPTIONS
       LOG_OBJECT_NOT_FOUND           = 1
       LOG_SUB_OBJECT_NOT_FOUND       = 2
       OTHERS                         = 3
    LOOP AT itab_bom_header INTO wa_bom_header.
    wa_tstko-BASE_QUAN =  wa_bom_header-base_qty.
    wa_tstko-BASE_UNIT  =  wa_bom_header-BASE_UOM.
    wa_tstko-BOM_STATUS  = wa_bom_header-BOM_STATUS.
    ENDLOOP.
    LOOP AT  itab_bom_item_details INTO  wa_itab_bom_item_details.
      wa_tstpo-item_categ   = wa_itab_bom_item_details-item_category.
      wa_tstpo-item_no      = wa_itab_bom_item_details-bom_itm_number.
      wa_tstpo-component    = wa_itab_bom_item_details-component.
      wa_tstpo-comp_unit = wa_itab_bom_item_details-uom.
      wa_tstpo-comp_qty = '10'.
      wa_tstpo-valid_from   = wa_itab_bom_item_details-valid_from.
      wa_tstpo-itm_ident    =  wa_itab_bom_item_details-item_id  .
      APPEND wa_tstpo TO tstpo .
    ENDLOOP.
    FM to create BOM
    CALL FUNCTION 'CSAP_MAT_BOM_CREATE'
      EXPORTING
        material               =   wa_bom_header-material
        plant                  =   wa_bom_header-plant
        bom_usage              =   wa_bom_header-bom_usage
        VALID_FROM             =   wa_bom_header-VALID_FROM
      CHANGE_NO                =
      REVISION_LEVEL           =
      i_stko                   =    tstko  " bom header
      FL_NO_CHANGE_DOC         = ' '
      FL_COMMIT_AND_WAIT       = ' '
      FL_CAD                   = ' '
      fl_default_values        = 'X'
    IMPORTING
    fl_warning               =  fl_warning
    bom_no                   =  bom_no
    TABLES
    t_stpo                    =  tstpo   " bom item
      T_DEP_DATA               = tdep_data
      T_DEP_DESCR              = tdep_descr
      T_DEP_ORDER              = tdep_source
      T_DEP_SOURCE             = tdep_order
    T_DEP_DOC                 =  tdep_doc
      T_LTX_LINE               =
      T_STPU                   =
    EXCEPTIONS
    error                    = 1
      OTHERS                   = 2
    IF sy-subrc <> 1.
      WRITE 'error'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF fl_warning EQ 'X'.
      WRITE 'done'.
    ENDIF.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
    please can any one provide me the solution for that.
    i shall be thankfull to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Aug 18, 2011 3:01 PM

    Thanks for reply,
    i have debug my program and found that run time error is coming at GET_MAST function module.
    but  i have already checked that     MATNR and STLNR  is already filled before reaching to that FM.
    GET_MAST
    IF NOT SET IS INITIAL.
          IF     WA-MATNR IS INITIAL
             AND WA-STLNR IS INITIAL.
             RAISE KEY_INCOMPLETE.
          ENDIF.
          IF     WA-MATNR <> SPACE
             AND WA-STLNR <> SPACE.
             RAISE KEY_INVALID.
          ENDIF.
    please can any one provide me the solution for that.
    Regards
    Pavneet Rana

  • How do i put a video in my presentation when there is an error code coming up?

    I am trying to place a movie in my presentation but there is a error code coming up saying cant find server

    So, if I set my PRODUCT NAME in the project properties to "Cool App", then should I manually change the following settings in my Info.plist to delete the space:
    Bundle display name: currently set at ${PRODUCT_NAME}
    Bundle indentifier: currently set at ${com.companyname.${PRODUCT_NAME:identifier}
    Bundle name: currently set at ${PRODUCT_NAME}
    Based on what you said, then my product name is automatically being set with spaces when copied to the Bundle display name, identifier and bundle name, which is probably causing the error I suppose.

  • While excise posting, an error is coming "Balance in Transaction  Currency"

    Dear all
    While capital excise posting, an error is coming "Balance in Transaction  Currency" for the capital goods posting.
    During the excise duty posting J1IEX our clint done some manuvall entry for excise duties so
    at the time its 0.01 diffrence is coming in balance thats why we are not able to post the document.
    so please can any one give the solution for this
    regards
    pramod

    hi
    Check Excsie duties in "Excise Duty" Tab at Item Details level.
    Kindly note that all the duties (BED, ECS and SECess) in case of RG23C Part II posting must be in EVEN numbers.
    For e.g. Check whether SECess is 10.63 (ODD No) then make it either 11.00 or 10.64 or 10.62 i.e. EVEN No otherwise during Part II posting it will always show balance of 0.01
    Check how much piase is the difference. Then you can decide how many values to be rounded off.
    To avoid this type of problem better to ensure all amounts ( BED, Ecess and Hr Ecess) are in Even figures.
    hope it clears
    regards
    kunal

  • Timout expired error is coming while generating script in sqlserver

    i try to backup my database from hosted server. so i generating scripts with data via wizard. after executing all objects ,one error is coming like 'timeout expired'. and i try to restore this script file in my local database. but many tables,stored procedures,functions
    are missing. please help me how to take complete scripts correctly?

    Hello,
    It’s a long running task and the default timeout is 30 seconds, The database seems to be too big for the generating script with data
    feature.
    Try to script big tables one by one if you still want to use that feature or use backup/restore as mentioned above.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • When i am connecting ipod with laptop, an error is coming that "this ipod cannot be used because the apple mobile device services is not started.

    when i am connecting ipod with laptop, an error is coming that "this ipod cannot be used because the apple mobile device services is not started???
    please revert.

    Did you try to restart the service, as described in this article?
    http://support.apple.com/kb/TS1567

  • No inspection lot can be opened for this material error is coming during GR

    dear friends,
    no inspection lot can be opened for this material error is coming during GR. what is the cause for this and how to solve it. please suggest me
    regards,
    Krishna

    Hi,
    i think you have maintained the quality view and activated the inspection. but you have not created any inspection lot task list for the material and plant. thsi you can create through QP01 there maintain the material and plant. then enter in inspection plan give usage 5 and status 4. save it and try to check it with QA32 and see the lot. it should be released then only you can give usage decision.
    regards,
    Adwait Bachuwar

Maybe you are looking for

  • Voice problems with Lync 2013 Mobile

    Hi I have a situation where Lync 2013 on both iPhone & Android has started giving problems with making and receiving voice calls. There are no problems with Windows, Mac or Phone Edition clients that I'm aware of. I have not tested anything over the

  • Ubormal trace file generation in 11.1.0.7

    oracle version Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production PL/SQL Release 11.1.0.7.0 - Production CORE 11.1.0.7.0 Production TNS for 64-bit Windows: Version 11.1.0.7.0 - Production NLSRTL Version 11.1.0.7.0 - Producti

  • Media Encoder Problem

    I am using Flash CS 4, If I attempt to file>import>import video,  the import video window/dialog box opens, if I browse and select a AVI.file  I receive a dialog box telling me it is in the wrong format and to use the Launch Adobe Media Encoder butto

  • How to run tools from a java archive

    I used to run Multivalent from http://multivalent.sourceforge.net/ but am now getting error messages like this: Exception in thread "main" java.lang.NoClassDefFoundError: tools/pdf/Impose This happens even when I'm in the directory containing the jar

  • Install RMS 13.1 How to add data boundaries  in the ddl  files for UK?

    Hello Retail Gurus, I have installed RMS 13.1 without running the partition.ksh script while installing the Retail Database for RMS and it created some sample data too, I have seen the Install Guide and especially looked at the Partitioning Steps in