Urgent - problem in idoc filtering

Hi Expert.
i have created my Extended idoc. for debmas06. its working fine but as i decleatred the filter in BD64 on field VKORG. Its not filtering on the value which i mention in this field.
I run the program with z- program and submitted into the BD12. from there it generate a idoc. but its not doing filtering. the filter field VKORG not exist in Zsegment that is only in standard segment.
I put those segment name in BD59 also and obhect is VKORG. still is doesn't work. any suggation abt this.
I assure i will rewarded to the appropriate answer.
Thanks

Hi!
Did I get this correct?
>
> The filter field VKORG not exist in  Zsegment that is only in standard segment.
You Z-message does not contain VKORG? Then a filter for this field is not possible. You can only filter for fields included in the message. Otherwise your steps seem alright.
Regards,
Christian

Similar Messages

  • Problem with IDoc filtering in the distribution model

    Hello Experts,
    We are using a distribution model in which we have set filters as like the following
    Filter Group 1
               Plant : XYZ
               Sales Org: SAP1
    As far as the documentation says this Condition should work with AND logic between Plant and Sales Org
    (i.e ~ Plant XYZ and  SO SAP1 ) but the IDoc gets created even if any one of the condition is met(looks like working in OR logic).
    How to achieve the AND filtering between the different objects.
    Would appreciate your kind help.
    Thanks in advance.
    RGds,
    Vasanth.

    > Jakub ~ Yes I checked the generated IDocs(classified pertaining to my Model)for my model alone and that's where we are facing this problem
    So that's the filtering problem.
    I would check in which segments are the "filtering objects" located (BD59) and whether it is a mandatory segment. If it is a mandatory segment - IDoc should not be created. If it is an optional segment - this segment and its subsegmets will be filtered out - but IDoc will be created.
    > ~ Do we need to apply some SAP Notes to avoid this problem ?
    >  But why the filter should behave in OR fashion ? I do not understand.
    I believe that Sachin meant that the logic is:
    Filter Group1 OR Filter Group 2 OR ... Filter Group N
    Filter Group 1 Object 1 AND Filter Group 1 Object 1 ... AND Filter Group 1 Object M
    Filter Group 1 Object 1 Value 1 OR Filter Group 1 Object 1 Value 2 OR ... Filter Group 1 Object 1 Value L
    regards,
    Jakub

  • Urgent : Problem with Servlet Filters in Weblogic6.1

    Hi,
    We have developed an application using Tomcat4.1.24 with Weblogic6.1 Service Pack2.
    Now we are removing the Tomcat and moving the web layer into weblogic. We have implemented Servlet Filters and Listeners.
    When I converted .jar and .war files into .ear file and deployed into Weblogic6.1. But that application is not deploying. I found that Weblogic6.1 does not support Filters and Listeners from Servlet2.3.
    When I tried to deploy in the Weblogic6.1, it is giving the error as " java.lang.reflect.UndeclaredThrowableException".
    Could somebody please give me a solution how my filters and listeners can make working with weblogic6.1.
    Is there any solution.. My application is successfully working with Weblogic8.1. But I want the solution in weblogic6.1. It would be great if somebody can give me solution how to make Filters n Listeners working with Weblogic6.1.
    Thanks in advance.

    Hi Prasanna,
    Thank you for the timely reply.
    I have already done according to the process given in the url which u have given me.
    set and getFilterConfig methods are implemented in my AuthenticationFilter class. But still I could not be able deploy the application and I am not able to get the ServletContext object from Session. When I tried commenting the Filters and Listeners in my web.xml file then my .ear file was successfully deployed but I could not get the ServletContext from Session.
    Below code is from my web.xml:
    <filter>
    <filter-name>HRSuthenticationFilter</filter-name>
    <filter-class>com.peramb.hrs.servlet.AuthenticationFilter</filter-class>
    <init-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>HRSAuthenticationFilter</filter-name>
    <url-pattern>/jsp/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>HRSAuthenticationFilter</filter-name>
    <servlet-name>action</servlet-name>
    </filter-mapping>
    <listener>
    <listener-class>com.peramb.hrs.servlet.HRSContextListener</listener-class>
    </listener>
    When I comment the above code from web.xml it is deploying with out errors.. but I am not getting the servlet context, hence my application is not working.
    When tried uncommenting the listerns part or Filters part or bothe, My application is deploying with an error on the console. I.e,
    “<Sep 22, 2005 12:20:36 PM IST> <Error> <Management> <Error deploying application
    .\config\mydomain\applications\hrsgb.ear: java.lang.reflect.UndeclaredThrowable
    Exception>”.
    And the error in Weblogic logs is below:
    ####<Sep 22, 2005 12:20:36 PM IST> <Info> <HTTP> <spacker> <myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <system> <> <101047> <[WebAppServletContext(6387482,hrsgb,/hrsgb)] registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=E:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap36546\WEB-INF\_tmp_war_mydomain_myserver_hrsgb,pageCheckSeconds=1,superclass=weblogic.servlet.jsp.JspBase,keepgenerated=false,precompileContinue=false,compilerSupportsEncoding=true,encoding=null,defaultfilename=index.jsp,compilerclass=null,noTryBlocks=false]'>
    ####<Sep 22, 2005 12:20:36 PM IST> <Debug> <HTTP> < spacker > <myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <system> <> <101158> <Exception thrown while loading hrsgb: java.lang.SecurityException: sealing violation>
    java.lang.SecurityException: sealing violation
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:229)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at weblogic.servlet.internal.WebAppServletContext.registerEventListener(WebAppServletContext.java:2031)
    at weblogic.servlet.internal.WebAppServletContext.initFromDescriptors(WebAppServletContext.java:1471)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:943)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:878)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:515)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:77)
    at weblogic.j2ee.Application.addComponent(Application.java:176)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
    at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy37.addWebDeployment(Unknown Source)
    at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1337)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:350)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:997)
    at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
    at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:969)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy88.addTarget(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:930)
    at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:1039)
    at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:954)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:851)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:781)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:210)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy5.update(Unknown Source)
    at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:150)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:284)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:119)
    at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2678)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2412)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:140)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:121)
    ####<Sep 22, 2005 12:20:36 PM IST> <Error> <J2EE> < spacker> <myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <system> <> <160001> <Error deploying application hrsgb: Could not load hrsgb>
    ####<Sep 22, 2005 12:20:36 PM IST> <Error> <Management> < spacker> <myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <system> <> <141042> <Error deploying application .\config\mydomain\applications\hrsgb.ear: java.lang.reflect.UndeclaredThrowableException>
    I could not trace the problem. Please help me with some solution for the above problem

  • Urgent problem, wrong IDOC relating wiht PO.

    Hello experts:
           Thank you in advance for all your replies.
           There is something wrong with   An IDOC associate with a PO,  its status is 51saying that " no PO items were found for IDOC 11939458 item REP 621104 /15 ",   anybody know how to modify it manually.    couldn't thank you more.
    Best regards.
    Frank

    Hi
    If you want to change the IDoc Manually, goto we02, enter the Idoc number,
    Click on the Segment icon Click on Data record -> Diplay/ Change. Change the Idoc & click on save.
    Now go to BD87, enter the idoc number, select the idoc last node & Click on restrict & process.
    the idoc will be reprocessed & the PO will be created.
    Thanks & Regards
    Kishore
    Edited by: Kishore Kumar Chiluka on Apr 17, 2008 12:47 PM

  • [Urgent] Problem with Itunes 9.2 on Vista 64-bit

    Hello,
    I have an urgent problem that I hope to get some response and insight from anybody, desperately needing help. As some might know, the new OS for iphone and ipod touch is out. iOs 4 and I wanted to upgrade my itunes, but i had to upgrade it to the itunes 9.2 version. As i was upgrading and installing, this error message : "There is a problem with this Windows Installer package A problem required for the install to complete could not be run. Contact your support personnel or package vendor" came up and ruined the installation and as of now, I am unable to open my Itunes and sync stuff in. This is urgent as I have a ton of stuff inside and now i cant use itunes ! please help !
    Im on a version of Windows Vista SP 2 64-bit OS, if that's any info tht will help ! Any help is greatly appreciated here (:

    any fixes ? ):

  • Urgent: Problems in Generic Extraction by Function Module

    Hi BW Gurus,
    I am new to SDN and also new to generic extraction using function module. My requirement is to extract long text(142 char) from CRM to BW as the text is not stored in database table I used function module read_text with in another ZXXX function module copy of (RSAX_BIW_GET_DATA_SIMPLE). In my extract structure I used GUID(char,32), Langu, long text(142 char) and 2 placeholders. Text can be extracted by passing STXH table fields(Tdname, Tdid, Tdobject, Tdspars) to read_text as parameters and i also need to use CRMD_ORDERADM_H field GUID(32 char) to compare 1st 32 chars of tdname(70 char) with Guid to select Guids and loop thru this Guids and for each Guid i need to append lines of text to e_t_data but as i donot know ABAP i unable to write the code for this. Through my friends help i wrote code when i check in RSA3 it is displaying the text but when i replicate into BW and load into data target in monitor the status is red with records initially but afterwards it will be red status again with 0 from 0 records for initial load again.when i check on job logs the errors i have are:
    The background job has created a job log file of 2Gb size and it is currently on a infinite loop writing entries into the SAP System Log that it cannot write to the Job log file due to “Error 22 for write/read access to a file” this is because of the datasource i have created. Please find my Function module and if anyone would please correct FM and send me that will be really great.I appreciate it in advance.
    MY Function Module is:
    FUNCTION Z_CRMORDERH_STR_TXT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *"     VALUE(I_READ_ONLY) TYPE  SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *"     VALUE(I_REMOTE_CALL) TYPE  SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
    *"  TABLES
    *"      I_T_SELECT TYPE  SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  YCRM_TEXT_STR OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
    ***"  EXCEPTIONS     NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
      Tables: CRMD_ORDERADM_H, STXH.
    Auxiliary Selection criteria structure
    data: l_s_select type srsc_s_select.
    Maximum number of lines for DB table
      Statics: s_s_if type srsc_s_if_simple,
    counter
             s_counter_datapakid like sy-tabix,
    Cursor
             s_cursor type cursor.
    data: i_crmtext type standard table of TLINE .
      types: begin of xsreph ,
              GUID type CRMD_ORDERADM_H-guid,
            end of xsreph.
       data: i_guid type standard table of xsreph.
      data: I_TEXT type STXH-TDNAME.
      data: xempl like  YCRM_TEXT_STR occurs 0 with header line.
      data: t_tab like dd03l-tabname.
    Select ranges
      ranges: l_r_guid for CRMD_ORDERADM_H-guid.
             l_r_connid  for sflight-connid.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      if i_initflag = sbiwa_c_flag_on.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        case i_dsource.
          when 'yCRM_TEXT'.  " for S_SREPH1
          when others.
            if 1 = 2. message e009(r3). endif.
    this is a typical log call. Please write every error message like this
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                    i_dsource   "message variable 1
                      ' '.                 "message variable 2
            raise error_passed_to_mess_handler.
        endcase.
       append lines of i_t_select to s_s_if-t_select.
    Fill parameter buffer for data extraction calls
        s_s_if-requnr    = i_requnr.
        s_s_if-dsource = i_dsource.
        s_s_if-maxsize   = i_maxsize.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
       append lines of i_t_fields to s_s_if-t_fields.
    we will do our selection based on what is in the p table for the
    infoobject
      else.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        if s_counter_datapakid = 0.
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
        LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'GUID'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_GUID.
            APPEND L_R_GUID.
          ENDLOOP.
          case i_dsource.
            when 'YCRM_TEXT'.  " for S_SREPH1
              t_tab = 'CRMD_ORDERADM_H'.
          endcase.
          select GUID
          from (t_tab)
          into table i_guid where   PROCESS_TYPE = 'ZACI'  and ( OBJECT_ID < '0000000042').
         select tdname from stxh into i_text where tdobject = 'TEXT'.
         if sy-subrc ne 0.
           message e009(r3).
    this is a typical log call. Please write every error message like this
           log_write 'E'                  "message type
                     'R3'                 "message class
                     '009'                "message number
                     i_dsource   "message variable 1
                     'No master data found'.           "message variable 2
           raise error_passed_to_mess_handler.
         endif.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
         open cursor with hold s_cursor for
         select (s_s_if-t_fields) from CRMD_ORDERADM_H
                                  where GUID in L_R_GUID .
                                   ENDIF.
    Fetch records into interface table.
      named E_T_'Name of extract structure'.
       fetch next cursor s_cursor
                  appending corresponding fields
                  of table e_t_data
                  package size s_s_if-maxsize.
        IF SY-SUBRC <> 0.
         CLOSE CURSOR S_CURSOR.
         RAISE NO_MORE_DATA.
       ENDIF.
    as we are doing this only once can use the select statement.
    ***data: crmtext like tline occurs 0 with header line.
    **data: i_crmtext type standard table of TLINE.
    **data: i_guid type standard table of xsreph.
    data: l_guid type THEAD-TDNAME.
    data: st_guid type xsreph.
    data: st_crmtext type TLINE.
    data: lan type THEAD-TDSPRAS.
    lan = 'E'.
    loop at i_guid into st_guid.
    l_guid = st_guid-guid.
    CALL FUNCTION 'READ_TEXT'
       EXPORTING
       CLIENT                        = SY-MANDT
         ID                            = 'A002'
         LANGUAGE                      = lan
         NAME                          = l_guid
         OBJECT                        = 'CRM_ORDERH'
       ARCHIVE_HANDLE                = 0
       LOCAL_CAT                     = ' '
    IMPORTING
       HEADER                        =
       TABLES
         LINES                         = i_crmtext.
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8
    e_t_data-guid = l_guid.
    loop at i_crmtext into st_crmtext.
    move lan to e_t_data-langu.
    move st_crmtext-tdline to e_t_data-description.
    append e_t_data.
    endif.
    endloop.
    clear: st_guid,l_guid.
    refresh: i_crmtext.
    endloop.
    S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    endif.
    ENDFUNCTION.
    please Gurus as I donot know ABAP i appreciate if anyone would write a FM based on requirement and send me that will be really great this is my request. I gurantee of award points for good answers.
    Regards
    Kishore

    Hi,
    The statement <b>RAISE NO_MORE_DATA</b> should be active (uncommented) in your code. Otherwise, the infinte loop occurs.
    See also, the Siggi's blog:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    BTW, was it your thread here:
    Re: Urgent: problems in extracting Long Text
    Best regards,
    Eugene

  • Problem in Idoc creation in ME22N

    Hi All,
    We are facing a problem in Idoc creation in transaction ME22N.Our requirement is to trigger an output type and create a idoc everytime a change is made to a particular Purchase Order.
    Presently however,for some vendors,when we change the plant at the item level,an Idoc is not created(with a message that the changes are not relevant to create an Idoc).Any other change to the Purchase Order like changes in quantity or price,results in successful Idoc creation.
    We have also noticed that this happens only in the case of certain vendors.The Customer Info records and vendor data are all believed to be fine.
    Are any other config settings required to be maintained for this?
    Thanks in advance!
    Regards,
    Nejuma Iqbal

    Hi Nejuma,
    I don't think there is any problem with cofiguration settings.u r getting the idocs for some vendors .
    if iam not wrong u r giving LS in the tcode(we20).The method which u r using is change pointers.As u r using standard idoc all the settings will be done.
    Only settings u have to do is
    1>generate partner profiles(WE20)
    2>Distribute model view(BD64).
    REGARDS,
    Nagaraj

  • HR Programming :  Problem with IDOC HRMD_A

    Hello ,
    We use Idoc HRMD_A for transferring PA records from
    one R3 system (ECC5) to another R3 system (46d).
    We have a problem - The Idoc doesn't check the data
    inserted against the database check tables and
    inserts wrong values into the target system database.
    (At least that what has happened when we transferred
    wrong value of MASSN in 0000 records).
    Is there something we can do ?
    Maybe - Some flag we can sign in order a check against check tables will be done ?
    Is it a problem with this IDOC ?
    Thanks .
    I appreciate any help.
    Nitzan S.

    Consultancy note 134085 :
    "Ultimately you are responsible for consistency of this data. SAP saves this data directly on the database without checking the single fields and consistency of the data records (time constraints check, writing change pointers, value check) because the consistency for an R/3 - R/3 lingage is of course ensured."
    The IDOCs were intended for R3->R3 data replication, and not for data loads/interfacing. Since you're having problems, I'm guessing in addition they require the same SAP version as well.

  • Problem with IDoc scenario - IDocs do not aarive to XI

    Hi guys!
    I have a problem with IDoc->XI->File scenario. Colleagues send IDocs from R/3 and they are not in the XI. In R/3 they look like if they were correctly sent, however, I can not see them in sxmb monitor. BUT, when they send them again explicitly from R/3 (t-code WE19), they arrive...
    REALLY strange...
    Any suggestions?
    IDX2 metadata loaded.. I think, all needed settings are done.
    Question - do I need to set up LS in XI ABAP part?
    Thanx, Olian!
    P.

    Hi Olian ,
    just check if u have followed all the following steps
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2) a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name
    Regards,
    AshwinM

  • Urgent problems with image viewing on my 20 inch Cinema display???

    I have a very urgent problem concerning my Apple Cinema 20 inch Display and my SpyderPro2 on my Mac Pro Intel Dual Core Xeon 2x 2.66GHz.
    I have been using the Spyder for some years now, but recently I have been having big problems with the results.
    I have a major contract with a jewellery company in London, where I clean up digital photos. Images that I have lightened up to look great on my Cinema Display have been reported by my client to look pretty dark on their PC's in their offices.
    Some of these images show lines and grubby patches??? To check this I opened files in Photoshop and moved the levels 'black' slider down quite some way, and did see evidence of what the client could see at their end? It seems that when I have used a faded eraser brush it leaves a light patch in between the shadows of the jewellery. This shouldn't be visible to the naked eye though?
    I must point out that when I use the eyedropper tool on images, to read the amount of grey or colour in the white areas around the peices, I am shown values of 1,2 or 4 maximum in the CMYK values. 4 percent out of 100 is nothing and should not be visible to the naked eye?
    How is it that my clients PC's can see dark shadows and where my eraser brush has rubbed out???
    I have tried many re-calibrations and also tested all of my older calibrations dating back a few years. I have also tested the same faulty images on Intel iMac's, an eMac, and a few PC's. On the iMac's I can just about make out the artefacts that my client can see, but nothing that I would deem as unacceptable.
    I am at a loss as to the fault, but It may be the Spyder2 Pro's inability to calibrate my Apple Cinema display properly? I may lose my contract which I cannot afford to do, and I simply have to find the cause ASAP.
    I have my Mac's in my office apartment next to two bay windows. I have vertical blinds there. When calibrating I have always turned off all the lights and pulled the blinds right back so that only the light from the two large window doors is coming in.
    For graphic design the calibrations seemed to be okay for quite some time, but recently it is getting harder to achieve good results with the Spyder? This could affect all of my workflow which is very serious. But I must stress that overall the Spyder results are not terrible. I can see good colours and dark levels and in general across all of my calibrated profiles, the jewellery looks acceptable on my Cinema Display?
    I did say to my clients that they should calibrate their PC screen properly but their offices have many Screens and they all show the same artefacts (some much worse than others)? I know that PC Screens are darker than Mac's but a 4% grey should not be visible????
    As these are a web company the images will be seen by PC users around the world and most of these will have no calibration on their screens. What can be done to prevent this and what is the cause of this? I can't possible please everyone, but as a creative professional I have to be 100% certain that my workflow is at its best.
    I need urgent help to solve this or loose valuable business? I hope that you are able to help solve this mystery.
    I have just purchased the new Spyder3 Pro which I hope will give perfect results but I have to find out what the cause of this is. If some of the fault lies with the client, I can charge these for all the testing and calibrating I have done.
    Kind regards,
    Jason Conway
    ideo-sync - inspired design.

    One thing you might want to try adjusting is the gamma setting in Displays Preferences color calibration area. Macs typically are set at 1.8 but PCs will often use 2.2. That could account for the difference.

  • Problem sending IDOC DESADV  /AFS/DELVRY03 to XI

    Hi Gurus,
    I have problems sending IDOCs DESADV (basic type /AFS/DELVRY03) created by function LSEND_IDOC to XI system. IDOC is correctly created by R3 system (AFS ECC 5.0) and correctly sent on the XI port (Status: Data passed to port OK - 03), but XI system doesn't receive IDOC.
    If I resend the same IDOC by WE19 tcode goes ok!!
    In R3 sending system nothing warnings/errors in syslog or sm58.
    Any suggests? Thanks in advance.

    Issue solved! It is necessary close the master idoc with a commit

  • Urgent problem, mate

    Hello experts:
         Thank you in advance for all your replies.
         there is a function--- ENQUEUE_EFPAYR failed  with exception 8, who know the possible reason,   how a function raise an exception, how to locate where it is , search by raise ?  please
    help me with that urgent problem .
          couldn't thank you more.
    Best regards.

    Hi,
    The ecxeption no 8 corresponds to the 8th exception that is listed in the exception tab of the FM when you open the FM in SE37.
    Exceptions are raised inside the FM . The syntax is 'RAISE <EXCP> .' where <EXCP> is the name of exception.
    For the enque FMs if you search for term 'raise'  in the code you may not find the place where it is raised, as this FM calls some forms within it that are not part of the function groups so cannot be searched directly. You can debug it with breakpoint at statement 'RAISE' to locate it.

  • URGENT Problem with Greek Character from an Oracle database

    Hello, I am having a serious and urgent problem with the character settings of an oracle database (8.1.7). The database is sitting in a solaris unix server and when we run the env command we have the following in the NLS_LANG parameter: AMERICAN_AMERICA.WE8ISO8859P1 (I do not know if this is helpful). When I retrieve data from oracle database (through a VB.NET 2005 program)to a dataset I use a special font in order to see the greek characters (HELLASARIAL). But when I am trying to save these data to a TXT file the greek characters are like Chinese to us. I tried several encodings (System.Text.Encoding.GetEncoding(869)) but without success. Can someone tell me how to convert the oracle greek characters during the selection or during the saving to the TXT file?
    Please respond as fast as you can.
    Thanks in advance

    Here is the answer of the microsoft:
    I have the information that you have a VB.Net 2005 application connected to an Oracle database 8.1.7.4 hosted on a UNIX server.
    This database has the CharacterSet WE8ISO8859P1.
    When retrieving Greek characters from this database in the application, you cannot see them.
    Could you please send me a screenshot of these characters in the .Net application?
    Are they displayed as gibberish, or as inverted questions marks (?)?
    I already had similar cases with Hebrew characters hosted on an Oracle database.
    These characters were displayed as questions marks on the client side.
    This is due to the fact that System.Data.OracleClient is using the Server CharacterSet to display the characters.
    If your Greek characters are not stored in the WE8ISO8859P1 characterset, then they won’t display correctly on the client-side.
    This is different from OLEDB where you could interact on client side by modifying the NLS_LANG parameter in the registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0.
    The client NLS_LANG and the server CharacterSet had to match in order to correctly display the data, and avoid SQL*NET conversion.
    So there are two solutions to your case:
    - The first one is to create a new database using the P8 characterset. The Oracle .Net managed provider will so be able to use it and display the characters correctly.
    - The second one is to use the OLEDB.Net managed provider, and then use OLEDB for Oracle provider. OLEDB will take care of the client NLS_LANG registry parameter.
    Would it be possible to test your application against an Oracle database with WE8ISO8859P8 characterset?
    Would it be possible to test it with the OLEDB .Net managed provider, and after checking the NLS_LANG client registry parameter?

  • *URGENT* Problem in SOP

    Dear gurus, 
    We face a very urgent problem in our Sales & Operations Planning, any help is greatly appreciated.
    We created a planningtype based on an underlying infostructure. (trx MC8A)
    The problem we now have is that some numbers that we see in the infostructure table (using trx SE16), do not appear in the planningtype with trx MC94/MC95.
    How is this possible??
    Thanks for your thoughts!
    Rgds, AJ

    Problem solved itself. As always: masterdata..!

  • Urgent problem: grouping by fields of internal table

    Hi friend,
    i have a urgent problem and i hope that you can help me out:
    i have an internal table containing data, and i sorted it by 3 fields.
    now what i want to do is kind of grouping that means that all the lines that are the same should be written into another internal table like this:
    A
    A
    B
    B
    B
    C
    D
    would give me:
    A                       1
    A                       1
    B                       2
    B                       2
    B                       2
    C                       3
    D                       4
    How could i do this ( especially avoiding nested loops ? ) Is there a handy trick to do this efficiently ?
    thank you, i will give points immediately,
    Clemens

    Hello,
    The field position is important for the fields that are using in the control break statements..Also SORT internal table is required.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb381a358411d1829f0000e829fbfe/content.htm
    DATA: BEGIN OF ITAB OCCURS 0,
    MATNR TYPE MATNR,
    WERKS TYPE WERKS_D,
    VALUE TYPE NETPR,
    END OF ITAB.
    ITAB-MATNR = 'ABC'.
    ITAB-WERKS = '0100'.
    ITAB-VALUE = '10.00'.
    APPEND ITAB.
    ITAB-MATNR = '1ABC'.
    ITAB-WERKS = '0100'.
    ITAB-VALUE = '10.00'.
    APPEND ITAB.
    SORT ITAB BY MATNR WERKS.
    LOOP AT ITAB.
    AT FIRST.
      WRITE : 'AT FIRST'.
    ENDAT.
    AT NEW MATNR.
      WRITE : 'AT NEW MATERIAL NUMBER'.
    ENDAT.
    AT END OF MATNR.
      SUM.
      WRITE: / ITAB-MATNR, 'MATERIAL TOTAL - ', ITAB-VALUE.
    ENDAT.
    AT END OF WERKS.
      SUM.
      WRITE: / ITAB-WERKS, 'PLANT TOTAL - ', ITAB-VALUE.
    ENDAT.
    AT LAST.
      WRITE : 'AT LAST'.
    ENDAT.
    ENDLOOP.
    Regards,
    Deepu.K

Maybe you are looking for

  • Firefox always opens a new window with ad.yieldmanager

    As soon as i click on an image or other views on a website firefox opens a new tab with adyieldmanager and i cant get rid of it.

  • CD/DVD player not working (Toshiba Satellite L875d-S723​2)

    I purchased a  (Toshiba Satellite L875d-S7232) on August 17, 2012 from a major retailer. Recently, the CD/DVD player will not play, or even recognize, commercially produced DVD movies. As a consequence, I cannot rent or buy movie DVDs, nor will any o

  • XI Messages

    Hi Experts,    I am working on XI administration. I have a number of Messages in Schedules/Ready status in sxmb_moni.  These messages are not being processed. I want to delete the messages which are in Ready/Schedules status and I want to clear all q

  • Problem in cockpit presentation

    hi all, I created a cockpit with one wall->one logical view->one frame.The frame has been assigned query with Reports and Links. I have released the cockpit for presentation, also i have made the query OLAP enabled through query properties and have a

  • Photos app error "iCloud Storage is full"

    i'v been uploading my photos all week long, i have 200gb on iCloud but its saying that its full when i have 100gb+ left still. i had an unpaid iTunes bill penning for like 2 days which i thought was the problem but its payed now and everything thing