Urgent .. SM58 query

Hi All,
I have an error in SM58 saying the "Obligatory node 'YMMSMBEW' missing in the structure YMMIMBEW" in the function module IDOC_INBOUND_ASYNCHRONOUS and target system is the XI system. Could anybody please guide me to get to the root of this problem.
YMMIMBEW is the basic type which has a mandatory segment YMMSMBEW. This segment is not getting populated and so is the error that is shown up..Is there a way out to go to the point where this segment might (should) be getting populated.
Please help..this is an urgent issue..
Thanks in Advance..!!
Regards,
Smita

Hi,
First find out the relevant Function Module from WE57 tcode.
After getting the FM , u see the sorce code mentionjed in the FM which will fill the relevant Segmnets.
Also check the code whtehr  it fill the mandatory segment YMMSMBEW.
Mostly this logic is missing in that FM.
Rvert back if any issues,
Regards,
Naveen

Similar Messages

  • Urgent Need: Query is taking time

    Hi,
    I have a query which is taking lots of time.Please help me in this regard...
    select subscripti0_.RENTAL_ID as RENTAL1_101_0_, movieprodu1_.product_id as product1_45_1_, moviepacka2_.PACKAGE_ID as PACKAGE1_47_2_, movietitle3_.TITLE_ID as TITLE1_48_3_, subscripti0_.LOGICAL_QUEUE_POSITION as LOGICAL2_101_0_, subscripti0_.STATUS as STATUS101_0_, subscripti0_.RENT_CODE as RENT4_101_0_, subscripti0_.IS_VISIBLE_FLAG as IS5_101_0_, subscripti0_.SHIP_DATE as SHIP6_101_0_, subscripti0_.DATE_CHECK_IN as DATE7_101_0_, subscripti0_.SET_NBR as SET8_101_0_, subscripti0_.ALLOCATION_DATE as ALLOCATION9_101_0_, subscripti0_.USPS_SHIP_DATE as USPS10_101_0_, subscripti0_.CENTRAL_CHECKIN_DATE as CENTRAL11_101_0_, subscripti0_.ESTIMATED_ARRIVAL_DATE as ESTIMATED12_101_0_, subscripti0_.CREATED_BY as CREATED13_101_0_, subscripti0_.CREATED_DATE as CREATED14_101_0_, subscripti0_.UPDATED_BY as UPDATED15_101_0_, subscripti0_.UPDATED_DATE as UPDATED16_101_0_, subscripti0_.SUBSCRIPTION_ID as SUBSCRI17_101_0_, subscripti0_.MOVIE_ID as MOVIE18_101_0_, movieprodu1_.ONLINE_RELEASE_DATE as ONLINE2_45_1_, movieprodu1_.PRODUCT_TITLE as PRODUCT3_45_1_, movieprodu1_.PACKAGE_ID as PACKAGE4_45_1_, movieprodu1_1_.AVAILABILITY_BAND as AVAILABI2_46_1_, movieprodu1_1_.TOTAL_RENTABLE_INVENTORY as TOTAL3_46_1_, NVL(movieprodu1_.ONLINE_FLAG, 0) as formula0_1_, NVL(movieprodu1_.PRIMARY_PRODUCT, 0) as formula1_1_, moviepacka2_.TITLE as TITLE47_2_, moviepacka2_.dvd_release_date as dvd3_47_2_, moviepacka2_.FORMAT as FORMAT47_2_, moviepacka2_.PACKAGE_MPAA as PACKAGE5_47_ 2_, moviepacka2_.T_ARTICLE as T6_47_2_, moviepacka2_.TITLE_ID as TITLE7_47_2_, movietitle3_.TITLE as TITLE48_3_, movietitle3_.THEATRICAL_RELEASE as THEATRICAL3_48_3_, movietitle3_.TITLE_MPAA as TITLE4_48_3_, movietitle3_.LEGACY_ID as LEGACY5_48_3_, movietitle3_.AVERAGE_USER_RATING as AVERAGE6_48_3_, movietitle3_.RUNNING_TIME as RUNNING7_48_3_, movietitle3_.PRIMARY_PACKAGE_ID as PRIMARY8_48_3_, movietitle3_1_.BUY_NEW as BUY2_49_3_, movietitle3_1_.BUY_USED as BUY3_49_3_, movietitle3_1_.RENT_DOWNLOAD as RENT4_49_3_, movietitle3_1_.BUY_DOWNLOAD as BUY5_49_3_, NVL(movietitle3_.HAS_RENTABLE_PRODUCTS, 0) as formula3_3_ from SUBSCRIPTION_RENTAL subscripti0_ inner join ACTIVE_MOVIE_PRODUCT movieprodu1_ on subscripti0_.MOVIE_ID=movieprodu1_.product_id left outer join PRODUCT_AVAILABILITY movieprodu1_1_ on movieprodu1_.product_id=movieprodu1_1_.MOVIE_ID inner join ACTIVE_MOVIE_PACKAGE moviepacka2_ on movieprodu1_.PACKAGE_ID=moviepacka2_.PACKAGE_ID inner join ACTIVE_MOVIE_TITLE movietitle3_ on moviepacka2_.TITLE_ID=movietitle3_.TITLE_ID left outer join MOVIE_TITLE_ATTRIBUTES movietitle3_1_ on movietitle3_.TITLE_ID=movietitle3_1_.TITLE_ID where subscripti0_.SUBSCRIPTION_ID=:1 and subscripti0_.DATE_CHECK_IN>:2 and (subscripti0_.DATE_CHECK_IN is not null) order by subscripti0_.DATE_CHECK_IN DESC
    Explain Plan for this query:
    OPERATION OBJECT_NAME OPTIMIZER COST BYTES CARDINALITY CPU_COST IO_COST
    SELECT STATEMENT ALL_ROWS 148 1570 5 10090819 147
    SORT 148 1570 5 10090819 147
    NESTED LOOPS 147 1570 5 1237900 147
    NESTED LOOPS 142 1530 5 1191042 142
    NESTED LOOPS 141 1470 5 1174111 141
    NESTED LOOPS 129 1398 6 1073114 129
    NESTED LOOPS 117 1062 6 968996 117
    PARTITION HASH 111 732 6 911328 111
    TABLE ACCESS SUBSCRIPTION_RENTAL ANALYZED 111 732 6 911328 111
    INDEX INDX_SUB_RENTAL_SUB ANALYZED 3 10 43164 3
    TABLE ACCESS MOVIE_PRODUCT ANALYZED 1 55 1 9611 1
    INDEX PK_MOVIE_PRODUCT ANALYZED 0 1 1900 0
    TABLE ACCESS MOVIE_PACKAGE ANALYZED 2 56 1 17353 2
    INDEX PK_MOVIE_PACKAGE ANALYZED 1 1 9021 1
    TABLE ACCESS MOVIE_TITLE ANALYZED 2 61 1 16833 2
    INDEX PK_MOVIE_TITLE ANALYZED 1 1 9021 1
    TABLE ACCESS MOVIE_TITLE_ATTRIBUTES ANALYZED 1 12 1 9331 1
    INDEX PK_MOVIE_TITLE_ATTRIBUTES ANALYZED 0 1 1900 0
    TABLE ACCESS PRODUCT_AVAILABILITY ANALYZED 1 8 1 9371 1
    INDEX PRODUCT_AVAILABILITY_PK ANALYZED 0 1 1900 0
    I need the help very urgently. Kindly give me the solution immediately.
    Edited by: msora on Feb 10, 2009 3:19 AM

    msora wrote:
    Thanks Ozy,
    The query is using joins instead of subquery. The statistics are latest. the query is using indexes too.the optimzer_mode is all_rows.
    Now, you tell me what hint i should use to optimize this query?
    Thanks and Regards,
    MSORAHmm, urgent, immediately, its not Support MSORA. Be patient while asking for help or if its really urgent, open an SR with support.
    Your query is not able to be read. Format it using the { code }( without spaces) and post it. Also there is no such thing that you can just put any hint and query will be tuned. Trace your query with 10046 trace( search this forum for that) and paste its output here.
    Aman....

  • Urgent Sql Query Problem - -Very Urgent

    Hi Guys,
    I need a urgent solution for a problem.I am
    using the following query
    select ename from emp where deptno =10
    Now I will declare a bind variable and if user passes 'A'
    then the query will run as it is and if he passes B
    then it should run the above query with this additional clause -> birthdate - hiredate >15.
    Please can any one help its very urgent

    Assuming that you have a birthdate column in your emp table, the following will do what you are asking for:
    VARIABLE bind_var VARCHAR2(1)
    EXECUTE :bind_var := '&bind_variable'
    SELECT ename FROM
    (SELECT 'A' AS selection, ename FROM emp WHERE deptno = 10
    UNION ALL
    SELECT 'B' AS selection, ename FROM emp WHERE deptno = 10 AND birthdate - hiredate > 15)
    WHERE selection = :bind_var
    However, the clause "birthdate - hiredate > 15" will only retrieve rows for employees who were born more than 15 days after they were hired. I doubt that this is what you really want, since this is impossible.

  • Very Urgent: SQL Query Help

    Hi,
    I have a table which has location ID and text for these locations are stored in a seperate table.
    I am running query on table which has location ID but for every location I want it display its text which is stored in another table.
    How can this be done with SQL? This is a bit urgent, please help.
    Thank you,
    Raja

    might be a good idea to improve basic SQL knowledge by reading
          http://tahiti.oracle.com
          http://oreilly.com/catalog/9780596006327/index.html
          http://asktom.oracle.com
          ... whatever ...will give you some new insight about something very urgent

  • Urgent: InfoSet Query Problem

    Hi:
    I have a question related to the InfoSet issue I have been experiencing.
    I have a SD ODS which has e.g Material, Cal Year/Month and Sales Qty, Sales Amt. I have another ODS which contains BOM (Bill Of Material Data) consists of Material, Components and Qty for each component. I created an InfoSet by using material as join field between this. When I created a query it shows report as shown below.
    Material     Component     Sales Qty      Sales Amt     BOM Qty
    111           AAA              1000          500          50
    111           BBB              1000          500          20
    111           CCC               1000          500          10
    It means It keeps sales Qty for each component so at aggregated level my sales qty and amt is 3000 and 1500 resp. Which is not correct. What can I do in order for Sales Qty & Sales Amt not to repeat. Any help will be appreciated.

    Hi,
    One way to get your correct values is by using formulas for sales quantity ands sales amt:
    sales qty formula = sales qty * BOM Qty / SUM(BOM Qty)
    in this way you will get
    111 AAA 625 312,5 50
    111 BBB 250 125    20
    111 CCC 125 75,5  10
    Cioa
    Joke

  • Urgent-Multiprovider Query

    Hi Experts,
    I have a Multiprovider on Purchasing Cube(0PUR_C01),General Ledger ODS(0FI_GL_O02)and Material Movement Cube.(YCPS_MOVE).
    Issue 1
    Currently the query is restricted by Company Code,when we do that the 0Vendor and 0Batch information from Material Movement cube is not being displayed.
    Issue 2
    When not restricting the query, i do get the 0Vendor and 0Batch info on the report.But the keyfigures(all of them from GL ODS ) are shown as parsed.
    This is how my output looks like currently.
    Ex:
    Plant  PO     Material  Vendor  Batch    GR Debit quantity  GR quantity GR variance
    03      6605     12          69        3007
             #             100Kg                 100KG       30.31 USD   
    Is there any solution to get the keyfigures into the same row.If so please pass on the solution.
    Thanks in advance.

    Hi Anil Kumar,
    Thanks for the suggestion.Points duly assigned.But now i have another situation,i have used infoset on GL ODS and MM Cube.
    in situations with item having multiple batches or Vendors,and in such situation i am getting same KFvalue in every row and the total of this obviously wrong.Is there any solution to get only one record for keyfigure value or correct the total.
    Example:
    Plant  FiscYr/Period    PO    Item  Material   Batch    Vendor   GRVariance  
    0353     001/2006       4500    10     104         19207    1007        -$3935
    0353     001/2006       4500    10     104         19208    1007        -$3935
    0353    001/2006        4500    10     104        19208     1008         -$3935
    The KF GR Variance is from GL ODS,is there any solution that i can have only one value or get the correct total for that particualt column.
    Please advice.
    Thanks in advance

  • URGENT (sql query not execute)

    Hi Forum
    i made an application which run on JRun server.
    In many of my jsps i used sql query like this:
    " select id, name, rollno from student where add = 'jj';"
    and retrieve the record from resultset like this:
    rs.getString("id");
    rs.getString("name");
    rs.getString("rollno");
    I got no error.
    BUT WHEN I RETRIEVE THE RECORDS LIKE THIS
    rs.getString("name");
    rs.getString("id");
    rs.getString("rollno");
    i got the error:
    java.sql.SQLException: [Oracle][ODBC]Invalid column number <1>.
    I can not understand what is the problem ?
    all the datatypes are correct.
    all coding is correct.
    and everything is correct.
    pls help me & suggest a solution.
    is there any problem of jdbc API OR of JRUN SERVER SETTINGS?
    thanks
    mail me at [email protected]
    Arvind Goel

    " select id, name, rollno from student where add =
    'jj';"
    BUT WHEN I RETRIEVE THE RECORDS LIKE THIS
    rs.getString("name");
    rs.getString("id");
    rs.getString("rollno");
    You are retrieving the fields in a different order than what is specified in the select statement.
    Some drivers don't allow that (I don't believe it matters what version of the driver you have.)

  • Urgent(sq01) query

    Hi friends
      I have generated a report using SAP query(sq01).can any one tell me how can i  make the selection fields obligatory here.
    Regards
    Bunty.

    Hi
    I think You can't make them as Obligatory
    see this
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
    ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
    To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
    use either SQ02 ans SQ01
    or SQVI tr code
    for more information please go thru this url:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://goldenink.com/abap/sap_query.html
    Please check this PDF document (starting page 352) perhaps it will help u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    check the below link will be helpful for u
    Tutorial on SQVI
    once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
    Reward points if useful
    Regards
    Anji

  • Urgent , Two Query questions ...

    Hello everybody ,
          i have created a query in our production system . but i found some people can change my query setting (ex : my local fileds & selection fields ) , has any one can tell me how can i disable the 'Change' function in 'SQ01' ? many thanks !
    (i also use 'su24' to check the authorzation object in 'SQ01' , but i don't know which one can help me to solved this case)
          another question that is when i execute the query i found one of the field's sequence was wrong . but this query is used everyday & nobody has changed it . but when i use  sort this function to make it & it seems ok . therefore i think the problem is in the table index , right ? Has anyone can tell me how to check it ?
    Best Regards,
    Carlos

    hi Ramki
         the query is made by ourselves . the data is only fetched from the billing table (vbrk & vbak) . but today i found some filed's sequence was wrong & i don't know what cause this .
    another problem is that could you tell me how to disable 'Change' function in 'SQ01' ?
    many thanks ~
    Best Regards,
    Carlos

  • Urgent Required Query !!

    update
         ttfgld102777
    set
         t_amth_2 = (t_amth_2 + @diff)
    where exists
         ( select t_amth_2 from orabaan
         where
              t_dbcr = 1
              and t_btno = @batch
              and t_ttyp = @ttype
              and t_docn = @doc )
    I want to add for each 't_btno' clause in the where clause to auto update all records..
    ex t_btno is between 1 and 10000

    First off your use of the word "urgent" is offensive and deserves an apology. "Urgent" is when your house is on fire or someone is drowning. There is no urgency to your request.
    Second you didn't post an Oracle version number which is a strong indication you are just a student.
    Third your DML is written in Microsoft's/Sybase's SQL and has no meaning in Oracle.
    What you need to do is write the business case, in English or pseudo-code, so that we understand what you are trying to do.
    My guess is that you could easily do this using Oracle's CONNECT BY:
    http://www.psoug.org/reference/connectby.html
    but I am not inclined to offer a proposed solution given that your intent is unclear.

  • URGENT:SELECT QUERY

    I have this query:
    select t.f1,t.f2,mn.f1 from t,mn
    where t.f1=mn.f1 and t.f3=mn.f4
    if t.f3 become NULL the query doesn't have any result but
    the first condition is the most important.
    how should I write this query??
    please help me.
    thanks Friends,
    Nastaran.

    select t.f1,t.f2,mn.f1 from t,mn
    where t.f1=mn.f1
    and (+)t.f3=mn.f4
    or
    select t.f1,t.f2,mn.f1 from t,mn
    where t.f1=mn.f1
    and t.f3=mn.f4
    and t.f3 is not null

  • Urgent: Bex query

    Transported Bex query, now when execute this query it gives message that Initial RANGE-LOW for customer exit variable ABC corrected to #.
    Any suggestions to fix this.
    Points will be assigned.
    Thanks
    MK

    Hi
    I suggest you to transport the query newly
    The reason is some query related modifications done in customer exit..or variable might not have captured properly
    So transport them along with the query and error will not occur
    Assign points if useful
    Thanks
    N Ganesh

  • Urgent SQL query help

    Hello,
    I need help with SQL... My database version is Oracle 10g Release 1.2.
    I have two table with the exact same structure as follows...
    create table t1(cust_id number(5), zone_number number(2), part_number varchar2(10))
    create table t2(cust_id number(5), zone_number number(2), part_number varchar2(10))
    I need a query that would give me two counts per pairs of customer between t1 and t2..
    1.Count of part_number matches between the same zones in table 1 and table 2 for pairs of customers
    for Customer 1 and 10 for zone 1 this total shoulb be 2 because between cust 1 and 10 for Zone 1 there are two part number matches A and B.
    for Customer 1 and 10 for zone 2 this total shoulb be 0 because between cust 1 and 10 for Zone 2 there are no part number matches
    for Customer 1 and 20 for zone 1 this total shoulb be 0 because between cust 1 and 20 for Zone 1 there are no part number matches
    for Customer 1 and customer 20 zone 2 this total shoulb be 0 because between cust 1 and 20 for Zone 2 there is one part number matches , which is 'F'
    for Customer 1 and customer 20 zone 3 this total shoulb be 0 because there is no zone 3 for Customer 1
    same way
    .. cust 2 and cust 10 Zone 1 counts and zone2 counts
    .. for 2 and cust 20 zone 1, 2, and 3 counts
    2. Total unique Part nmbers between the same zones for pairs of customers in table 1 and table2
    for example
    unique part numbers between cust 1 and 10 for zone 1 are A,B and C so the count should be 3
    unique part numbers between cust 1 and 10 for zone 2 are B,F, D and E so the count should be 3
    unique part numbers between cust 1 and 20 for zone 1 are A,B,C and G so the count should be 4
    and so on so forth
    insert into t1 values(1, 1, 'A')
    insert into t1 values(1, 1, 'B')
    insert into t1 values(1, 1, 'C')
    insert into t1 values(1, 2, 'B')
    insert into t1 values(1, 2, 'F')
    insert into t1 values(1, 2, 'D')
    insert into t1 values(1, 2, 'E')
    insert into t1 values(2, 1, 'F')
    insert into t1 values(2, 2, 'G')
    insert into t1 values(2, 2, 'H')
    insert into t2 values(10, 1, 'A')
    insert into t2 values(10, 1, 'B')
    insert into t2 values(10, 2, null)
    insert into t2 values(20, 1, 'G')
    insert into t2 values(20, 2, 'F')
    insert into t2 values(20, 2, 'H')
    insert into t2 values(20, 3, 'I')
    insert into t2 values(20, 3, 'J')
    My query result should be as follows...
    cust1 cust2 zone pn_match_count total_unique_pn_count
    1 10 1 2 3
    1 10 2 0 4
    1 20 1 0 4
    1 20 2 1 5
    1 20 3 0 2
    2 10 1 0 3
    2 10 2 0 2
    2 20 1 0 2
    2 20 2 1 3
    2 20 3 0 2
    I would really appreciate your help in writing this query.
    Thanks in Advance

    user00 wrote:
    No, that doesn't do it... I get no results with this query becuase the Cust_id in table 1 and table 2 are not the same.Yeah, I only realised that after I posted my query. I had interpreted pairs as "matching pairs" when what you meant was "permutations".
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • URGENT: Simple Query Returning Unexpected Info

    Using the Oracle XSU for Java and one of the samples, i'm doing a simple select * from table. Everything is executing properly, however, the string output of the XML just returns what is documented in the release notes - that is a XML header and "</ROWSSET>".
    No information is displayed and yes there is some in the table. What am I doing wrong? Do I need to format the sql query better?

    I figured it out by myself. I didn't load into that particular database the java classes for XSU. Once I ran the .bat file that comes with the install: oraclexmlsqlload.bat (customizing it for my database), the OracleXML getXML worked fine.
    - jason

  • URGENT SQL QUERY QUSTION

    Hi I have two tables store_product and store_category and store_orders...
    I have query which involves joins of store_product,store_category and store_order..
    for .eg
    select a.product_name,b.category_name,c.order_id where
    a.category_id=b.category_id and a.category_id in (20 )
    Some one suggested if we change
    select a.product_name,b.category_name,c.order_id where
    a.category_id=b.category_id and b.category_id in (20 )
    Then this query will run faster.....
    store_category has about 500 records
    store_product has about 5000 records
    Any suggestion appreciated...

    Hi
    I am assuming that your table a is containing primary key and ur b table is cintaining foreign key.
    when join take place a virtual table is created contaning m * n rows
    m = number of rows following join criteria for table a
    n = number of rows following join criteria for table b
    when the line containing a.category_id is executed then table a is searched for each entry in virtual table which is small.
    when the line containing b.category_id is executed then table b is searched for each entry in virtual table which is large.
    number of iteration will be more for large table
    the best example is when query optimizer is performing join in nested loop.
    Regards
    Juned

Maybe you are looking for

  • Bit Locker Data retrieval forgot key and password

    Hi All, I am using Windows 7 utlimate version and unfortunately i forgot my password and key as a result of which i cannot retrieve my data . Can anyone please tell how to recover data without using password and recovery key

  • ITunes to iPhone - iPod movie dates inconsistent

    I haven't noticed it until a few weeks into iPhone 4. Transferring videos to iPhone becomes out of date. On iTunes they are dated what they are (9/29/09) (7/30/10) (8/3/10). At first I thought it was EyeTV to iTunes causing issues, but the iTunes dat

  • Multiple DML Processes On Same Table

    Would it be possible to do multiple DML operations on a single table, in Oracle 11.2.0.3.0 version of database sitting on Linux. I want to implement 2 or more parallel processes writing data into the same table at same time and the data written by ea

  • How do I update my InDesign plug-ins?

    How do I update my plug-ins or my current version of InDesign CS4? I need to do this to open a document for my school newspaper. My computer won't open the document until I update the plug-ins or my version of InDesign. Will this cost money?

  • Oracle 12c em express

    I am used to working with database control in Oracle 10g and Oracle 11g.  Now I have an Oracle 12c and created em express as part of db creation. I foind that EM express does not have all the functionality of DB Control; i.e.. I cannot see awr report