List of materials from the excel which are not posted

I have written bdc,
that ware house storage locations should not be allowed.
All the storage locations in the table T320 are ware house storage locations.
so i have written
if not  it_data1 is initial.
SELECT *  into table iT_320 FROM  T320
  for all entries in it_data1
where WERKS = it_data1-werks and
           LGORT  = it_data1-lgort.
endif.
LOOP AT IT_DATA1 .
  read table iT_320 INTO wa_320 with key werks = it_data1-werks
                                          lgort = it_data1-lgort.
  IF sy-subrc = 0 .
    delete it_data1 index sy-tabix.
  ENDIF.
endloop.
So its working fine till then.
but i wanted a list of materials from the excel wch are not posted,so tht the user is aware tht some items are not consumed.
How to display that list in bdc.
Please give the code for that.

MY EXCEL DATA IS IN IT_DATA1.
LOOP AT IT_DATA1 .
  read table iT_320 INTO wa_320 with key werks = it_data1-werks
                                          lgort = it_data1-lgort.
  IF sy-subrc = 0 .
    delete it_data1 index sy-tabix.
  ENDIF.
endloop.
  LOOP AT IT_DATA1 .
    MOVE-CORRESPONDING IT_DATA1 TO IT_DATA_h.
    Collect it_data_h.
  ENDLOOP.
  Clear it_data_h.
clear : it_data1.
THEN MY BDC IS LIKE THIS.
LOOP AT IT_DATA_H .
perform bdc_dynpro      using 'SAPMM07M' '0400'.
perform bdc_field       using 'BDC_CURSOR'
                              'RM07M-WERKS'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'MKPF-BLDAT' LV_DATE  .
perform bdc_field       using 'MKPF-BUDAT' LV_DATE.
perform bdc_field       using 'RM07M-BWARTWA' '261'.
perform bdc_field       using 'RM07M-WERKS' IT_DATA_H-WERKS.
perform bdc_dynpro      using 'SAPMM07M' '0421'.
perform bdc_field       using 'BDC_CURSOR'
                              'MSEG-WERKS(03)'.
CLEAR : FLAG1, W_FLAG.
LOOP AT IT_DATA1 WHERE aufnr = it_data_H-aufnr.
W_FLAG = 1.
CONCATENATE 'MSEG-MATNR' '(' W_FLAG ')' INTO W_MATNR_C.
perform bdc_field       using  W_MATNR_C
                               IT_DATA1-MATNR.
CLEAR : QTY.
QTY = IT_DATA1-ERFMG.
SHIFT  QTY LEFT DELETING LEADING SPACE.
END LOOP.
NOW HOW TO COMPARE THE MATERIALS IN EXCEL AND  BDC POSTED.
PLEASE PROVIDE THE CODE FOR THAT AND HOW TO DISPLAY.

Similar Messages

  • Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    You can hide them via your computer's iTunes : iTunes Store: Hiding and unhiding purchases - Apple Support
    The 'x' might not show on their top left corner (it might be invisible), but clicking where it should be should hide the app.

  • How do i check the list of invoices which are not posted into sap.

    Hi All,
    Iam displaying(ALV) the list of invoices and epayments for both PO & non PO transactons which are being processed in workflow but not posted in sap.
    (Non po transaction is th eone with out reference of a PO)
    How to check and list out the invoices that are not posted in sap. where does this get stored.
    please help.
    Thanks
    jyothi.

    Hello Jyothi,
    U can give try with EKBE table for getting invoices for PO. In this table there is a field vgabe which has various status. U can try that. Now for Non PO, u would be directly creating invoice doucment using FB60(i guess) which would create an entry directly into BKPF/BSEG. U can scan BKPF for the date range company code document type KR which vendor invoice.

  • We have the invoices in staging table which are not posting to EBIZ

    We have some invoices in RFM fm_ap_staging* tables from past month, which are not getting posted to EBIZ.
    The invoices are in FP status and the invoices should picked up and posted to EBIZ.
    We are not sure, why this was happening.
    But , when we have changed the sequence number of the invoices to the maximum sequence number and ran the batch , the invoices got picked up and posted to EBIZ.
    This doesn't make sense to me.
    Is it the correct functionality, or whatever is in the staging table evry thing should be picked up by the batch and post to EBIZ.
    Kindly verify.

    Hi Henry,
    From your description, I would like to verify the following things:
    1. If you can receive emails from ExQuilla account via OWA? If yes, the Exchange Server is ok.
    2. If other users can receive emails from ExQuilla account?
    3. When you use Outlook Anywhere, can you receive emails from Outlook client? If yes, there are some problems with the third-party software ExQuilla.
    If there are any problems with Exchange Server, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Not to display the document which are not due at the time of making the pay

    Hi,
    My user dont want to display the document which are not in due at the time of making the payment through F-53.
    For example:
    Vendor Code: 1001 has the open item as below:
    Due Date - 29.09.2009 Amount 50000
    Due Date - 30.09.2009 Amount 10000
    Due Date - 15.10.2009 Amount 40000 (due date is in future)
    Now my user want to make the payment for the above vendor through T-Code: F-53 / F-58, while clicking the process Open item the syste, shows all the document (which inclues the future due date document).
    My user dont want to display the document which is in future due date because by wrongly he should not make the payment for the future due dated document.
    Kindly provide me the solution how to disable the document which are not in due.
    Regards
    JS

    Hi,
    You can try the following -
    Execute transaction code O7F4, and maintain the field FAEDT. Then execute F-53 and check if the option to enter net due date appears in the additional selection or not.
    Please revert.
    Thanks and Regards,
    Anit

  • IPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update

    iPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update

    I use Firefox 95% of the time, and there's no problem with flash content (and I'm still at .55 - downloaded .64 last week but I haven't got round to making the change yet). At the rate they've been changing it recently it may well be out of date already .
    I've been trying it in Safari, too with no problems apart from You Tube, but that's because I'm blocking Google cookies.
    One thought does occur - if your Flash preferences are set to block all Local Storage, it may be that the problem site is trying to use Flash cookies (LSOs). I had this problem recently with the BBC iPlayer streaming content. Little Snitch notified an attempt to connect to a new URL - emp.bbci.co.uk.
    If I disallowed it, no streaming; when I allowed the connection, it still wouldn't stream, so I did a bit of digging and came to the conclusion that it was trying to set a Flash cookie. When I unblocked, lo and behold - streaming resumed as normal.
    I now have LSOs blocked in a more subtle way that lets the site think it's being set (but it ain't) and the streaming still works.
    As for permissions repair - always repair from local; the permissions on the original disc will have been superceded by updates and new installations of Apple software.
    DU needs to be reading the packages on the HD, not the (now out of date) install disc.
    The recurring repair messages are normal and don't mean anything's wrong. As long as the final message is 'repair complete' there's no need to dwell on it.
    http://support.apple.com/kb/TS1448 (for Leopard and Snow Leopard - Lion no doubt has it's own set).

  • How to remove the tasks which are not manually recoverable?

    How to remove the tasks which are not manually recoverable?
    I tried performing manual recovery for the BPEL processes but there are few tasks which cant be manually recoverable..
    Could you please tell me how to remove those tasks and also tell me which information in the console is the task_id in the database?

    This article explains how to cleanup bpel process instances, you can find task instance id by searching for data in payload using api.
    Managing a BPEL Production Environment
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/blanvalet.html
    Cheers,
    Rad

  • [svn:fx-trunk] 8417: Remove themes from the package that are not compiling cleanly

    Revision: 8417
    Author:   [email protected]
    Date:     2009-07-07 04:50:21 -0700 (Tue, 07 Jul 2009)
    Log Message:
    Remove themes from the package that are not compiling cleanly
    bug: https://bugs.adobe.com/jira/browse/SDK-21144
    qa: yes
    doc:
    checkintests: pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21144
    Modified Paths:
        flex/sdk/trunk/build.xml

  • Any script to cancel the PO which are not taken receipt from the back end?

    Hi,
    We need to cancel the PO Shipments which are not taken receipts to reverse the encumbrnace budegatory amount. is there any script i can use so that i can cancel all the PO's which are not taken receipts or we need to manually cancel the each shipment by navigating in to the PO summary window using the Tools > Control option.
    Please let me know your views..ASAP
    Note: We are using the 11.5.10.2 version with encumbrance budgetary funds checking for PO's.
    Regards,
    Kevin
    Edited by: user10960960 on May 6, 2009 3:17 AM

    There is no documented,proven and supported way of doing such thing using scripts. Best to do it from front end; use dataloader for large volumes, and data loader in forms playback mode for larger volumes.

  • TS3202 How do I remove songs from my iPad which are not on my computer library. Regular synching has not removed these two songs from my iPad. These songs are no longer in my library but still on iPad !!! Any solutions ???

    How do I remove songs from my iPad which are no longer present in my library. Normal synching works for everything else except two songs ' stuck' on my iPad ??  Any solutions. ????  Thanks.

    You can remove them manually on the device. Swipe across the track to bring up a delete button.
    tt2

  • How can I find the profiles which are not in a role

    Hi all,
    how can I find all profiles which are not used in a role. Its important for a security check.

    Hi Stefan,
    you do one thing use the transaction SUIM
    SUIM>>Profile>>By Roles
    give all the role name and execute you will get roles with profiles
    and extract to excel sheet
    to get only profiles
    suim>>profile>>by profile name or text give * and execute
    and extract in excel sheet no compate profile coloumns get the profiles which does not there in any roles
    hope ds helps
    thanks
    kishore

  • Segregate the values which are not in Hierarchy ............

    Hi All,
    Please help me in building the following query:
    Parent Child
    ==== ===
    10 20
    20 30
    30 40
    50 60
    70 80
    etc..... In the above data let us assue there is only one grand parent say 10 and the values 50,60,70,80 etc are not attached to grand parent 10.So i need to display the values which are forgotten to attach to the Top Node 10 i.e, here 50,60,70,80 etc. If my query helps in retreving these values then i can attach them back to the hierarchy.
    Thanks in advance.
    regards,
    kalyan

    SQL>WITH t AS
      2       (SELECT 10 AS par, 20 AS chi FROM DUAL UNION ALL
      3        SELECT 20, 30 FROM DUAL UNION ALL
      4        SELECT 30, 40 FROM DUAL UNION ALL
      5        SELECT 50, 60 FROM DUAL UNION ALL
      6        SELECT 70, 80 FROM DUAL)
      7  SELECT *
      8    FROM t
      9   WHERE chi NOT IN(SELECT     chi
    10                          FROM t
    11                    CONNECT BY PRIOR chi = par
    12                    START WITH par = 10);
           PAR        CHI
            50         60
            70         80hth, Urs

  • HT4859 My phone was stolen.  I synced with my computer and lost some pictures that are backed up on the cloud.  How do I get pics from the cloud that are not in my photostream?

    My phone was stolen.  I first backe up from the icloud but then synced with my computer and lost some pictures that are backed up on the cloud.  How do I get pics from my old phone which are backed up on the cloud but are not in my photostream?

    If you have an iCloud backup, restore it to your phone as explained here: https://support.apple.com/kb/ph12521.  If you have a backup on your computer instead, restore it to your phone by connecting your phone to your computer, opening iTunes and going to File>Devices>Restore from Backup.

  • Installing a Google Apps mail account as an Exchange cause Camera FaceTime and Photo Booth to disappear from the Deskotp and are not retrievable. A deletion of the mail account returns the functions immediately

    Brand ne iPad 3. Installing a Google Apps mail account as Exchange kills my Camera, Face Time and Photo Booth. They disappear from the Desktop and are nowhere to find or retrieve. Deleting the mail accoun t brings them back immediately. I have already full reset the device and updated the software with no result.
    Is there a solution?

    Yep, Meg, you were right and here are the steps which cure the issue. Disable camera is actually a basic Google Apps setting .
    Log in to your Google Apps Control Panel.
    Click on your 'Settings' tab.
    Under the 'Org Settings' tab locate 'Mobile Settings/Device Settings'
    Enable 'Allow camera'.
    Save changes.
    Re-Install Google Apps E-mail account
    It works perfectly fine now.
    Footy, my cat, sends you nice regards as well.
    Rgds from the Slovenian Karst

  • Hyperlinks from converted excel file are not working after pdf file is moved

    I have created a pdf file from an excel file that has hyperlinks in it. The hyperlinks work fine if the files are all kept in the same exact location as the time they were created. Once the files are moved (i.e. emailed to another user) the hyperlinks no longer work. An error message pops up that the file can not be found. Is there a setting or something that I'm missing in acrobat that allows for the files to be moved, so that the hyperlinks still function properly, after creation

    No settings adjustments.
    The issue is that links, once made, have a specific path (as shown when you view the link's text string).
    When you email the files the person who recieves the email and downloads the attachments would have to have the same layout of files/folders you have.
    Without that links are "broken"
    You email a zip file that, when extracted, would create the folders/files in the required layout to reflect what you have.
    Be well...

Maybe you are looking for

  • How to tell if you have OEM 12c BP1 installed?

    I had OEM 12c installed and attempted to download/apply the Solaris OEM agent software. I ran into the "Below host metric patches are not applied to OMS." error. I discovered this was because I needed BP1. After 3 days of trying to uninstall OEM, fin

  • Firefox will not load no matter what I try (safe mode whatever). It only loads if I run it inside Comodo sandbox! How do I get it to run the normal way?

    Firefox will not load the normal way (clicking on a link or running it from Run window or even running it in safe mode). It only runs if I dig down to the installed directory, right-click firefox.exe and select "Run inside Comodo Sandbox". I have Com

  • Worries of a Macaholic

    I just woke my computer from sleep, and the screen was filled with strange colors, and there was a line running vertically on the screen. The screen just looked really wrong. When I restarted my computer, everything was fine, but it took longer than

  • Renaming batch files

    I would like to automate of saving, renaming, closing open documents then placing them in a seperate folder after I'm done adding watermarks to my images. The problem I'm coming across is that the action i have renames all the files using the same na

  • Approval For Cash Payments

    Hello All, I am trying to set an approval for all cash payments where the amount involved is more than 5000. I am creating and using following query. But the system allows to save the document without triggering the approval. I have checked using SQL