Delivery Output Not picking correct condiotion

Hi All,
As per my clients requirement I have created a new condition with Shipping Point/Sales Document Type/and Material for Delivery out put,the other two conditions being , Shipping Point/Sales DocumentType & Shipping Point/Delivery Type I placed the new condition in first place in access sequence followed by the remaining two, and created condition records for all the three with different printers for each of them.
Now when am creating delivery always the second condition i.e,Shipping Point/Sales DocumentType is getting picked ahead of the first one, it is happening that if am checking the item data in the delivery then it is automatically changing to the first condition type, please suggest how to make the system to read the first access.
P.S :Tried  Requirements & not working
Thanks in Advance
Regards
Sekhar

Hi
I got IT
Regards
Sekhar

Similar Messages

  • Profit center not picking correctly in PO from sales order

    Hi Experts,
    Profit center is not picking correctly.. in PO
    In material master Profit center is configured as XXXX
    We have raised a sales order for the same material with two line items (e.g) 1500 kgs & 1600 kgs and profit center has been changed in the sales order to YYYY
    There is one purchase requistion for the same material with two line items
    But  we have raised two purchase order for each line item in which the same sales order is linked to these two purchase order.
    In the first PO , for the first line item in sales order ie., 1500 kgs profit center is picked from the sales order ie, XXXX which is correct but  in the second PO, for the second line item in sales order ie., 1600 kgs profit center is picking as YYYY ie which is configured in material master.
    What could be reason ? Help  in this regard will be highly appreciated.
    Thanks in advance
    Narayanan

    Hi Narayan
    Check the Account assignment in the 2nd PO.. Does it have E as Acct Assgn Category?
    It should have sales order as the account assignment... If yes, then it must pick up PC from the sales order...
    Try to put a deletion flag to this PO and create a new one, if possible... You would come to know if some one has changed the PC
    BR,Ajay M

  • Webi does not pick correct Data

    Hi Guys,
    I have a webi. The Universe for the Webi is based on  Bex Query. I see correct Data in Bex Query but when I create a webi report it does not pick correct data.
    I have checked following points already:-
    1] No Resstriction at Query Level
    2] No restriction at Universe Level
    3] No Filters/ Restriction at Webi Level.
    Can anyone suggest whats happening?
    Regards

    Hi Ray,
    It happens sometimes that data gets aggregated over all the dimension objects present in the 'Available Objects' section in webi.
    Try to pull only the characteristics present in the row section of the bex query say 'X' and measure in the column section of bex query say 'Y' into the results pane in the edit query window in webi.Then run the report and check.
    This will give you the idea about aggregation.
    Regards
    Vineeta

  • Outbound delivery output not re-determined during goods issue?

    Hi,
    i'm currently in the process of testing an SAP upgrade from 4.6B to ECC 6.0, and have encountered the following problem: one of our outbound delivery output types (LD00) is supposed to print out at goods issue (which happens in VT02N, by the shipment).
    In 4.6B, the output determination procedure correctly triggers at goods issue, however, in 6.0, it doesn't. Re-opening the delivery in VT02n causes the LD00 to be determined after all, but by then it's too late.
    Does anyone have the slightest idea why the output determination isn't re-evalutated at goods issue?
    regards
    Rob

    Hi,
    Perhaps you are using an own VOFM subroutine to do filters if the output works or no. You create this subroutine with tcode VOFM, and after some steps you create an include in a report of SAP (SAPL). You can check if you are setting a VOFM in SM34/VVC_T683_XX_E1 for the output scheme. Sometimes is necesary to run this report to create and activate the report sapl, if no, when the abap call the subrutine, SAP doesn't find (perform * if found)
    For VOFM there is a good document in google, format PDF, search it with the string inside vofm ext:pdf.
    I hope this helps you
    Regards,
    Eduardo

  • Color picker does not pick correct colors

    I have a Samsung Galaxy Note 10.1 with pre-installed PS Touch. Has anyone else noticed how the color picker doesn't always pick correct colors? In my case, it picks a slightly darker color than the source color. I wanted to upgrade to version 1.3 to resolve this, but cannot find any upgrade option anywhere. Please help!

    This screenshot is of a normal layer at opacity 100%. I first did a uniform color fill, then sampled the color. Every area of color, therefore, ought to be exactly the same, without any slight variation whatsoever.
    The two brushstrokes to the left are done with the brush hardness set at 20%, with no pressure related controls, the left-most one set at 20%opacity, and the one to the right of it set to 100% opacity.
    The two brushmarks in the middle are done with brush hardness set to 100%, again, no pressure related controls, the leftward one set at 20% opacity, the right at 100 %.
    The two to the right are again done with 100% brush hardness, but this time, pressure related opacity control has been enabled. The left is at 20% opacity, the right at 100%.
    As you can see, the center of each brushstroke seems to have thecorrect color. So I agree with georg_maximus. It appears that this issue is an opacity related one, rather than a color picker problem.

  • APP not picking correct numbers

    Hi,
    I assigned one number range (eg: 100 to 200) for two document types ZP and ZV.
    While running the payment program the system is picking the numbers differently.
    Eg:
    when i run payment run on 01.04.2007 the system is picking number ranges 100,101,102,103,105,106,108 etc.
    when i run payment run on 02.04.2007 the system is picking number ranges 104,107etc.
    the numbers 104 and 107 is not picking in the first payment run. why it is happenning
    this is the issue of client.
    REQUIRE URGENT SOLUTION
    Rgds
    sunfico

    Hi,
    Have a talk with your basis consultant for buffering number range's. For FI it should be 1!!
    Paul

  • Startup command not picking correct pfile

    Hi Guys,
    I am facing a problem. Whenever I try to start oracle on my Linux machine I get the foillowing error:
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/home/oracle/oracle/product/10.2.0/db_1/dbs/initARIES.ora'
    Actually the pfile mentioned is not the correct one. I do not know where it is taking the path from. I had to start using the following command:
    startup pfile=/home/oracle/oracle/product/10.2.0/db_1/admin/aries/pfile/init.ora.110200612140
    Please provide me some way that I need not to mention the full path of pfile everytime.
    Thanks

    You can also create the initARIES.ora file in the dbs directory (the database is searching there by default) and use the IFILE parameter to point to the file you actually want to use.
    It seems the file you currently using is the one created during installation. Doesn't you have an SPFILE??? Using an SPFILE has some advantages (faster startup, change parameter using alter statement). You can create one via create SPFILE xxx from PFILE. If you place it in the dbs directory oracle should find it automatically. Again no need to pfile in the startup command.

  • VL06I Inbound delivery monitor not showing correct results

    Dears,
    We are creating inbound deliveries on the basis of POs and creating GR via MIGO after eliminating movement type in line item catageory by using SPRO. For monitoring we would like to use VL06I but its not showing correct results.
    Can anyone guid me ?
    Regards,
    FR

    You can list all Inbound Deliveries by selecting "List Inbound Deliveries"  Tab in VL06I
    May be if you can little elaborate the issue

  • Report not picking correct data

    Is it possible for vendor aging report to dispaly for Particular Vendor the
    amount ( bsik-dmbtr ) using Purchase organization field.
    There are two Purchase Organizations C100 ( for CPU ) and D100 ( for Monitor ) in my case.
    data is picked from bsik , lfm1 ,lfa1 tables.
    Example : if D100 is for  Monitor-screen  and has amount 1000.
    c100 is for CPU  and has amount 2000.
    In that case report with Vendor , comp code, Pur. Orga and period should disply
    c100 amount 2000.
    D100 amount 1000.
    my report is showing that vendor is existing for C100 or D100.
    but for vendor that exist in both C100 and D100. ( Say vendor number 200 )
    the amount is coming for vendor number 200 in  c100 and d100    equal to   1000.
    but it should come c100 = 2000
    and for d100 = 1000.

    hi
    I am not sure about this point in vendor aging report. i have added a pur Organization field in this report.
    I am asking
    If vendor no 123 is in D100  and C100 ( D100 and C100 are Pur Organizations )
    Initially no transaction is there.
    Suppose vendor  no 123  created a Puchase Order of 500 /- using D100 Purchase Organization in duration 01.01.2008
    to 01.01.2009
    But vendor no 123 in Purchase Organization C100 has no transaction.
    Then 123 with D100 is sould show 500/-
    and 123 with C100 is 0 /-.
    output of this report should show above results ?
    If output is like this then how to rectify my report  ?
    Or it shoud show the result like this
    Then 123 with D100 is sould show 500/-
    and 123 with C100 is 500 /-
    My output is showing like above same
    Thanks

  • F.05-Curr Translation - System not picking correct accounts from FBKP (KDF)

    Hi FI Gurus,
    We are having  INR as Company Code Currency & USD as  Group Currency.
    We have given a diff set of accounts in FBKP-KDF for valuation and translation.
    When we run F.05 for translation with Currency Type 30, the system is correctly converting all INR line items into USD  but while posting the accounting document the valuation accounts are getting picked up instead of translation.
    In debug, we found out that the system requires Clearing Document to go for Translation accounts & if it gets the clearing document in line item then  it is picking up the  correct accounts.
    But then how the translation works for P&L accounts or balance accounts?
    What is the exact functionality of Translation? How postings can be generated to correct accounts?
    Regards
    AK

    Make the following entries in F.05 and execute.
    General Selections:
    1. Enter comany code
    2.Valuation Key Date
    3.Valuation  Method
    4. Valuation in Curr Type: 30
    Under Posting:
    1. If you are running it in a test mode, then do not check the boxes Bal. sheet preparation valuation and Create Postings.
    2. Enter document date, posting date and period
    3. Check the box: Reverse Postings
    Under Open Items
    1. Check Valuate G/L Account Open Items
    2. Specify your G/L Account Numbers
    3. Check the radio button: Valuate GR/IR
    4. Check the box: Valuate Vendor Open items
    5. Check the box: Valuate Customer Open Items
    Under G/L Balances
    1. Check the box: Valuate G/L Account Balances
    2. Specify your G/L Account Numbers
    Under Other
    In our system, we created a variant and entered it in the blank field next to List Variant.
    Under FASB 52
    1. Exch. rate type for translation: Enter your exchange rate type here.
    2. Check the box: Use for translation
    3. Translation of currency type: 10
    Execute your report.
    Point of Note: None of this would work if you have not configured your foreign currency valuation properly. To get FCV working can be very frustrating and you would need to take your time. We have been working on ours for almost 7months now so patience and more research would help.

  • CBO not picking correct indexes or doing Full Scans

    Database version - 10.2.0.4
    OS : Solaris 5.8
    Storage: SAN
    Application : PeopleSoft Financials
    DB size : 450 gb
    DB server : 12 CPU ( 900 Mghz each ), 36 GB RAM
    ASMM - sga_target_size = 5 gb
    Locally managed tablespaces - MANUAL
    - db_file_multiblock_read_count - not set explicitly in spfile ( implicitly defaulted to 128 )
    - other optimizer related parameters are set to default
    - system_statistics - CPUSPEEDNW=456.282722513089, IOSEEKTIM =10, IOTFRSPEED=4096     
    - dictionary object system stats were last gather in Nov 09
    - stats on schema objs are gathered every night using custom script, but I have to say there are some histograms on some tables which were gathered by PS admins
    begin
    dbms_stats.gather_schema_stats(
    ownname=> 'SCHEMANM' ,
    cascade=> DBMS_STATS.AUTO_CASCADE,
    estimate_percent=> DBMS_STATS.AUTO_SAMPLE_SIZE,
    degree=> 10,
    no_invalidate=> DBMS_STATS.AUTO_INVALIDATE,
    granularity=> 'AUTO',
    method_opt=> 'FOR ALL COLUMNS SIZE 1',
    options=> 'GATHER STALE');
    end;
    Details :
    We are experiencing erratic database performance. It was upgraded from 9i to 10g along with PS software upgrade. A job that runs on one day in 12 hrs(that is high in itself) would take more than 24 hrs another day.
    We have Test and Staging envs on other servers which do not have performance issues of production magnitude. The test, staging dbs are clones of prod, created by ftp'ing files from one location to another, not sure if that makes any difference but just pointing out.
    On Prod db some symptoms which baffle me are :
    1) sql executing for over 40 minutes, check the plan and it is using an "incorrect" index, idx1. Hint sql with "correct" index, idx2, and it runs in few seconds. result set <400 rows. Cost with hint with idx2 is HIGHER. This scenario is still understandable as CBO is likely to pick a lower cost.
    - But why is there so much discrepancy in cost and response time?
    - what is influencing the CBO to pick an index which is obviously not the fastest response time?
    2) sql plan shows FTS , execution time , runs forever . But a hint with index in this case shows the cost is LOWER and response time is in seconds, so why is CBO not even evaluating this index path? Because as I understand the CBO, it will always pick the lower cost plan.
    What is influencing the CBO. Is it system stats? or any other database parameter? or the hardware ? the large SGA?? histogram ?? Stats gathering?? is there is any known issue with DBMS_STATS.AUTO_SAMPLE_SIZE and cardinaility?
    Where should I put my focus?
    What am I looking for ?
    I do have Jonathan Lewis's Cost-Based Oracle Fundamentals which I have just started so perhaps I will be enlightened but while I read it, it would be of immense help to get some advice from forum gurus.
    At this time I am not posting any exec plan or code, but I can do so if required.
    Thanks,
    JC

    Picking up just a couple of points - the ones about: why can performance change so much from one day to the next, and how can the optimizer miss a plan which (when hinted) shows a lower cost.
    NOTE: These are only suggestions that may allow you to look at critical code and recognise the pattern of behaviour
    Performance change:
    You are using "gather stale" which means tables won't get new statistics is the volume of change since the last collection is "small". But peoplesoft tables can be big, so some tables may need a lot of data to change (which might take several days or weeks) before they get new stats. The 10g optimizer is able to compare the high-values stored with the predicate values supplied in queries, and decide that since the predicate is higher than the known highest value, it should scale down its estimates of data returned. After a few days when the stats haven't changed, the optimizer suddenly gets to the point where the estimated data size is much too small and the plan changes to something that you can see is bad. The typical example here is a date column that increases with time, and a query on "recent data" - the optimizer basically says: "you want 9th Feb - the high value says 28th Jan, there's virtually no data". Keeping date and sequence-based high-values up to date is important. (See dbms_stats.set_column_stats).
    Lower cost plans available:
    Sometimes this is a bug. Sometimes it's an unlucky side effect. When a query has a large number of tables in a single query block, the optimizer can only examine a limited subset of the possible join orders (for example, a 10-table join has over 3million join orders, and the default limit is 2,000 checked). Because of this limit, Oracle starts working through a few joins orders in a methodical manner, then does a "big jump" to a different set of join orders where it checks a few more join orders, then does another "big jump". It may be that it never gets to your nice plan with the lower cost because it doesn't have time. However, by putting in the hint, you may make some of the orders the optimizer would have examined drop out of the "methodical list" - so it examines a few more in one sequence, or possibly "jumps" to a different sequence that it would not othewise have reached. (I wrote a related blog item some time ago that might make this clearer, even though it's not about exactly the same phenomenon: http://jonathanlewis.wordpress.com/2006/11/03/table-order/ ).
    Your recent comment about dynamic sampling is correct, by the way - by default (which for your version is is level 2 as a system parameter) it will only apply for tables which don't have any statistics. It's only for higher levels, or when explicitly hinted for tables, that it can apply to tables with existing statistics.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Output not printing correctly for BI Publisher report.

    Hi All,
    We have a BI Publisher report which is printing correctly on one printer but not on another printer. The top and right side of the output are getting truncated. Printer type for both the printer is same that is "--PASTA Universal Printer Type" and both are using the same printer driver 'PASTA_PDF' and same style 'PDF Publisher'.
    Please let me know how can I debug the issue.
    Thanks
    Vishalaksha

    Steve- I understand what you are mentioning about the ftp, the XML file looks okay on both server and the client except for the letter 'ü ' and the rest of the German characters prints okay. THe problem is that the BI reprot is printing the same wrong characters.
    --Ravi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Logic 9 - EXS24 Multi Output not working correctly?

    Ok, another EXS24 query from me.
    I have a software instrument track with a multi output EXS24 inserted, I go into the edit panel and assign the output of the kick, snare etc to one of the auxes available. I create an aux track for each of these from the original software track (hitting the + button) and everything is ready to go.
    What is then happening here is that the audio is routed correctly and being played back via each aux track, then it randomly plays each track back out through the main stereo output.
    Is anyone else experiencing this?
    Also whilst on the subject of the sampler. I recall that there was some option on Logic 8 to view which samples were being played from the sampler. When the midi note was triggered in the sequencer or by pressing a midi note on a keyboard the sample name would be highlighted, which was quite handy for instruments with lots of samples. Does anyone know how to turn this on in Logic 9?
    Cheers
    Bryan

    bump!

  • FM not picking correct entry

    Hi experts,
    Can anyone please explain what the below FM performs:
    ==================================
    FUNCTION Z.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(CHRT_ACCTS) TYPE  /BI0/OICHRT_ACCTS
    *"     REFERENCE(ACCOUNT) TYPE  /BI0/OIACCOUNT
    *"     REFERENCE(CO_AREA) TYPE  /BI0/OICO_AREA
    *"     REFERENCE(ZPC) TYPE  /BIC/OIZPC
    *"     REFERENCE(KEY_MUST_BE_FOUND) TYPE  BOOLEAN DEFAULT 'X'
    *"     REFERENCE(MSGTY) TYPE  SYMSGTY DEFAULT 'I'
    *"     REFERENCE(GET_FIRST_ENTRY) TYPE  BOOLEAN DEFAULT 'X'
    *"     REFERENCE(DATETO) TYPE  RSDATETO
    *"     REFERENCE(DATEFROM) TYPE  RSDATEFROM OPTIONAL
    *"     REFERENCE(RECNO) TYPE  SYTABIX OPTIONAL
    *"  TABLES
    *"      ZZ STRUCTURE  /BIC/AZZ00
    *"      MONITOR STRUCTURE  RSMONITOR OPTIONAL
    *"      MONITOR_RECNO STRUCTURE  RSMONITORS OPTIONAL
      CLEAR ZZ.
      ZZ-chrt_accts   = chrt_accts.
      ZZ-account      = account.
      ZZ-co_area      = co_area.
      ZZ-/bic/zpc = zpc.
      ZZ-datefrom     = datefrom.
      ZZ-dateto       = dateto.
      REFRESH ZZ.
      PERFORM z1000_read_ZZ TABLES ZZ
                                 USING  get_first_entry.
    return values found in table or raise exception
      IF  ZZ[] IS INITIAL
      AND key_must_be_found = 'X'.
        PERFORM z1000_set_return_message
                          TABLES monitor
                          USING msgty 'YFI_MIR' '013'
                          'ZZ'    chrt_accts
                            account co_area.
        PERFORM z9999_return_message_recno
                          TABLES monitor_recno
                          USING msgty 'YFI_MIR' '013'
                          'ZZ    chrt_accts
                            account co_area
                            recno.
      ENDIF.
    ENDFUNCTION.
    =========================================
    In our case there are 2 records in the table ZZ, of which the FM should pick the latest record but it is picking the old record.
    Can anyone please check where the error is and any correction I have to make inorder to rectify the error.
    I suppose we need to change in the following line
    PERFORM z1000_read_ZZ TABLES ZZ
                                 USING  get_first_entry.
    Regards,
    Bhadri M.

    You can sort the ZZ table records based on your logic by which you want to have the latest record.

  • Output not coming correct

    Hi,
    I had developed this code and after all modifications and alterations in it ,i am pasting here bcoz it is still giving the problem that the values of ITAB does not contain the correct data as it keep on repeating the same value for the data in ITFINAL.
    Plzz go through this code and help me out as i tried whole day and still it is not coming right.
    My job is online bcoz if it start displaying correct data then i have to make addition in other code also. plzz helpme out as help will be definately rewarded.
    here's the code:-
    TABLES: BKPF,MKPF,BSIK.
    DATA: BEGIN OF ITBKPF OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          AWTYP LIKE BKPF-AWTYP,
          AWKEY LIKE BKPF-AWKEY,
          BUDAT LIKE BKPF-BUDAT,
          END OF ITBKPF.
    DATA: BEGIN OF ITMKPF OCCURS 0,
          MBLNR LIKE MKPF-MBLNR,
          MJAHR LIKE MKPF-MJAHR,
          END OF ITMKPF.
    DATA: BEGIN OF ITAB OCCURS 0,
          BELNR LIKE BSIK-BELNR,
          WRBTR LIKE BSIK-WRBTR,
          LIFNR LIKE BSIK-LIFNR,
          BUKRS LIKE BSIK-BUKRS,
          GJAHR LIKE BSIK-GJAHR,
          BUDAT LIKE BKPF-BUDAT,
          END OF ITAB.
    DATA: BEGIN OF ITFINAL OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          AWTYP LIKE BKPF-AWTYP,
          AWKEY LIKE BKPF-AWKEY,
          MBLNR LIKE MKPF-MBLNR,
          MJAHR LIKE MKPF-MJAHR,
          WRBTR LIKE BSIK-WRBTR,
          LIFNR LIKE BSIK-LIFNR,
          END OF ITFINAL.
    *PARAMETERS: P_BUKRS LIKE BKPF-BUKRS,
               P_GJAHR LIKE BKPF-GJAHR,
               S_LIFNR LIKE BSIK-LIFNR.
    SELECT-OPTIONS: P_BUKRS FOR BKPF-BUKRS,
                    P_GJAHR FOR BKPF-GJAHR,
                    S_LIFNR FOR BSIK-LIFNR.
          SELECT ABUKRS ABELNR AGJAHR AAWTYP AAWKEY ABUDAT INTO TABLE ITBKPF FROM BKPF AS A
          WHERE  AAWTYP = 'MKPF' AND ABUKRS IN P_BUKRS AND A~GJAHR IN P_GJAHR.
          IF NOT ITBKPF[] IS INITIAL.
          SELECT AMBLNR AMJAHR INTO TABLE ITMKPF FROM MKPF AS A FOR ALL ENTRIES IN ITBKPF WHERE A~MBLNR = ITBKPF-AWKEY(10).
          SELECT ABELNR AWRBTR ALIFNR ABUKRS AGJAHR BBUDAT FROM BSIK AS A
          INNER JOIN BKPF AS B ON BBELNR = ABELNR
          INTO TABLE ITAB
          WHERE
          A~LIFNR IN S_LIFNR.
          ENDIF.
    SORT ITAB BY BELNR.
    LOOP AT ITBKPF.
    CLEAR ITMKPF.
    READ TABLE ITMKPF
    WITH KEY MBLNR = ITBKPF-AWKEY+(10)
              MJAHR = ITBKPF-AWKEY+10(4).
    CHECK sy-subrc EQ 0.
    ITFINAL-BELNR = ITBKPF-BELNR.
    ITFINAL-GJAHR = ITBKPF-GJAHR.
    ITFINAL-AWKEY = ITBKPF-AWKEY.
    READ TABLE ITAB
    WITH KEY BUKRS = ITBKPF-BUKRS.
    CHECK sy-subrc EQ 0.
    ITFINAL-WRBTR = ITAB-WRBTR.
    ITFINAL-LIFNR = ITAB-LIFNR.
    APPEND ITFINAL.
    CLEAR ITFINAL.
    ENDLOOP.
    LOOP AT ITFINAL.
    WRITE: / ITFINAL-BELNR , ITFINAL-GJAHR, ITFINAL-AWKEY+(10),ITFINAL-WRBTR ,ITFINAL-LIFNR .
    ENDLOOP.

    Hi,
    I had checked the all Interenal Tables and each and every table is having the desiered data except ITFINAL.,it is storing the value of ITAB
    i.e. displaying the same record for the data coming from the ITBKPF ,now my problelm is how to display the correct data from ITAB to the ITFINAL which is not able to store this coreect data,plzz help me out in solving this problem .
    The code in am using right now is:-
    TABLES: BKPF,MKPF,BSIK.
    DATA: BEGIN OF ITBKPF OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          AWTYP LIKE BKPF-AWTYP,
          AWKEY LIKE BKPF-AWKEY,
          BUDAT LIKE BKPF-BUDAT,
          END OF ITBKPF.
    DATA: BEGIN OF ITMKPF OCCURS 0,
          MBLNR LIKE MKPF-MBLNR,
          MJAHR LIKE MKPF-MJAHR,
          END OF ITMKPF.
    DATA: BEGIN OF ITAB OCCURS 0,
          BELNR LIKE BSIK-BELNR,
          WRBTR LIKE BSIK-WRBTR,
          LIFNR LIKE BSIK-LIFNR,
          BUKRS LIKE BSIK-BUKRS,
          GJAHR LIKE BSIK-GJAHR,
          BUDAT LIKE BKPF-BUDAT,
          END OF ITAB.
    DATA: BEGIN OF ITFINAL OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          AWTYP LIKE BKPF-AWTYP,
          AWKEY LIKE BKPF-AWKEY,
          MBLNR LIKE MKPF-MBLNR,
          MJAHR LIKE MKPF-MJAHR,
          WRBTR LIKE BSIK-WRBTR,
          LIFNR LIKE BSIK-LIFNR,
          END OF ITFINAL.
    *PARAMETERS: P_BUKRS LIKE BKPF-BUKRS,
               P_GJAHR LIKE BKPF-GJAHR,
               S_LIFNR LIKE BSIK-LIFNR.
    SELECT-OPTIONS: P_BUKRS FOR BKPF-BUKRS,
                    P_GJAHR FOR BKPF-GJAHR,
                    S_LIFNR FOR BSIK-LIFNR.
          SELECT ABUKRS ABELNR AGJAHR AAWTYP AAWKEY ABUDAT INTO TABLE ITBKPF FROM BKPF AS A
          WHERE  AAWTYP = 'MKPF' AND ABUKRS IN P_BUKRS AND A~GJAHR IN P_GJAHR.
          IF NOT ITBKPF[] IS INITIAL.
          SELECT AMBLNR AMJAHR INTO TABLE ITMKPF FROM MKPF AS A FOR ALL ENTRIES IN ITBKPF WHERE A~MBLNR = ITBKPF-AWKEY(10).
          SELECT ABELNR AWRBTR ALIFNR ABUKRS AGJAHR BBUDAT FROM BSIK AS A      "
          INNER JOIN BKPF AS B ON BBELNR = ABELNR
          INTO TABLE ITAB
          WHERE
          ALIFNR IN S_LIFNR.    "ABUKRS = B~BUKRS.
          ENDIF.
          SORT ITAB BY BELNR.
         SELECT ABELNR AWRBTR ALIFNR ABUKRS A~GJAHR FROM BSIK AS A INTO TABLE ITAB
         FOR ALL ENTRIES IN ITBKPF
         WHERE
         ABUKRS = ITBKPF-BUKRS AND ALIFNR = S_LIFNR.
         ENDIF.
    LOOP AT ITBKPF.
    CLEAR ITMKPF.
    READ TABLE ITMKPF
    WITH KEY MBLNR = ITBKPF-AWKEY+(10)
              MJAHR = ITBKPF-AWKEY+10(4).
    CHECK sy-subrc EQ 0.
    ITFINAL-BELNR = ITBKPF-BELNR.
    ITFINAL-GJAHR = ITBKPF-GJAHR.
    ITFINAL-AWKEY = ITBKPF-AWKEY.
    SORT ITAB[] BY BELNR GJAHR BUKRS.
      READ TABLE ITAB
      WITH KEY
    BELNR = ITBKPF-BELNR
      GJAHR = ITBKPF-GJAHR
      BUKRS = ITBKPF-BUKRS
      BINARY SEARCH.
    CHECK sy-subrc EQ 0.
    ITFINAL-WRBTR = ITAB-WRBTR.
    ITFINAL-LIFNR = ITAB-LIFNR.
    APPEND ITFINAL.
    CLEAR ITFINAL.
    ENDLOOP.
    LOOP AT ITFINAL.
    WRITE: / ITFINAL-BELNR , ITFINAL-GJAHR, ITFINAL-AWKEY+(10),ITFINAL-WRBTR ,ITFINAL-LIFNR .
    ENDLOOP.
    Edited by: abaper2008 on May 29, 2008 6:35 AM
    Edited by: abaper2008 on May 29, 2008 9:21 AM

Maybe you are looking for

  • ITunes 10.6.3 Update Error

    I have been offered the iTunes 10.6.3 on my Windows computer but every time I press the "Download iTunes" button, nothing happens. I know that many other people have been having the same problem. Does anyone seem to have a solution to this problem? W

  • Exchange rate in cost estimate(ck11n)

    Hello All, Scenario: We have done cost estimate(ck11n) for material XYZ for September. The currency in info record is USD and the controlling area currency is EUR, now the old exchange rate from June has been picked up by the exchange rate type assig

  • Cancelled Sales orders

    Hi All, I need to pull all Sales orders that have been canceled between 6:00pm yesterday's date until 6:00 pm today. can anyone please let me know how to find this? I think i can use VBUK-AEDAT for date of last change of the order. But how to find th

  • Dropping a column in composite xmltype table with virtual column

    Hello, i found some interesting behavior. I have a table with xmltype column and a virtual column. If i drop a column, which has an index smaller than the index for the xmltype column, than the virtual column reference for xmltype column is not chang

  • Camera raw for powershot sx50hs

    the download site says 7.3 includes my camera but dpreview says i need 7.3rc