Functional Module for Delivery date update

Hi all,
Can anybody help me to solve my problem. My requirement is to update order delivery date for a partner. But I am not getting any FM for that and not getting the table name also where I can update delivery date value. If you have any known FM or any suggestion please tell me.
Thanks in advance
Chandan

Hi all,
Can anybody help me to solve my problem. My requirement is to update order delivery date for a partner. But I am not getting any FM for that and not getting the table name also where I can update delivery date value. If you have any known FM or any suggestion please tell me.
Thanks in advance
Chandan

Similar Messages

  • Function Module for Delivery date update

    Hi all,
    Can anybody help me to solve my problem. My requirement is to update order delivery date for a partner. But I am not getting any FM for that and not getting the table name also where I can update delivery date value. If you have any known FM or any suggestion please tell me.
    Thanks in advance
    Chandan

    Hi,
    The function module is
    <b>/1CRMG0/CUST_CHAN_WRT_I01</b>
    Best Regards,
    Johnny.

  • Function Modules for Format Date, Month Name and Quarter value.

    Hi All,
    1. I am getting the date field from the Flatfile, so i need to format the date to YYYYMMDD. Is there any Function module for that in BW.
    2. Based on the above Formated Date i have to find out the Name of the Month like JANUARY, FEBUARY etc.
    3. Based on the same above Formated Date i need to find out the Quarter like 1, 2 etc.
    Could you please let me know if any function modules are there for the above questions in BW not in ABAP, why i mention is some Function modules are there in ABAP but not in BW.
    Thanks in advance.
    Regards,
    srinivas

    Hi ,
    1.If your input date format is MMDDYYYY then Use SDATE as conversion routine in trans strucutre to convert into YYYYMMDD.
    2.By passing year as input parameter for the following FM you would get all the months with text.Using READ statement in routine you can get month name
    MONTH_NAMES_GET
    3.For Quarters you can use the following FM:
    TSTR_PERIODS_QUARTERS
    hope it helps...
    regards,
    Raju

  • Function Module for Discount Date

    Hi,
         Can somebody tell me whether there is any function module for determining the Discount Date (DATS) and Payment Due Date(DATS) based on Payment Terms (ZTERM)?
    Thanks,
    John.

    FI_FIND_PAYMENT_CONDITIONS
    DETERMINE_DUE_DATE

  • Function Module for selecting date by day

    Is there any function module to choose date by day. for example if I give today's date the FM should give me next thursday's date.
    Thanks
    Tharani

    this works good........
    *& Report  YCHATEST                                                    *
    REPORT  YCHATEST
    data:day like DTRESR-WEEKDAY.
    parameters:curr_dat like sy-datum default sy-datum.
    CALL FUNCTION 'DATE_TO_DAY'
      EXPORTING
        DATE          = CURR_DAT
    IMPORTING
       WEEKDAY       = day.
    write : / day.
    case day.
    when 'Monday'.
       CURR_DAT = CURR_DAT + 3.
    when 'Tuesday'.
       CURR_DAT = CURR_DAT + 2.
    when 'Wed.'.
       CURR_DAT = CURR_DAT + 1.
    when 'Thursday'.
       CURR_DAT = CURR_DAT + 7.
    when 'Friday'.
       CURR_DAT = CURR_DAT + 6.
    when 'Sat.'.
       CURR_DAT = CURR_DAT + 5.
    when 'Sunday'.
       CURR_DAT = CURR_DAT + 4.
    endcase.
      write :/ CURR_DAT.

  • Function module for Delivery and billing based on sales order

    Hi Friends
    I am developing an object which has to create the sales order, delivery for that sales order and billing for it at the same time.
    I have tried for few function modules to create the delivery and billing but I am not able to achieve.
    Would you please help me by providing the correct function modules for these 2 activities?
    Thanks
    Praveen

    Hi Nikhil
    Thanks for reply,
    i am creating the sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT1" only, but the billing document bapi
    "BAPI_BILLINGDOC_CREATE" is for online creation, it will call the t-code 'VF01'.
    I need to create the billing document with out calling the t-code like using bapi for sales order. Please suggest me if there are function modules to achieve this.
    Thanks
    Praveen

  • Function modules for Master Data

    Does anyone know of any function modules that can be used to
    update master data, i.e. change attribute values.
    Obviously it can be done without going through a MD load, because you can manually edit master data directly in BW, but I was wondering if anyone knows of any function modules available to do this ...
    Thanks for you help.
    Mark.

    hi Mark,
    take a look how to doc 'How to... update Master Data during upload of transaction data', there is sample code
    https://websmp202.sap-ag.de/~sapdownload/011000358700002766042003E/HowToUplMasterDataTransact.pdf
    you may need RSDDS_ATTRIBUTES_ACTIVATE to activate data.
    hope this helps.
    REPORT Z_UPLOAD_ATTR .
    data: begin of custattr occurs 5000.
            include structure /BI0/MD_SOLD_TO.   "M-view
    data: end   of custattr.
    start-of-selection.
    *fill internal table – all values in internal format (e.g. leading zeros)
    custattr-D_SOLD_TO  = '0000006000'.
    custattr-D_COUNTRY  = 'US'.
    custattr-D_INDUSTRY = '111'.
    append custattr.
    custattr-D_SOLD_TO  = '0000006001'.
    custattr-D_COUNTRY  = 'CA'.
    custattr-D_INDUSTRY = '222'.
    append custattr.
    call function 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
         exporting
              i_iobjnm               = '0D_SOLD_TO'
              i_tabclass             = 'M'
         tables
              i_t_table              = custattr
         exceptions
              attribute_name_error   = 1
              iobj_not_found         = 2
              generate_program_error = 3
              others                 = 4.

  • Function Modules for System Status update and reservation for service order

    I am sending the service orders data using IDOCS.
    once the IDOC is received successfully i need to do 2 things:
    1. Update the system status of the service order with the status 'SPV2'.
    2.  Create the reservation for the service order.
    Is there any function modules avilable for both of these process.
    If not how i can do these two things in ABAP Code.
    please help me out in it.

    check whether this Fm's helps you
    STATUS_CHANGE_INTERN
    CO_IH_SET_STATUS_EXTERNAL
    CO_IH_STATUS_FM_SET
    BAPI_ORDER_CHANGE_STATUS_GET
    BAPI_APPREQUEST_SETSTATUSVARNT
    BAPI_ALM_ORDER_MAINTAIN
    BAPI_RESERVATION_CREATE
    Edited by: Keshu Thekkillam on Oct 26, 2009 5:10 PM

  • Function module SD_SCHEDULING: delivery date calculation factory calendar

    Hi,
    When I create or change a sales order, system calculates the delivery time and date (ETDAT) using transit duration and factory calendar. Currently factory calendar says that transportation leaves every Monday, Wednesday and Friday. Unfortunately, function module SD_SCHEDULING calculates the delivery date using factory calendar dates, i.e. <b>NOT</b> using working dates.
    Function module reads the factory calendar from table TVRO (Routes) and field SPFBK (Factory calendar key) in subroutine GET_CUSTOMIZING, and saves factory calendar id in CS_SCHEDDU-TRANSIT_FC. The calculation itself is done later in function module DATE_CONVERT_TO_FACTORYDATE.
    For example, if transit duration is 3 working days, function module calculates the delivery date using Monday (first day), Wednesday (second day) and Friday (third day). Thus, the result is Friday, which is wrong. Result should be of course Wednesday (Monday first day, Tuesday second day and Wednesday third day).
    I'd like to use working days instead of calendar days. I am planning to recalculate the delivery date in some user exit, but before I start coding, I'd like to hear your opinion: <i>Is it possible to use working days instead of calendar days when calculating delivery date?</i> (I believe it must be, since my case is very normal). If it is, I assume that this can be achieved with IMG, but how and where?
    I am using SAP R/3 Enterprise.
    Regards,
    Jarmo Tuominen

    Hi jarmo,
    1. DATE_CHECK_WORKINGDAY
       Probably this FM may be useful to u.
    2.
    CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
            EXPORTING
              date                       = d
              factory_calendar_id        = '01'
              message_type               = 'I'
            EXCEPTIONS
              date_after_range           = 1
              date_before_range          = 2
              date_invalid               = 3
              date_no_workingday         = 4
              factory_calendar_not_found = 5
              message_type_invalid       = 6
              OTHERS                     = 7.
    regards,
    amit m.

  • Function module for BOM item update

    Hi,
    Please enlightenn  us, which  FM   is  do  the update  for  BOM item datas. ( current  FM  is  updated  line  item  one item then come out  and log in again  updating  another line item , thus cause  more error are facing.)
    we want a FM to update   one time all the line time and come out from the screen.
    Thx
    Sathiya

    HI
    You Can use function module CSAP_MAT_BOM_MAINTAIN to process simple material BOMs.
    To change BOMs, you can also use the following function modules:
    CSAP_MAT_BOM_OPEN
    CSAP_BOM_ITEM_MAINTAIN
    CSAP_MAT_BOM_CLOSE
    You can use FM CSAP_ORD_BOM_MAINTAIN to Maintain Order BOM.
    With Regards
    Naveen

  • Function module for quotation configuration update

    Hi,
    I am trying to update the configuration data for an item in quotation. This is a new item i am trying to insert in a quotation using BAPI 'BAPI_CUSTOMERQUOTATION_CHANGE' but not able to update/change the configuration data.
    I am able to upload this data in quotation create, is there any specific value I am missing to pss to the above BAPI or is there any other FM to change/update the config data for item in a quotation?

    My first question to you is - Do you have a COMMIT WORK statement in your program after the BAPI is executed.
    Second - the BAPI function module has a RETURN table. What values are returned ?

  • BAPI / Function Module for Sale order updation

    Hi,
         I need to update sale order details(Reason for rejection)..Can you please tell me any of the existing BAPI's / Function modules to do the same.

    hi,
      try bapi_salesorder_change
        <b>allocate points if useful</b>
    regards,
    pavan

  • Function modules for delivery creation, change, deletion.

    hi all,
    anyone know and worked on function module to create/change/delete deliveries with reference to sales order/without reference of sales order.
    if any one knows about the function modules please let me know.

    BAPI_DELIVERYPROCESSING_EXEC will allow you to create an outbound delivery, but this is <b><u>not released</u></b> for customer use yet(Rel.47). Type that function module in the forum search area and you will get some sample code.

  • Function module for comparing dates and times

    Hi,
    I have a date and time stamp in one filed for example as below:
    20070125183045
    (the first 8 are date in YYYYMMDD format, the next 6 is time in HHMMSS format). Now I want to compare this value to another such value in terms of date and time. First I want to compare dates and then times. Do you know any function module that can serve this purpose?
    Thanks very much!

    You can compare these using the function module DURATION_DETERMINE.  This fuction will give you the difference, and it can be in a view different units, such as the difference in days, months, etc.
    Funciton module takes in Start date and time and end date and time.
    Regards,
    RIch HEilman

  • Function module for Production order update (Table AFKO)

    Hello All,
    I know similar subject has been posted but please read the following.
    SAP 4.6c doesn't provide BAPI for production order update.
    We did develop an ABAP program that update production order and schedule it in a job.
    We are looking of avoiding direct update in table AFKO which our program do right now.
    We looked (with SE37) at either BAPI or FM to pass parameters to a functioin that would perform that update and ensure data integrity.
    CO_ZV_ORDER_POST seems interesting but is also using a lot of parameters and we have diffiulties to test it and understand it our dev team being fairly new.
    Can somebody tell us how to use this function or tell us another FM that could be used. (ie passing internal table content (New fields values) and a key value (AUFNR)) to update table AFKO and related objects/tables
    Regards
    Marc

    hi,
    TABLE IS AFKO
    rgds
    anver
    if hlped mark points

Maybe you are looking for

  • Archiving Equipments and Serial Numbers

    Dear PM Experts, I have searched alot for how to do archiving for equipments and serial numbers and i used SARA and maintained variant what so ever but at the end i got the job cancelled in the log , can anyone please tell me steps to do archiving fo

  • IMac Nvidia GeForce 8800 GS Drivers

    I am running XP Professional via Boot Camp. I run XP so I can play America's Army since it is a Windows only based game. The problem I am having is when I expand Americas Army full screen it completely locks up my iMac and I have to hold down the pow

  • Imac to Ipad Air

    I now have been able to load my photos from my IPad2 to my Imac - but now if I buy an Ipad Air how can I download those same photos to the new IPad?

  • Ratings and picks are not shown in the pictures in the filmstrip, although marked in the LR presets. Who can help?

    ratings and picks are not shown in the pictures in the filmstrip, although marked in the LR presets. Who can help?

  • Audio Problem from Analog video

    Ok the basics are, I'm working with iMovie 4.0.1, Quictime 7.0.4 and video input from a vhs deck thru a Director's Cut DV converter box which is connected to my G4 via firewire and connected to the deck via the RCA jacks. When Previewing the tape all