Function Module for Changing delivery date

Hi Friends ,
    I am held up with a scenario of changing the delivery date while creating purchase order. Could you please suggest any function module to change the delivery date in purchase order if it is less than 5 days.
With Regards ,
Sudhir S
Moderator message: please do some own research before asking.
Edited by: Thomas Zloch on Feb 21, 2011 11:45 AM

Hi praveen for u r requirement there is no need of any FM
Try this code
parameters:
  p_date like sy-datum,
  p_no type i.
data:
  w_date like sy-datum.
w_date = p_date - p_no.
write: / w_date .
it is enogh for u r requirement
plzz reward if it is usefull...
for any further quiries my mail id is [email protected]
plzz dont forget to reward

Similar Messages

  • Function Module to Change Delivery?

    Dear All,
    Is there any Function Module to Change Delivery?
    Regards

    Hi,
    There are two BAPI's for it, one for inbound and other for outbound.
    BAPI_INB_DELIVERY_CHANGE
    BAPI_OUTB_DELIVERY_CHANGE
    Please use the respective one.
    If its useful, award points pls..
    Regards,
    Raju

  • Function module for access OM Data from infotype 1001

    We had a function module for accessing OM data viz. Infotype 1001. Could you let me know.
    Advanced thanks,
    Dasaradh kosana

    Hi Dasaradh,
          Do you want the fm which fetches the data from HRP1001 , if this is the case you can use this FM RH_READ_INFTY_1001.
    Reward Points if it is helpful
    Regards,
    Kiran I

  • Function module to change the date format

    hi guys
    is there any function module to change the date format
    from 08/28/2007(mm/dd/yyyy)
    to August 28, 2007.
    regards
    vamsi

    hi vamsi.,
    Use  CONVERSION_EXIT_SDATE_OUTPUT to get the month name,
    but it will give short form of the month name.
    if you want <b>long description of the month</b>,
    use this peice of code.
    PARAMETERS: V_DATUM(07) TYPE C. "(example input:12-2007)
      DATA:     V_MON(2)  TYPE C,
                V_YEAR(4)      TYPE  C,
                V_MONTHNAME(10) TYPE C,
                V_FULLDATE(30) type c.
    WRITE  V_DATUM+0(2) TO V_MON.
    SELECT SINGLE LTX FROM T247 INTO V_MONTHNAME
    WHERE        SPRAS = SY-LANGU
         AND       MNR  = V_MON.
    CONCATENATE  V_MONTHNAME  v_datum+3(4)
                      INTO V_FULLDATE  SEPARATED BY SPACE.  "(example output : December 2007)
                      write: v_fulldate.
    <i><b>Reawrd points if useful</b></i>
    Chandra

  • BAPI for changing delivery date and delivery time fields in LIKP table

    Hi All,
         Is there any BAPI or function module to change the delivery date and delivery time in LIKP table ?
    Please tell me experts if exists.
    Thank you,
    Raghu.

    try these:
    BAPI/FM to update LIKP and VTTK tables
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-for-changing-sales-headertable-likp-662800

  • Function Module for Changing status of a Functional Location.

    Hello,
    I am writing a Proxy for changing the Functional Location (T code IL02).
    I need to set the Deletion flag for the Functional Location.
    Can any body help me with how to do this. As data will be coming from XI and I have to update the Functional location in background with function modules.
    I am using 'BAPI_FUNCLOC_CHANGE' for changing other data. But I am not able to set the Deletion flag with this BAPI.

    Hi Abhijit,
    Can you please tell me steps or the ABAP code for setting the Deletion Flag for a Functional Location?
    Thanking you in Advance,
    Vijay

  • Function module for Change document for Business partner

    Hi Experts,
    Could any one send me the sample code of function module for CDHDR and CDPOS tables for extracting the change date along with role.
    Eg :
    BPRole Changd on crtd by crtd on Business partner
    ZCASH 30.11.2011 NHALLAL 24.11.2011 0001000237
    CRM000 03.12.2011 NHALLAL 24.11.2011 0001000237
    I wanted to catch up the changed date and changed role from CDHDR (base table) and CDPOS(cluster table - item level).
    Might be involved with creation of extract structure.
    Any sample codes are appreciated. Thanks.
    Regards,
    Janardhan

    resolved

  • Function module for Outbound Delivery

    Dear ABAPers,
    Can anyone tell me the Function module for Out bound Delivery.
    Thanks & Regards,
    Ashok.

    Hi,
    Check this BAPI:
    BAPI_OUTB_DELIVERY_CREATE_SLS.
    Hope it is helps.
    Regards,
    T.D.M.

  • Bapi or Function Module for Change request Management status update

    Hi,
    Do we have any Bapi or function module to change the status of Change request Management.
    Ex: If the status is in To Be Processed i have to change that status to Authorized using any Bapi or FM.
    I have tried with the BAPI crm_icss_change_request but its not updating the status.
    Do you have any idea on this???
    Regards
    Pavan

    hello,
    the function module is 'SOCM_STATUS_VALUES'
    you can find an example of usage of it in the program CRM_SOCM_SERVICE_REPORT
        CALL FUNCTION 'SOCM_STATUS_VALUES'
          EXPORTING
            im_process_type       = report_list-process_type
      IM_LANGU              = SY-LANGU
          TABLES
            status_values         = lt_vsocm_stat_propt.
    I hope it helps
    best regards

  • Function Modules for Change Manager Tickets

    Dear all,
    I have the requirement to display some basic statistics about the number of change manager tickets that are currently open, that are assigned to a person and in proceesing state.
    I had a look into the system but could find a valuable hint on which function modules are available and which are even RFC enabled.
    So is there someone who has achieved this or does know how to access that information?
    I would be very happy about any hints.
    Thank you and best regards.
    Nicolas

    Hallo Nicolas,
    I had the same requirement and started looking into this. Essentially I used php to make RFC calls to SAP.
    there are at least 2 FM (they are both RFC enabled) you can use to extract service desk ticket data.
    They are:
    - CRM_DNO_SELECT_SERVICE_TRANS
    This FM has the service desk number as you see it in CRMD_ORDER or CRM_DNO_MONITOR
    The other FM is:
    - DNO_OW_GET_NOTIFICATIONS and report RNOTIFWL
    This will give you data for the notification
    You can use DNOH_OBJNR in the first FM and OBJNR in the second to join the two together.
    The only thing is that there is no selection screen to select the data within the FM. When you execute both FM you have to provide a variant - based on that variant the data will be picked up. The best thing is probably to setup a variant that will pick up all your tickets and have your rfc calling application compile the stats that you are after. Also the variant you use is not the on you would use in CRM_DNO_MONITOR you have to go the FM transaction and create the variant for it there.
    Hope it helps, ~p.

  • Remote Function Module for Change document Items.

    Hi Experts,
    I want a Remote Function Module to read Change document Items, can any please help me out. <removed by moderator>
    Thanks,
    Sridevi
    Edited by: Jan Stallkamp on Aug 25, 2008 8:25 PM

    If you are looking for the fm here it is.....
    you can check this CHANGEDOCUMENT_READ_POSITIONS fm and its documentation.
    If it is suitable for your requirement copy the same fm and make it remote enabled.
    I think it should work for you.

  • Any function module to calculate delivery date?

    Hello all,
    I think BAPI_PO_CREATE doesn't have ability to determine the delivery date by itself and needs delivery date be fed to it instead. I have a requirement to create a STO with a feed from a 3rd party system that doesn't specify the delivery date at the receiving plant. Could anyone help me identify a function module that returns the delivery date?
    Thanks,
    Rohit

    Hi Rohit,
    It is the same function module that is also called by the form MEPO_DEFAULT_DELIVERY_DATE. I thought that it would be better to call the whole form, since it performs more checks than just calling MD_CHECK_DELIVERY_DATE.
    MD_CHECK_DELIVERY_DATE is called with E_DISPODATUM = sy-datlo, i.e. the local date of the user.
    BR
    Raf

  • Function module for Change Master (CC01) creation

    Hi all,
    Pl. tell me function module or BAPI for 'Change Master' Creation. It is linked with BOM to record BOM changes. Its Tcode is 'CC01'. Pl. reply.
    Regards,
    Darshana

    try this...
    RFC_CREATE_CHANGE_MASTER

  • Functional Module for changing the field Reference Key 2 in Tcode FB02

    HI,
    I have a one requirement to change a field Reference Key2 (XREF2) in transaction FB02. This field appears in FB02 during (refer steps below):
    u2022 In Initial screen after entering the Document Number, Company code &  Fiscal Year then click on u201CEnteru201D
    u2022 In next screen double click on u201CAccount u201C
    u2022 In next screen click on u201CAdditional Datau201D. We will get a pop-up window where the field Reference Key2 (XREF2) is there.
    We want to change this value of this field. Kindly let me know any Function Module available for this or any other suggestion.
    Regards
    Naga

    I don't know any such BAPI/FM (alas, many threads already) so i suggest you to use SHDB to build a batch input. FI_ITEMS_MASS_CHANGE  should not solve your problem.
    Regards

  • SUS ASN for changed delivery date

    We are on SRM 7.0 EHP4 with MM-SUS.
    PO is been sent to SUS with Required on date 02/03/2011. Supplier confirms for 02/04/2011.
    Now the system doesn't allow the supplier to create ASN in SUS. The SUS system is waiting for a change order from Buyer to be sent so that it can be confirmed with the new proposed date and subsequent ASN to be created.
    Business doesn't want to go through these additional steps of changing their purchase order and also will not help them to monitor vendor performance.
    Can you please suggest how to avoid delivery date change to purchase order and create the ASN in SUS.
    Thanks,
    -Devi Swain

    devi,
    what is the problem?
    a) system returns an error message and ASN can not be created? if yes what is the error message?
    or
    b) the ASN button itself is not enabled for the document creation?
    let me know this and i will be able to help you further.

Maybe you are looking for

  • What does the Merge Data Stream processor do when there are multiple input streams to it from the same reader?

    Hi, I have a process with a reader of master data that outputs 5 records that feeds simultaneously into 3 different lookup and return processors. Each lookup and return processor brings some data back from a detail table. There can be multiple detail

  • Fillable forms saving blank

    I have Adobe Standard and created a fillable form.  When some people try and save this doc, it only saves as the blank form and not what they had filled in.  Why is this happening?

  • Firewire drive read/write very slow

    I have a Western Digital firewire 400 drive which is writing very slowly. 200 mb file took about 4 minutes to copy. I figure it must be a drive issue, but wondered if there is the chance it's some system thing. I used Disk Utility to check and repair

  • Informationen zu Photoshop Elements 3

    Für alle, die sich für das neue Photoshop Elements 3 interessieren, es gibt mittlerweile recht detaillierte Informationen direkt von Adobe: Zunächst ein Dokument auf Deutsch, das auf zwei Seiten die Highlights beschreibt: http://www.adobe.de/products

  • Missing setup assistant

    I bought a time capsule.  I've hooked it to the internet WAN to modem via ethernet.  I've hooked it to my macbook pro via ethernet.  I've hooked it to my printer via USB.  I turned the time capsule on.  I opened airport utility which made me make up