Copy due date from SO to Delivery

Hi Experts
I need to copy the due date which is on the sales order to the delivery using a user defind value.
I have used following SELECT T0.DocDueDate FROM ORDR T0 WHERE T0.U_OrderNo = [$U_OrderNo.0.0]
The last bit of this query does not seem to be correct (i tested it by prefixing the order number)
can some one hlp me with this.
If not is there a different query i can use to copy the due date value from the sales order to the due date field of the delivery doc
Thank you
Regards
Apsara

Hi Apsara,
If I've understood correctly then it is like this
There is a UDF in SALES ORDER. i.e. defined under Marketing -
> Title through User defined fields management.
You want Docduedate copied to that UDF
And same UDF will be available in DC.
If this is right then try following by setting a FMS on that UDF
This will populate the UDF and when you will pull this SO to DC this will get copied there.
select $[Ordr.docduedate.date]
Thanking You
Malhaar

Similar Messages

  • Copy Due Date from Post Date

    Hello Gurus,
    When i enter a sales order or production order, is there anyway that due date can be copied from post date (e.g postdate+3)?
    So, user doesn't have to enter manually.
    Thanks

    Chirag,
    This is quite simple.  The one shown below is for calculating the DueDate based on Posting date on Sales Order or any marketing document
    SELECT DATEADD(DAY,3,$[$10.0.DATE])
    This will add 3 days to the Posting Date
    If you want the same date as the posting date instead of 3 in the second parameter use 0.
    Best
    Suda

  • Copying header text from STO to Delivery

    Dear Gurus ,
    I would be very gladful if somebody could help to resolve this issue ,
    My client requirment is ,
    While creating delivery , he wants header text from STO to be copied to delivery header .
    How this can be achived ??
    Thanks in advance.

    Hi Amod,
    Please use Standard Text Type (TCODE: VOTXN) under Customer --> Sales & Distribution --> Text Procedure 01(Customer Sales Text) --> 0002 Text Group for copying shipping instructions from STO to delivery document.
    So, maintain Shipping instructions under customer master data linked to Receiving Plant for STO process & the same data will copy into STO & delivery document.
    Hope this will answer your query.
    Regards
    Sumesh

  • Copy the data from first line while dynamically adding a new line in table

    Hi,
    1. There is a table
    2. An add button adds a new line to the table using 'AddInstance'
    3. A record is entered in the first line
    4. When the add button is clicked it adds a new line and along with it copies the data entered in the first line
    My question is how to copy the data from the first line and show it in the new line added. This is required so that user can use most of the common values in the first line.
    Thanks,
    Nikhil

    You can use the following Java Script in the Click event of the button.
    // Get the number of rows in the table
    var nrows = xfa.resolveNodes("page.table.DATA[*]").length;
    // Add a new instance(row) to the table
    page.table.addInstance.instanceManager(1);
    xfa.form.recalculate(1);
    // Copy the values from the first line to the newly created row
    page.table.DATA\[ nrows \].field1.rawValue = page.table.DATA\[ 0 \].field1.rawValue;
    ..........field2
    ..........field3
    Thanks,
    Chandra Indukuri

  • How to copy the Data From Oracle Table To SAP Table

    Hi Friends,
    We need to copy the data from Oracle Database Table to SAP Table. The data should be updated simultaneously in both tables . Should I write a program that contains the native sql statement like EXEC SQL PERFORMING WRITE,....
    I appreciate any suggestions regarding this.
    Regards
    CSM Reddy

    Hi,
    since you posted this question in the DB2 forum I assume that you are using a DB2 database for your SAP system.
    To access a table from a legacy ORACLE database you may use the DBSL multiconnect feature. I.e. you open a secondary connecction in the SAP system to your ORALE database. You can then ready the data from the ORACLE database into an ABAP internal table and insert it afterwards into the DB2 table on the main connection.
    Another way to access an ORACLE table from a DB2 database is to use the DB2 federated database feature. This requires a little bit more DB2 skill. With this feature you can make the ORACLE table visible within the DB2 database. To copy data you can then simply use a "INSERT ... SELECT" statement. 
    Regards
             Frank

  • User exit to copy the data from sales order to billing document

    hi everyone,
    Is there an user exit to copy the data from sales order to billing document?
    Regards
    Prabudh

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Concerning midi data in GarageBand for iOS: can we copy midi data from one virtual instrument to another?

    Concerning midi data in GarageBand for iOS: can we copy midi data from one virtual instrument to another?
    For instance: I play my "lucky take" on the virtual piano, and now I am curious how it would sound on let's say a organ. Normally I would select the midi content out of the piano track and copy it into the organ track. I cannot figure out how to do this in GarageBand for iOS. Is there anyone out there with a solution?
    Thanks!

    It is limited, how you can move regions between tracks. Basically, you can move between tracks with the same touch instrument.  See the help: http://help.apple.com/garageband/ipad/2.0/index.html#chsec12c15d
    Move a region
    Drag the region left or right to move it forward or back in time. Align the left edge of the region with the bar or beat on the ruler where you want it to start playing.
    Drag the region up or down to move it to another track with the same Touch Instrument. You can also drag regions between Keyboard and Sampler tracks, and between Audio Recorder and Guitar Amp tracks. Smart Drums regions cannot be dragged to another Smart Drums track.
    If you move a region so that it overlaps another region, the overlapped part of the “covered” region is deleted.
    Paste a region
    You can paste a region you have copied, or paste an audio file from an app that supports copying audio to the clipboard. GarageBand supports 44.1 kHz sample rate, 16-bit depth uncompressed audio files.
    You can paste copied regions to another track with the same Touch Instrument. You can also paste regions between Keyboard and Sampler tracks, and between Audio Recorder and Guitar Amp tracks. Smart Drums regions cannot be pasted to another Smart Drums track. Audio files copied from another app can be pasted to Audio Recorder or Guitar Amp tracks.
    Move the playhead to the point where you want the region to start.
    Tap the header of the track where you want to paste the region to select the track.
    Tap the track where you want to paste the region, then tap Paste.You can also tap an empty area of Tracks view, then tap Paste. In this case the region is pasted into the currently selected track.

  • How to copy the data from one database to another database without DB link

    Good Day,
    I want to copy the data from one database to another database with out DB link but the structure is same in both.
    Thanks
    Nihar

    You could use SQL*Plus' COPY command
    http://technology.amis.nl/blog/432/little-gold-nugget-sqlplus-copy-command
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/apb.htm#sthref3702
    Edited by: Alex Nuijten on Sep 16, 2009 8:13 AM

  • How to copy table data from onde DB to another DB using clipboard

    HI,
    i copied table data from one DB to another DB, but it displays an error as "policy with check option violation" when inserting the table data.. so how to resolve the proble.. thanks in advance.

    DECLARE
    log_utl_dir VARCHAR2(100) :=('/apps/home/cmsftp/log/gaa');
    CURSOR tb_compy_cur is
    select tb.compy_acronym
    -- QC 158113 - added below
    ,tb.ivr_plan_num
    from tb_fc_compy tb,tb_xop_entitlements te
    where tb.grant_award_accept_flag = 'Y'
    and tb.ivr_plan_num = te.ivr_plan_num
    and te.entitle_name = 'GAA_RECONCILED'
    union all
    select compy_acronym
    -- QC 158113 - added below
    ,tb.ivr_plan_num
    from tb_fc_compy tb
    where tb.res_stock_flag = 'Y'
    --and   (tb.res_auto_lapse_flag = 2 OR
    --tb.res_auto_lapse_flag = 3)
    and exists (select entitle_name from tb_xop_entitlements te
    where tb.ivr_plan_num = te.ivr_plan_num
    and te.entitle_name = 'GAA_RES_FLAG'
    and te.optionee = 'Y'
    and te.psrep = 'Y'
    and te.sponsor = 'Y'
    and te.advisor = 'Y');
    v_xopgrantz_insertcount NUMBER := 0;
    -- QC 158113 - added below
    v_xopgrantz_accpt_count NUMBER := 0;
    v_user_id VARCHAR2(30);
    insert_file_id UTL_FILE.FILE_TYPE;
    insert_log_file varchar2(45) := 'xop_grantz_insertstats.log';
    BEGIN
    DBMS_OUTPUT.PUT_LINE('success1');
    insert_file_id := UTL_FILE.fopen(log_utl_dir,insert_log_file,'w');
    UTL_FILE.put_line(insert_file_id,'Starting the Process at '|| CURRENT_TIMESTAMP);
    UTL_FILE.put_line(insert_file_id,'INSERTING ROWS FOR Companies turned on for GAA_RECONCILE and GAA/RESSTOCK');
    for compy_rec in tb_compy_cur loop
    v_user_id := 'CMS'||compy_rec.compy_acronym||'_USER';
    ctx_set_session.set_user_session(v_user_id);
    dbms_output.put_line ('success2'||''|| v_user_id);
    INSERT into xop_grantz(grant_num,
    user_id,
    last_user_id,
    restrict_grant,
    child_symbol,
    parent_grant_flag,
    bulking_overide_flag,
    exerrestrict_code,
    rounding_method,
    exercisiable_dt,
    def_res_units_flag,
    opt_gain_def_elig_flag,
    opt_gain_deferred_flag,
    opt_gain_deferred_dt,
    opts_accepted,
    lst_updtby_usercd,
    accepted_type,
    GAA_eligible,
    GAA_LST_UPDTBY)
    select g.grant_num,
    v_user_id,
    'GRNTACCPT',
    'N',
    'N',
    (sel ect code
    from tb_xop_exerrestrict_codes
    where cash_allowed = 'Y'
    and cashlesshold_allowed = 'Y'
    and cashlesssell_allowed = 'Y'
    and stockswap_allowed = 'Y'
    and restricted_allowed = 'Y'
    and sar_allowed = 'Y'
    and cashmargin_allowed = 'Y'
    and cashpartial_allowed = 'Y'
    and sarsale_allowed = 'Y'),
    NULL,
    'N',
    'N',
    'N',
    NULL,
    NULL,
    NULL,
    'N',
    NULL,
    NULL
    from grantz g
    where not exists(select 1
    from xop_grantz xg
    where xg.grant_num = g.grant_num);
    v_xopgrantz_insertcount := SQL%ROWCOUNT;
    dbms_output.put_line ('1');
    -- QC158113 - Optimisation fix--starts
    DELETE FROM gt_xop_grant_accpt_type;
    INSERT INTO gt_xop_grant_accpt_type
    SELECT g.grant_num,e.ivr_plan_num,
    pk_xop_grntaccpt.fn_get_accpt_type (v_user_id,
    g.plan_num,
    g.grant_dt,
    g.opt_num,
    g.grant_cd,
    g.plan_type,
    'Y'
    FROM grantz g,tb_xop_entitlements e
    WHERE plan_type IN (2, 4, 5, 7, 8)
    and g.user_id = v_user_id
    and e.ivr_plan_num = compy_rec.ivr_plan_num
    and entitle_name = 'GAA_RES_FLAG' ;
    dbms_output.put_line ('success3');
    v_xopgrantz_accpt_count := SQL%ROWCOUNT;
    UTL_FILE.put_line(insert_file_id,'Inserted count in gt_xop_grant_acceptance '|| v_user_id||v_xopgrantz_accpt_count);
    -- QC158113 - Optimisation fix--ends
    COMMIT;
    UTL_FILE.put_line(insert_file_id,'Inserted count in XOP_GRANTZ for USER_ID '|| v_user_id||v_xopgrantz_insertcount);
    ctx_set_session.set_user_session('');
    dbms_output.put_line ('process completed');
    end loop;
    UTL_FILE.fclose(insert_file_id);
    EXCEPTION
    when others then
    rollback;
    dbms_output.put_line ('Code '||SQLCODE||':'||SQLERRM||' at '||v_user_id||' .pr_xopgrantz_insert');
    pr_xop_log_errors('Code '||SQLCODE||':'||SQLERRM||' at '||v_user_id||' .pr_xopgrantz_insert');
    pr_xop_log_errors('Code '||SQLCODE||':'||SQLERRM||'INSERTING into xop_grantz for ALL grants');
    END;
    i received this error when running the procedure also, so the table gt_xop_grant_accpt_type is not populated
    {Code -28115:ORA-28115: policy with check option violation at CMSFB_USER .pr_xopgrantz_insert}

  • Copy historical data from one material to another

    I have added a new material in the planning hierarchy and need to copy historical data from an existing material to this new material.
    For achieving the same I carried out below steps:
    In the forecasting view of the new material I added the existing material as reference material: consumption, also added the reference plant, validity period and multiplier.
    But then too system is not copying the historical data of that material to the new material..I cannot see any data in MC94 or in the infostructure.
    Please let me know where am I going wrong or if I am missing any setting.....
    Thanks in advance.
    Regards,
    Sonal

    Dear ,
    System will not copy the Reference material consumption to new material consumption -Total Consuption tab .If  you maintain those filed like
    1.Reference material consumption
    2.Ref.Plant Consumptuion
    3.Date To
    4.Multipler
    5.Similar Period Indicator -M/W ( some time if you maintain the frist 4 option but not same period indicator , system will not consider the consumption ) .
    Based on the above set up  , when you execute the Forecast ( Indiviaully -MM02-Forcaste Tab or MP38 collectively or through SOP) , forcast programme will use the  historical values of Refe.Material and project  the  new material\s forcasted demand as per your forecast period ( 2 months or 3 motnhs etc )  in the forecasting view .
    System will not copy the Historical valu to total consumption tab of the new material ok .
    If you need to copy the  consumption of old material to new material , you have to use report RMDATIND, MVER_DI or BAPI_MATERIAL_MAINTAINDATA_RT .For more details please refer the OSS Note 200547 - Program: Direct input for consumption values
    More over why do you need to copy when u have facility to have refence in Forecasting view !
    Just chek the above points wht i have mentioned and execute forecast .Do not forget to keep same period indicaotor-M/W what ever .
    Test a sample and procced .
    Hope it is clear .
    Regards
    JH
    Edited by: Jiaul Haque on Jun 5, 2010 10:12 AM

  • Copying shipping instruction from STO to Delivery

    Hi Experts ,
    My client wants to copy shipping instructions from STO to Delivery .
    I would very thankful for any help for configuration.
    I already made search , but I couldnt find for shipping instructions.
    Maaany thanks in advance.

    Resolved Thanks.

  • SCM APO can we copy the data from client 001 to client 002???

    Hi Guru's
    SCM APO can we copy the data from client 001 to client 002???
    If it is possibulity please let me know?
    Regards,
    Sree

    Yes you can do.
    Tcode SCCL.
    Options :
    When copying clients, you can select what you want to transfer from the source client to the target client:
    User masters: You select this option, for example, if you want to give all users of an existing client the same authorizations in the target client.
    Client-specific Customizing: You select this option, for example, if you want to set up a new client in an existing system.
    Client-specific Customizing and master/transaction data:
    You select this option, for example, if you want to set up a test client that is identical to the production client (in the same system).
    Client-specific and cross-client Customizing: You select this option, for example, if you want to set up a quality assurance system based on the production client of another system.
    Client-specific and cross-client Customizing and master/transaction data: You select this option, for example, if you want to set up a test client based on the production client of another system.
    http://help.sap.com/saphelp_46c/helpdata/EN/69/c24c4e4ba111d189750000e8322d00/frameset.htm

  • Copy Master Data from BW cube to BPC cube

    Hi,
    I need to copy a master data from BW cube to BPC cube.
    Can I do this from BW? That is, Can I copy master data from the view of the cube of BPC in BW?
    I do this from BW and then I see the master data in my BPC cube from the BW view, but when I open my cube in the BPC environment, I don't see nothing of the master data.
    What's the problem?
    Regards,
    Miguel.

    Hi Miguel -
    I think you are asking if you can copy transactional data from a BW cube into a BPC cube (cubes do not contain master data).
    If this is what you want to do, yes the BPC IMPORT package is a delivered data manager package that allows you to select a BW cube, transformation file, and additional options (such as work status checking and default logic execution).  The use of the Data Manager [process is the "best practice" since you will need to transform the BW data model into the BPC data  model and the tools delivered in the IMPORT data manager package are ideally suited for the job.  You can automate this process by following the guide at:
    [https://wiki.sdn.sap.com/wiki/display/BPX/Enterprise%20Performance%20Management%20%28EPM%29%20How-to%20Guides|https://wiki.sdn.sap.com/wiki/display/BPX/Enterprise%20Performance%20Management%20%28EPM%29%20How-to%20Guides]  The specific document is:  "How to Export BPC Transaction Data Using a Custom Process Chain"
    If you are actually asking for the process for loading master data into BPC dimensions, please read the following "How To" guide that describes the current best practices:
    [https://wiki.sdn.sap.com/wiki/display/BPX/Enterprise%20Performance%20Management%20%28EPM%29%20How-to%20Guides|https://wiki.sdn.sap.com/wiki/display/BPX/Enterprise%20Performance%20Management%20%28EPM%29%20How-to%20Guides]  The specific document is: "How to Automate Master Data Loads in BPC NW"
    Regards,   
    Sheldon

  • Can't shown chinese text when copy & paste data from server to Outlook, Word & notepad, etc.( Office 2013)

    Can't shown chinese text when copy & paste data from server to Outlook, Word & notepad, etc.( Office 2013)

    Hi
    As per the information and details provided by you, when you copy & paste a data from server to Outlook, word, notepad, then you do not receive the Chinese text.
    For Outlook, please follow these steps: -
    Close and reopen Outlook in your western locale (or switch the windows system to your Western locale if you changed that),
    Manually change the message from Western to Chinese encoding, which you can do in all versions up to Outlook 2007.
    If you want to stay in your Chinese locale in Outlook 2007, then:
    After you hit reply, go to the Option tab > More Options.
    In the Encoding drop-down menu, select the Chinese encoding you are working in (Not the encoding used by the person who will receive the message)
    Note:
    To set the Chinese locale in all versions up to 2007 the controls are under.
    Tools > Options. In Outlook 2010 File tab > Options > Advanced > International options.
    Unicode (UTF-8)
    is a good setting for multilingual users.
    Check the
    Auto select 2007)/ Automatically select (2010) encoding box.
    I hope this information will be helpful for you.
    Thanks and regards
    Shweta@G 

  • I was just copying my data from stand by phone by using phone to phone data transfer but phone also locked with i cloud login of stand by phone what to do

    i was just copying my data from stand by phone by using phone to phone data transfer but phone also locked with i cloud login of stand by phone what to do

    If it's a hardware problem, then the phone will need to be replaced.
    There is no magic that can fix a hardware problem.

Maybe you are looking for

  • HP OfficeJet 7310 on Windows 7 64-bit

    After using HP Solution Center on Windows 7 64-bit to scan images and documents to my computer for years, it suddenly stopped working. I got an error upon starting it that said there was an incomplete install. I tried installing the full printer solu

  • Using the Data Engine Java API

    I try to use the Data Engine Java API to generate an XML document from database data. So as mentioned in the documentation Business Intelligence Publisher User's Guide Release 10.1.3.2 (page 4-26 to 4-27) a) I created a java class (using Jdev Version

  • Is a third-party tool required for data extraction to non-SAP system?

    Hi, I want to extract data to non-SAP systems with the open hub service. If I choose Database tables as open hub destinations, I would like to know if a third-party tool is mandatory and if it's possible to send data directly from database tables in

  • IPod 3rd gen not working

    I reseted my iPod and now it isn't opening. I tried charging it normally for 2-3 hours and it didn't work. After, I tried putting it on the computer and the computer said that it doesn't recognize the usb driver. I tried holding the home and power bu

  • IMac 27 GPU Error With Mountain Lion - Frozen

    7/27/12 2:04:26.000 AM kernel[0]: AMDBartsGraphicsAccelerator: ** Device in slot: SLOT--1 ** 7/27/12 2:04:26.000 AM kernel[0]: ** GPU Debug Info Start ** 7/27/12 2:04:26.000 AM kernel[0]: 0x00006720 7/27/12 2:04:26.000 AM kernel[0]: 0x00000091 7/27/1