How to Check Delivery and GR (goods receite) date??

Dear ABAP Guru,
I am very new in ABAP and here is my requirement, hoping to have help from you friends and GURU? I need to modify an existed report that run weekly. to
Check the delivery date and and GR date.
if delivery date is older than a week in the system and GR date is not entered or equal to 00/00/0000.
send an email message:"Delivry is a week old , please enter Actual GR date". to the user in charge.
and also, when the Gr date is enter, do not show that item or PO in the report anymore because the report want to show only Gr with date 00/00/0000.
please Guru help me with a source code. Thanks..friends

Moderator message - Unfortunately, this forum is not a place to learn ABAP. I suggest that you get one of the good ABAP books that are out there and maybe join an internet forum that caters to beginners - post locked
Rob

Similar Messages

  • What is the difference between delivery date and actual goods issue date?

    Hi ,
    Can you please tell me the difference between Delivery date and Actual goods issue date ?
    Delivery data can be be greater than goods issue date?
    Thanks,
    Ajay

    Hi Ajay,
                  Delivery date means its the original date on which the delivery should be done.Actual goods Issue date is the date on which goods to be delivered according to the purchase order.There can be delay in the delivery so we maintain 2 objects.
    Yes delivery date can be greater than Goods Issue date.
    Hope this clears
    Regards
    Karthik

  • Fieldes planned delivery date and actual good recipt date for SAP QUERY

    Hi Gurus
    I am changing sap query. I need to find two fieldes  : planned delivery date and actual goods recipt date
    I dont know MM tables, do you know wrhere are?
    in table EKPO i don't find the fieldes.
    Thanks in advance

    Thank a lot!
    Regards

  • Slow imac, how to check status and clean up disc?

    slow imac, how to check status and clean up disc?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • I used time machine to restore on a formatted MAC. Now the HDD space has reduced by 100GB but I cannot see any of the files. How do I find and delete those 100GB data from the HDD?

    I used time machine to restore on a formatted MAC. Now the HDD space has reduced by 100GB but I cannot see any of the files. How do I find and delete those 100GB data from the HDD?

    dglenn9000 wrote:
    I created a new user account just to see if it was my user Library or if there was something wrong with my system. And the new user account is doing most of the same things so I will need to do a full restore anyway.
    Not necessarily. I'd suggest downloading and installing the "combo" update. That's a combination (thus the clever name) of all the updates to Leopard since it was first released, so installing it should fix anything that's gone wrong since then, such as with one of the normal "point" updates. Info and download available at: http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate Be sure to do a +Repair Permissions+ via Disk Utility (in your Applications/Utilities folder) afterwards.

  • Free of charge delivery and free goods

    hello,
    I need clarification  on the following.
    There are two different things. one is free of charge delivery and the other is free goods.
    1) for free of charge delivery, order type is  FD , I think we have to maintain TANN(with pricing as B,100% discount). This will trigger R100 as 100% discount condition in pricing procedure. Am i right ?
    2) The other is Free goods determination(OR order type). where free goods condition records are maintained and gets determined in sales order. for this scenario,  TAN and TANN (100% disc) is maintained in item caterory determination. I think in this case NRAB is required and not R100 in pricing ? am i right ? ..
    regds

    Hi,
    Free of charge delivery -
    Free of charge delivery is used mostly when you provide samples to customer
    http://help.sap.com/SCENARIOS_BUS2004/helpdata/EN/31/923341431ef723e10000000a155106/content.htm
    Free goods -
    It is mostly used when you are providing something free when customer purchase of one Item/material
    http://help.sap.com/SCENARIOS_BUS2007/helpdata/EN/b7/4a893a8729337be10000000a11402f/content.htm
    Kapil

  • How to check Licence and what comes with original cd?

    Hello DBA,
    how to check licence in installed oracle database?
    and if we purchase oracle database from oracle then what comes with the kit(like original cd and other things)?
    Thanks,
    DBA

    Hi Nikunj,
    Licensing information are not stored in the database but you can get list of components installed using the query below:
    select COMP_NAME, VERSION, status from dba_registry;
    I hope this is what you are looking for?
    Cheers,
    Adams

  • How to check when and who uses my account?

    I need to check if someone used my account in some particular days and hours. is it possible and how. thank you

    Nikoline wrote:
    How to see when and who made changes in some table?
    Some makes me problems and I want to see who are the usernames.
    ThanksEither you need to implement Oracle Audit, or use Logminer Utility to read archived redo log files

  • How to track Delivery and Read Receipts, to update the e-mail status?

    Hi,
    I got bit confused, How can I came to know that my e-mail has been successfully sent or not without opening my inbox.
    Am sending 50,000 mails per day by using java mail sending program, while sending I am enabled Delivery and Read receipt and I saved message-id in database and I got that receipt back to my inbox.
    Then I am reading my Inbox using another java program based on message-id concept, And also I need to parse the body of the mail to update the reason if any message failed.
    Here my Inbox received more than 1 lac mails per day as receipts. Because am sending 50,000 mails, So, I got 2 receipt mails for 1 mail, totally 50,000*2=1lac mails in Inbox. My problem is, my reading Inbox java program not able read all 1lac mails at one day. It just reading 5,000 mails per day. When my next day mail sending process started, again i am getting another 1 lac receipts.
    Since I am not able to read and delete the receipts completely, mail counts in my inbox getting accumulated. So, I got stuck, How can I do this?
    If anybody have any other ideas please share with me.
    Already I surfed on net lot, but I can`t find solution for this concept.
    Thanks in advance.

    Hi EJP,
    step 2: Taking total inbox length using message.length
    The message count is available via Folder.getMessageCount*().//ok I will try this one.*
    step 3: In for loop, for(i=0; i < = n; i+){+ //--here we are getting mails one by one
    That should be i < n, not i <= n. *//here I was wrongly specified, I used i<n only.*
    step 5: In that mail body we are searching our own unique keyword(which we set for our unique mail reference)
    Searching how?
    In order to find the keyword, we are getting entire text/plain mail body using below method,
    //To get body plain/text body part start here
         public static void getTextPlainBodyPart(Part p) throws Exception {
              if (p.isMimeType("text/plain")) {
                   if (!(showStructure) && !(saveAttachments)){
                       lstr = (String)p.getContent();
              }else if (p.isMimeType("multipart/*")) {
                 Multipart mp = (Multipart)p.getContent();
                 level++;
                  int count = mp.getCount();
                  for (int i = 0; i < count; i++){
                 getTextPlainBodyPart(mp.getBodyPart(i));
                  level--;
    //To get body plain/text body part end hereAbove method will return entire body of the mail in one string variable, Eg: String mailBody;(*mailBody variable contains entire body)*
    Then using mailBody variable we are searching our own keyword(which we set for our unique mail reference while sending mail) using below technique,
    if(lstr.indexOf("!$*#*$") != -1 && lstr.lastIndexOf("$*#*$!") != -1){
    KeyWord = lstr.substring(lstr.indexOf("!$*#*$")+3,lstr.lastIndexOf("$*#*$!"));
    //to get reason alone
    if(lstr.contains("Reason:")){
         Pattern p = Pattern.compile("Reason:\\s([^\\n])*");
    Matcher m = p.matcher(lstr);
    boolean result = m.find();
         while(result) {
            reason = m.group();
             result = m.find();
    //System.out.println("Reason:>>>>"+reason);
    }else{
         reason = "";
    }After getting that keyword in KeyWord variable,
    then we are updating our database using that KeyWord,(here we are using KeyWord variable in where condition in update query)
    Note:_ KeyWord is nothing but, we were stored all our unique keyword against every mails while sending.So, If when get that keyword while reading the receipts,then we can update our table using that same keyword.
    guide how can I do this effieciently. And if you any other new concept please share with me.
    Thanks in advance..
    Edited by: EJP on 17/03/2011 16:54: added code tags. Please use them. Code is 100% illegible otherwise.

  • How to check ABAP and Portal connections

    Hi
    I was told to check ABAP and Portal connections. What does that mean? And what and where to check?
    Thanks
    Annie

    Hi
    Thanks for your reply.
    We are on BI 7. SP16.
    When i run that in se38, i am getting the following information: No default in RSPOR_T_PORTAL and no user parameter RSPOR_DEFAULT_PORTAL" when i clicked on yes(tickmark), view BI_Content of web template 0ANALYSIS_PATTERN(A) is displayed
    There are two options with check box are present 1. 30 template present (Unchecked) 2. BI- Template Present (checked), and a big XML code is displayed.
    When i executed in browser mode, it says Windows cannot find'/irj/servlet/prt/portal............... make sure you typed the name correctly and then try again. to serch for a file, click the start button, and then click search"
    What does that mean?
    Regards
    Annie
    Edited by: Annie on Nov 17, 2008 5:38 AM

  • Check price and availability shows no data

    Dear Experts,
    In the Check price and availability app, im trying to check the availability of a material on a particular date.
    Issue 1:
    The available stock quantity for material 953 is 260. There is no availability check maintained in material master(KP- no check)
    Say for eg, 29th may and quantity as 10 items for material 953, the app displays data as below. How is the estimated delivery date calculated as i ahve not maintained any planned delivery date in MMR.
    But when i check for this material 953 or 954 or 2390 or any other material for date 27th may or 29th may, it says stock is not available though the
    physical stock is listed for 260 pcs as below.
    Issue 2:
    The available stock of material 953 is only 260. when I check for 1000 quantities on 30th May, the system must say, stock is not available
    But however the app displays stock is available with the estimated delivery date. Im unable to find the cause of this output.
    Please guide me how to sort the issue.
    Please help as this issue is urgent.
    Thanks & Regards
    Dhinesh
    Message was edited by: Michael Appleby

    Hi Dhinesh
    I am Also facing this problem from long back. And we updated all the Patch level but i didnt get the solution.
    Please Share the Info if you find the Solution for this issue.
    Regards
    Prasanth SV

  • How to check which PSA is having more data

    Hi,
    I want to delete the PSA, and check which PSA is having huge space is occupied, from table RSTSODS we can check the availble psa`s how can we check PSA database.
    we have to configure in db02 ?
    Regards,
    Vamsi

    For checking the which PSA having more data then run ST14 tcode for getting top 30 objects which has PSA also
    in that case you have set a procedure to overcome that...by inlcuding those things in Process chain so that deletion will happen if the data gets older by certain days...if not you can go with any program where you can use FM's given SAP .. so that your system wont go into oversize...

  • How to check which Table & Field is populating Data source

    Hi,
    My requirment is to check from which Table and Which field the data is extracted in the data source
    Data Source : 0MAT_PLANT_ATTR
    Field in Data Source :  MINBE
    Now i want to check from where (Table/Field) in R/3 is populating the Field MINBE in Data source 0MAT_PLANT_ATTR
    How can i do that

    Hi,
    Since you have the extract structure and the extractor, you can try Extractor Checker RSA3.Execute ST05 (activating SQL Trace), switch on the trace and execute the extractor checker. Once the extractor checker presents the results
    switch off trace. The clcik on Display trace and you will see all the tables that were hit by the extractor checker to retrieve data and present it to you.
    Note: Set the break point in the Extractor Function module.
    View the ST05 Extended Trace list. The Object name shows the Tables accessed.
    Hope this helps.
    Thanks,
    JituK

  • Actual Goods Issue date and Planned Goods Issue date

    Dear All
    we are loading the january,08 sales  invoice from the legacy system to SAP system through BDC program.
    for this at the time of PGI we are using Actual GI date as month of January, 08 and keeping planned GI date as the system date and at the time of creating sales order, delivery, we are not changing the material available date, loading date, delivery date, at the item level and system taking automatically based on the current date
    when doing PGI system accepting and creating PGI document and billing also creating based on this delivery.
    But dose it give problem in Inventory managements and FI in future, then what would be the right procedure to uploading the back dated invoices in the system.
    Please give me solution for this issue, or what we are doing is the right procedure.
    Thanks In advance

    For those who might come across this note, the design issue was solved by incorporating Rule Groups.
    Problem:
    Need to have 2 different Date references for 0calday, based on the key figures. For example for Sales key figure date it would reference to Actual GI Date. But, for Intake key figure I needed the date reference to be Planned GI date.
    Solution-- applied to the transfer rules of the desired cube:
    1. In the starndard rule group delete the transfer rule for the appropriate key figures. in this case (sales key figure)
    2. In the same rule group map all time characteristics from the cube to Planned GI date from DSO
    3. Create a new rule group in the transfer rule between the DSO and the Info Cube
    4. In the new rule group, create a new rule for the appropriate key figure i.e. sales
    5. In the new rule group, Map the date/week/month/fiscal period to Actual GI date
    6. save/activate
    This solution eliminates the need for changing the data model, which makes everything almost transparent to the report users.
    Hope this helps someone.
    Edited by: Babak Shafiei on Dec 12, 2008 5:23 PM
    Edited by: Babak Shafiei on Dec 12, 2008 5:24 PM

  • How to get days and months when two dates are given

    Hi All,
    I have a requirement where I need to return the number of months and days between given dates.
    I dont need to take the year into account as the dates difference is always less than an year
    I have 28-jun-2012 and 31-jan-2013 as dates.
    I'm working on 10g
    when I do select months_between(:a,:b) from dual and provide those dates it gives me 7.09677
    I want it to give as 7 months and 9 days or what ever the exact days are.
    Your inputs are much appreciated

    BluShadow wrote:
    874719 wrote:
    Thanks a lot,BluShadow for your answer and would you mind giving it for the year as well like 0 years 7 months 3 days?Your original post said:
    I dont need to take the year into account as the dates difference is always less than an yearNow you've got the idea, why not have a go yourself first, and then if you're still not getting it, post what you've tried so we can help you.Oh... go on... I'm in a good mood today...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select date '2012-06-28' as start_date, date '2013-01-31' as end_date from dual union all
      2             select date '2012-02-29', date '2012-06-30' from dual union all
      3             select date '2010-02-28', date '2012-06-30' from dual union all
      4             select date '2012-02-29', date '2012-06-15' from dual
      5            )
      6  --
      7  select start_date, end_date
      8        ,months_between(end_date,start_date) as mnth_bet
      9        ,floor(months_between(end_date,start_date)/12) as yr
    10        ,floor(mod(months_between(end_date,start_date),12)) as mnth
    11        ,case when to_number(to_char(end_date,'DD')) >= to_number(to_char(start_date,'DD')) then
    12           to_number(to_char(end_date,'DD')) - to_number(to_char(start_date,'DD'))
    13         else
    14           (to_number(to_char(last_day(start_date),'DD'))-to_number(to_char(start_date,'DD')))+
    15           (to_number(to_char(end_date,'DD')))
    16         end as dys
    17* from t
    SQL> /
    START_DATE           END_DATE               MNTH_BET         YR       MNTH        DYS
    28-JUN-2012 00:00:00 31-JAN-2013 00:00:00 7.09677419          0          7          3
    29-FEB-2012 00:00:00 30-JUN-2012 00:00:00          4          0          4          1
    28-FEB-2010 00:00:00 30-JUN-2012 00:00:00         28          2          4          2
    29-FEB-2012 00:00:00 15-JUN-2012 00:00:00  3.5483871          0          3         15

Maybe you are looking for

  • XPath Error in Receiver Determination

    Hi All, I hav an outbound message coming out of ERP (Non IDoc). I have to route the message based on the field DESTINATION in the message. The payload in the SXMB_MONI is as follows. <?xml version="1.0" encoding="utf-8" ?> <nr1:OLabelling_OB xmlns:nr

  • SQL Query With analytical function

    Hi Below is the scenario which i am looking for in sql query using analytical functions I/p Col1 50 0 -150 -200 300 -100 -300 500 -100 O/p Col1          col2 50                 0 0                   0 -150          -100 -200              -200 300    

  • How to define another charset?

    Hello, I've installed solaris 9 SPARC, and get no problems in command line interface with charcode, but when i go into X (using VNC) i get an different keyboard configuration. Why this is happening? How can i set an portuguese (pt_PT) charset so i do

  • Can CRM On Demand integrate with SAP applications?

    Hi, Can Siebel CRM On Deamd can work integrated with SAP applications..?

  • Regarding select statement for this requirement

    Hi................ good evening here is a requirement. i want to retrieve data from the following table.but how to join these table is my dought. tables  fields t001w--werks " plant id t001w--name1 " pl;ant name t001w--regio " plant address ekko--ebe