How to calculate the 'real data of arrival' in PO item

Hi,
Confirmation control keys with control type u201CDAu201D are MRP relevant
1.     = New field time of transportation in calendar days
2.     = Confirmation control type u201CABu201D (order confirmation)
3.     = Confirmation control type u201CLAu201D (shipping notification)
4.     = Confirmation control type u201CDAu201D (Date of arrival)
When data 1-3 has been changed = 4 will be calculated again.
Program requirements to calculate the u201Creal data of arrivalu201D:
1.     When 1 >0 days then create 4 directly after placement of 2 (2 can be placed manually or automatically)
2.     4 must be calculated: AB delivery date 2 + calendar date amount 1 = arrival date 4 (MRP gets a confirmed delivery      date by vendor plus transportation time)
3.     When changes in 1 then change 4 (add calendar days to arrival date DA)
4.      When changes in 2 then change 4 = u201Cnewu201D delivery date 2 plus calendar days 1 = new arrival date 4
5.     When 3 u201CLAu201D is entered (manually/automatically) then calculate: shipping date LA 3 plus calendar days 1 = new arrival date in 4
6.     When 1 has been changed then calculate 4 new (Check is 2 existing then use 2, check is 2 + 3 existing then use 3)
7.     When 2 or 3 has been changed quantity then also update quantity in 4
8.     When 2 has been canceled then cancel 4, too
9.     When 3 has an inbound delivery document no. in place then copy the same no. in the inbound delivery field 4 and in the new column in MRP (MD04, see MRP view below)
i have a lot of confuseging in this lines of code,even where u write i don't know in BADI . we are implement in BADI only.
if possiable give me code for this requriment. . this line of code in which method we write,please guide me.............

SDN is not your code factory, please research yourself before posting, maybe ask whoever handed you this requirement?
Thread locked.
Thomas

Similar Messages

  • How to calculate the real height of the text in RichEditableText control?

    Hello,
    I created a new component by extending the RichEditableText control.
    When I try to get the value of contentHeight propery of this class even after compositionComplete event has fired, I get incorrect content height (so called "estimated" height). I was able to obtain the correct value only ater I set verticalScrollPosition to a value beyond this estimated content height thus causing the class to calculate real text height. Here is a code snippet.
    public class ViewerController extends RichEditableText
    public function loadText(){
       var tf:TextFlow = TextConverter.importToFlow(LONG_XML_FILE_WITHOUT_PICTURES_GOES_HERE as XML, TextConverter.TEXT_LAYOUT_FORMAT);
       //Events  
       tf.addEventListener(CompositionCompleteEvent.COMPOSITION_COMPLETE, compositionComplete);
       tf.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE, pictureLoaded);
       this.textFlow = tf;  
       this.verticalScrollPosition = 0;  
       this.textFlow.flowComposer.composeToPosition(); // I assume this makes the control calculate the real size of the text
    private function pictureLoaded(event:StatusChangeEvent):void {
    private function compositionComplete(event:CompositionCompleteEvent):void {     
    But what if I want to know the real height BEFORE I scroll to the very bottom of the text (or before even displaying this component)?

    SDN is not your code factory, please research yourself before posting, maybe ask whoever handed you this requirement?
    Thread locked.
    Thomas

  • How to keep the real data if number length bigger than 15 in excel format

    i have a bank card number column in report, the data type is varchar , and the data is always number , the length is bigger than 15, now if i download the report as excel format, this column's data will alwasys change to something like "5.41321E+17", and due to this, i just format this column to custom=0, but all data will change the last number to "0" like "460025198509180000", this is what i do not wanted.
    how to solve this problem? thanks in advance
    Kaymo
    Edited by: user10740102 on Jun 11, 2009 1:23 AM

    it's because Excel is thinking that it's a number....try changing the formula for the column from Table.ColumnName to the following
    '"'||Table.ColumnName||'"' (or use CONCAT - it's the same)
    This will show quotes and when you download to excel - it'll drop the quotes and keep the number

  • Calculate the Sunday date based on 0CALDAY

    Hi All,
    How to Calculate the Sunday date based on 0CALDAY
    Thanks in advance
    CPY

    use customer exit where you can use this FM /OSP/GETDATE_WEEKDAY

  • How to calculate the hour difference between two dates?

    hi all,
    how to calculate the hour difference between two dates?
    eg i trying this...
    ((TO_DATE(TO_CHAR(GRNi.reference_date_4,'hh24:mi'),'hh24:mi') -
    TO_DATE(TO_CHAR(NVL(GRNi.reference_date_3,SYSDATE),'hh24:mi'),'hh24:mi'))*24)*60 Act_Hr
    Reg.
    AAK

    Hi
    To break the diff between 2 dates into days, hours, minutes, sec -- you can use the following:
    select to_char( created, 'dd-mon-yyyy hh24:mi:ss' ),
    trunc( sysdate-created ) "Dy",
    trunc( mod( (sysdate-created)*24, 24 ) ) "Hr",
    trunc( mod( (sysdate-created)*24*60, 60 ) ) "Mi",
    trunc( mod( (sysdate-created)*24*60*60, 60 ) ) "Sec",
    to_char( sysdate, 'dd-mon-yyyy hh24:mi:ss' ),
    sysdate-created "Tdy",
    (sysdate-created)*24 "Thr",
    (sysdate-created)*24*60 "Tmi",
    (sysdate-created)*24*60*60 "Tsec"
    from all_users
    where rownum < 50
    HTH
    RangaReddy

  • How to calculate the ratio between the maximum and minimum peaks of the two waves using two while loops?

    hello everyone,
    i'm rai from indonesia
    I have a final project about pulse oximetriy, I have some problems,
    how to calculate the ratio between the maximum and minimum peaks of the two waves using two while loops to calculate SpO2 ?
    My program image can be seen below predicament ?
    Attachments:
    spo2 akusisi data with filter lpf hpf smoot nilai max min ir merah.vi ‏249 KB

    Hi Rai,
    You should post this into the LabVIEW forum rather than Real-Time since this isn't a Real-Time application. Your post will see more replies in the LabVIEW forum. 
    As far as your question is concerned, you can write the max and min from the respective loops to a local variable to send the data out of the loops to a third loop or just do the calculation in one of the loops. This would be ideal if you're trying to do this while the loop is running. 
    -Jayk
    Applications Engineering
    National Instruments

  • How to calculate the Daily Call Volume

    Hello,
    Can anyone please advise how to calculate the daily call volume in a contact center - the counts of the calls terminated in ICM ?
    Is there any webview report or a SQL query which provides the count ?
    Many thanks in advance for the help!
    Thanks & Regards,
    Naresh

    The ICM software generates a Termination_Call_Detail record for each call that arrives at the peripheral. From This report you can get the number of calls to ICM as well as the call details.
    To get the report run this sql query
    select * from dbo.t_Termination_Call_Detail where convert (varchar(10), DateTime, 101) = '12/03/2010'

  • How to calculate the variance in PO price history?

    hi
    i hav standard report ME1P, since i need to do some modifications in this program i copied to Y prgrm,,,'
    im getting all the values properly...
    but my prblm is im not getting how to calculate the variance? im not getting the logic behid it...
    can anybody expln me in breif plz....
    Regards
    Smitha

    Hi Venu,
    there is another way as well, however, you won't be able to see Variance and Variance% as a saperate keyfigure which is not under the period. Thats the reason I didn't mention it earlier.
    What you can do is, Drag the period to the columns, Now create a structure that has the two keyfigures std price, moving price. Here if you add Variance and Variance%, Then these CKF's would come under period as well, which you don't need. And the system won't allow you to add these CKF's outside this structure. The reason being because the interpretation of the data then wouldn't make any sense here. You can create a new structure as well with these CKF's but they would become a subpart of your previous structure.
    choose the required characteristics in the Rows section. Save it.
    Let us know, Sorry man, can't help u much at this problem.
    regards,
    Sree.

  • How to calculate the quota base quantity in quota arrangement?

    Hi all,
    As we all know, when a new supplier is added in the quota arrangment, we take the help of quota base qunatity so that the new supplier does not get any unfair advantage over the existing suppliers. Would you please help me on how to calculate the quota base quantity or on what basis the quota base quantity is calculated?*
    Regards,
    Ranjan

    Dear,
    Quota arrangement divides the total requirements generated over a period of time among the sources of supplied by assigning a quota.
    Quota u2013 quota is equal to a number and its represents the proportionate of requirements. Total quota of all the vendors is equal to 100% of requirements.
    This quota arrangement is also specific to material and plant level.
    Quota rating = quota allocate quantity + quota base quantity / quota.
    Quota based quantity used only when a new vendor introduced.
    In the as on date situation, the minimum quota ratings will considered as preferred vendor.
    The 2 vendors has 2 same quota rating, the vendor who is having the highest quota will considered first.
    In the running quota, a new source of supply is included. (In situation of short supply) including a new source not means to reduce the quota for existing.
    Regards,
    Syed Hussain.

  • How to calculate the individual sums of multiple columns in a single query

    Hello,
    Using Oracle 11gR2 on windows 7 client. I have a question on calculating sum() on multiple columns on different columns and store the results in a view. Unfortunately I could not post the problem here as it keeps on giving error "Sorry, this content is not allowed", without telling where or what it is! So I had to post it in the stack-overflow forum, here is the link: http://stackoverflow.com/questions/16529721/how-to-calculate-the-individual-sums-of-multiple-columns-in-a-single-query-ora
    Will appreciate any help or suggestion.
    Thanks

    user13667036 wrote:
    Hello,
    Using Oracle 11gR2 on windows 7 client. I have a question on calculating sum() on multiple columns on different columns and store the results in a view. Unfortunately I could not post the problem here as it keeps on giving error "Sorry, this content is not allowed", without telling where or what it is! So I had to post it in the stack-overflow forum, here is the link: http://stackoverflow.com/questions/16529721/how-to-calculate-the-individual-sums-of-multiple-columns-in-a-single-query-ora
    Will appreciate any help or suggestion.
    ThanksLooks like you want a simple group by.
    select
              yr
         ,      mnth
         ,      region
         ,     sum(handled_package)
         ,     sum(expected_missing_package)
         ,     sum(actual_missing_package)
    from test
    group by
         yr, mnth, region
    order by      
         yr, mnth, region;I wouldn't recommend storing your data for year / month in 2 columns like that unless you have a really good reason. I would store it as a date column and add a check constraint to ensure that the date is always the first of the month, then format it out as you wish to the client.
    CREATE TABLE test
         year_month                              date,
        Region                     VARCHAR2(50),
        CITY                       VARCHAR2(50),             
        Handled_Package            NUMBER,       
        Expected_Missing_Package   NUMBER,   
        Actual_Missing_Package     NUMBER
    alter table test add constraint firs_of_month check (year_month = trunc(year_month, 'mm'));
    ME_XE?Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
      2  Values (to_date('2012-nov-12', 'yyyy-mon-dd'), 'Western', 'San Fransisco', 200, 10, 5);
    Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
    ERROR at line 1:
    ORA-02290: check constraint (TUBBY.FIRS_OF_MONTH) violated
    Elapsed: 00:00:00.03
    ME_XE?Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
      2  Values (to_date('2012-nov-01', 'yyyy-mon-dd'), 'Western', 'San Fransisco', 200, 10, 5);
    1 row created.
    Elapsed: 00:00:00.01
    ME_XE?select
      2        to_char(year_month, 'fmYYYY')    as year
      3     ,  to_char(year_month, 'fmMonth')   as month
      4     ,  Region
      5     ,  CITY
      6     ,  Handled_Package
      7     ,  Expected_Missing_Package
      8     ,  Actual_Missing_Package
      9  from test;
    YEAR         MONTH                REGION                         CITY                    HANDLED_PACKAGE EXPECTED_MISSING_PACKAGE ACTUAL_MISSING_PACKAGE
    2012         November             Western                        San Fransisco                       200                       10                      5
    1 row selected.
    Elapsed: 00:00:00.01
    ME_XE?Then you have nice a nice and easy validation that ensures you data integrity.
    Cheers,

  • Doubt  in  how to   calculate  net  due date

    Hi..
    Experts   i have   doubt  in my  salesmen  ageing  report  i have to  display
    netamout    day  wise  in the range of   0-30 days , 30-60  days and  > 60 days
    how to calculate  the date difference between  to  date  one is invoice creation  date  and another  one is  system date.
    Give  me  any   function  module  available  to count  the  date  difference
    and how  i filter  the  amount  date  wise.
    Thanks Regds
    Prabir Kumar Dandpat

    Hi,
    check fm;
    SD_DATETIME_DIFFERENCE
    regards,
    Navneeth K.
    Message was edited by:
            Navneeth Bothra

  • Open hub Services - How to extract the master data related to a object ?

    Hi Gurus,
    I am implementing OpenHub services for our project, it's on BW 3.5, I have the list of required fields with which I am creating an InfoSpoke. Now I am stuck in some the info objects which are having master data associated with it.
    Example : Business partner(BP) data, when I map the 0BP infobjects in infospoke it's extracting the BP ID (ex: CT065316,CT068638 etc) in flat file but I want the BP name, address & telephone number as well, which are coming from master data table. But I am able to map only 0BP infobjects as a part of ODS/Cube.
    Can any one tell me how to get the master data extracted in the flat file with associated info object???
    Answers will be highly appreciated.
    Regards,
    Kironmoy Banerjee
    Edited by: Kironmoy Banerjee on Oct 1, 2009 3:34 PM

    Hi Kironmay
    Please follow the below mentioned procedure to create a transformation. This is applicable for BW 3.5 as well.
    - Enter your infospoke in the edit mode.
    - On the Transformation tab set the indicator for the Infospoke with Transformation with BADI so that the infospoke is activated.
    - This will take you to the Addin implementation/BADI builder.
    - Enter the short text/description for the implementation. The implementation name is always the same as the technical name of the infospoke
    - The implementation of the BADI is always filter dependant.
    - In the properties tab of the infospoke enter your infospoke under the Filter specifications.
    If you do not specify an InfoSpoke under Filter Specifications, then this implementation is valid for all InfoSpokes. This means that this is called up for all InfoSpokes during the extraction.
    - Activate your class
    - From your interface tab page, double click on the Transofrm Method and you will arrive in the class builder page
    - Here you can enter the code
    - To do a look up of the master data you have to write a code similar to the one I've given below. This is just an example for looking up material master.
    IF FLT_VAL = 'Your infospoke'.
        T_DATA_IN[] = I_T_DATA_IN[].
    Select zstd_cost from /bi0/pmaterial into table T_return
    For all entries in T_DATA_IN
    WHERE material = T_DATA_IN-material.
    ...Continue with your code.
    Append output from T_return to your output E_T_DATA_OUT
    - Activate your method. Return to the BAdI builder. Return to your InfoSpoke.
    I hope this helps.
    Thanks.

  • How to calculate the number of sent/received emails of a certain domain

    Thank you for what you have helped me with!
    How to calculate the number of sent/received emails of a certain domain in a certain period? It is Messaging Server 5.2, Directory Server 4.2. Is there a log option for this?
    Thank you.

    Not sure where you find, "LOG_MESSSAGE_ADD". I don't actually find this option in the documentation.
    The domains that mails are coming from and being sent to are certainly logged in the normal mail.log, so why mess with additional logging options? If you're talking about "LOG_CONNECTION", I actually see no additional data that is useful to you.
    If you decide to change the option.dat, you do indeed need to
    imsimta cnbuild (note, it's not cnrebuild)
    imsimta restart
    If I were facing the same issue, I'd be looking at the log parsing perl script, and simply modifying it to do what I wanted.

  • How to make the 'Finish Date' field Editable in Project server 2013

    Hi All,
    In Project server 2013 on premises deployment, When I try to create a new enterprise project [Also in case of new custom project type], Only the 'Start Date' field is available. The 'Finish Date' field is by default taking the value of the 'start Date' itself.
    I am unable to make this 'Finish Date' field editable.
    Any pointers on this would be very helpful,
    Thanks
    Shanky

    Shanky --
    When you create a new project in either Microsoft Project Professional or Project Online, the system does not allow you to enter both a Start date and a Finish date for the project.  Here is how the software works:
    You enter the Start date of the project.
    You completely plan the project with tasks, task dependencies, task Durations, and assigning resources to tasks.
    Based on the Start date you provide, plus all of the task information, the software calculates the Finish date of the project for you.  So, you cannot provide both the Start date and the Finish date, nor is they any way to force the system to allow
    you to do this.  Hope this helps.
    Dale A. Howard [MVP]

  • How to calculate the size of web forms in hyperion planning?

    Hi Experts,
    I am trying to calculate the size of planning forms in Hyperion smart view., but i am unable to find out the way to calculate.
    Can you pls explain how to calculate the size of web form in Smart view?
    --- Srini.

    Hi Srini,
    First, here is what Oracle says:
    Data Form Size Estimation:
    To get a rough estimate of data form size, open the data form and select File > Save As from the browser. The size of the .HTML file is the portion of the data form that changes based on grid size. The .JS files remain the same size and can be cached, depending on browser settings. Information such as data form definitions, pages, and .gif files are not compressed when data forms are opened and sent to the Web browser.
    I have not been able to find out using their method.
    In any case, you can find out the size of grid by using below
    1. Right click on the form grid and click "View source"
    2. Save the source file as "Example.html"
    3. Right click the saved file and click "Properties"
    4. The Form size whould be same as that of file..
    Let me know if it helps.
    Cheers
    RS

Maybe you are looking for

  • WiFi Sync Broken or Erratic

    Up until the beginning of 2014, my iPhone 4S always synced perfectly over WiFi with my PC. But then... I upgraded. You know what they say about fixing what ain't broke... Now running the latest iTunes and IOS versions, I've been battling for a few mo

  • Running IMovie with Front Row

    Can IMovie, on a Macmini, be recording images and sound from a camera, such as a web cab, while at the say time Front Row? I record Karaoke performance for posting on the Internet. The songs with lyrics are shown on a screen.

  • How do I put email in iMessage

    I have two Apple ID and how would I put them so I get messages from both emails on one ipod

  • IOS PS Express loading photos very slow

    i'm using an iPhone 4s running the latest iOS. i downloaded PS Express to try. i liked the effects it has so i did the in-app purchase for both the Effects & Border packs. now, everytime i go to "Select Photo" from the main screen, and choose a photo

  • You Cannot Use This Version of iMovie With This Version of Mac OS X

    +*Cannot Use This Version of iMovie With This Version of Mac OS X*+ Yes, I can. iMovie just doesn't want to cooperate. I checked the requirements, it says: an Intel-based Mac, a Power Mac G5 with dual 2.0 GHz or faster processors, or an iMac G5 at 1.