BAPI Function module to change the schedule agreement

Hello Experts,
                         Can anyone tell me Bapi function module to change the scheduling agreement,
my requirement is i will get the new AEDAT(Delivery date in schedule line)
and WMENG(Quantity)  Every time customer sends me a flat file which has got
revised schedule delivery date and Quantity. It needs to be updated in my system
using a BAPI Functional Module.

Hi Vivek,
You must use the correct or most appropriate forum, so this thread will be moved from to .
The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
Also read this thread Welcome and Rules of Engagement.
Greetings,
Marcelo Ramos

Similar Messages

  • Bapi / Function module to change the status of transaction crmd_order

    Hello team,
    I am developing the utility in CHARM for which i need to change the
    Status of transaction CRMD_ORDER from "New to "In process" through
    report/BAPI / FM etc... I tried to use report
    CRM_socm_service_report.But it never puts status " In process" rather i
    updates only " "work in progress ".
    Also tried FM "CRM_STATUS_CHANGE_EXTERN" , but doen't work.
    After the process is put "In process" , i want to create change request
    and assign resource". Is there any report / FM /Bapi or anything in the
    system to do this.
    I tried to write BDC but dropdown list is not recorded in the recording.
    Please advice.
    Thanks and regards,
    Swapnil

    Not sure I understand your requirement but maybe FM CRM_ORDER_MAINTAIN will be of help to you.

  • Function Module to change the master data attachments?

    Dear Experts,
    In SAP we can enclose the attachments for the Master data. Do we have any standard function module to change the Master data attachments.
    Let me know if any?
    Thanks and regards,
    Reddy

    Hi Reddy,
    Please make use of function module :
    BINARY_RELATION_CREATE_COMMIT
    For detailed information on how to use the FM please see the thread below:
    USE OF THIS fUNCTION MODULE
    Regards,
    Dilek A.

  • 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

  • Function module to change the address on the business partner in SAP-ISU.

    Can some one send me the function module to change the address of businees partner in SAP ISU.

    Hi,
    The FM you are looking for is BAPI_BUSINESS_PARTNER_CHANGE
    You can use the table PARTNERADDR to fill the Address of the Partner.
    Hope this helps.

  • Function module to change the reason code for status in a Opportunuity/lead

    Hi,
    What is the function module to change the opportunity reason.   I was able to change the status using the crm_order_maintain but How can I change the reason for that opportunity.
    Thanks
    naveen

    You can use CRM_ORDER_MAINTAIN and populate the parameter IT_SERVICE_OS
    or use BAPI_OPPORTUNITY_CHANGEMULTI and populate the parameter SERVICE_OS.
    BR,
    Florin

  • Function Module to change the user status of a business transaction

    Hi,
      I want to change the user status of a business transaction. Plz let me know if there is a function module to change the user status.I found some FMs.
    - CRM_STATUS_MAINTAIN_OW
    - BBP_PROCDOC_STATUS_CHANGE_DIRE
    - CRM_ORDER_CHANGE_STATUS
      But these FM says that it has to be used for changing system status.
    Thanx,
    Sivagami.R

    hi Siva,
    here is some sample code :
    data :
      ip_guid            type  crmt_object_guid,
      ls_status            type  crmt_status_com,
      lt_status            type  crmt_status_comt,
      ls_input_field       type  crmt_input_field,
      ls_input_field_names type  crmt_input_field_names,
      lt_input_fields      type  crmt_input_field_tab,
      lt_obj_guids         type  crmt_object_guid_tab,
    ip_guid = <your guid>.
    ls_status-ref_guid = IP_GUID.
    ls_status-ref_kind = 'A'.
    ls_status-status = lv_newstat.
    ls_status-user_stat_proc = 'ZCRMCOM1'.
    ls_status-activate   = 'X'.
    INSERT ls_status INTO TABLE  lt_status.
    ls_input_field-ref_guid = IP_GUID.
    ls_input_field-ref_kind = 'A'.
    ls_input_field-objectname = 'STATUS'.
    ls_input_field_names-fieldname = 'ACTIVATE'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STATUS'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    insert IP_GUID into table lt_obj_guids.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
        it_status       = lt_status
    CHANGING
        ct_input_fields = lt_input_fields.
    CALL FUNCTION 'CRM_ORDER_SAVE'
    EXPORTING
        it_objects_to_save = lt_obj_guids
    EXCEPTIONS
        OTHERS              = 2.
    COMMIT WORK.
    please award points if helps
    cheers

  • Any function module to change the mode in Planning board

    Hi guys,
    Is there any function module to change the mode in Planning board?
    I would like to call a custom screen to to chagne the mode since the strandard function cannot show enough info.
    Thanks.

    Thanks Bhanu for ur quick reply.
    Is that enough to change the technical name in the table RSZCOMPDIR.
    Let me give some more information, idea is to change the technical name of all the queries present in a system based on a new naming conventions.
    Eg.
    Change all the technical name of queries ZQSAP to ZQXYZ.
    If there is function module which allows to change the technical name of the queries that not only updates the table RSZCOMPDIR but also all the interlinked tables.

  • Any BAPI Function Module To Create the Workcenter  ?

    Hi
    Can any one can give the BAPI Function Module to Create the Workcenter ?
    Regards,
    N.L.

    Hi NL,
    Found FM CRAP_WORKCENTER_CREATE
    See if this FM serves your purpose.
    Regards,
    Raj

  • Is there any function module to Change the System Status

    Dear ABAPers,
             I am working in the Customer Service Module.I want to change the System status.
    Is there any function module to change the System Status.
    Thanks & Regards,
    Ashok.

    Hi Ashok
    Service Order status update function module ?
    How to set the system status
    Check above threads,
    Regards,
    Syf

  • Function module  which changes the Storage Unit (SU) Block Data like LS32

    Hi,
    Is there any Function module  which changes the Storage Unit (SU) Block Data as done in  LS32.
    Thank you,
    Prashanth A.

    Hello Pablo.
    Yes we did run LT04 and it does encounter that same error message after clicking the Stock Removal button.  But eventually error msg will be removed by entering the value at the Storage Unit Type field because it directly fills in LTAP-LETYP.
    We have resolved that the function module will not really fill the desired Storage unit type therefore TO background creation is not feasible in our scenario (non-SU managed transfer to SU-managed storage type).  And I found this thread too:  http://scn.sap.com/thread/1947358
    So issue is still open but we have considered of changing the process since this is still just a new scenario for us.
    Thanks a lot for your inputs!

  • BAPI to change the Scheduling agreement Qty  in ME38

    Hello Sapiens,
    Is there a way by which I could change my scheduling agreement qty to my GR qty in t.code me38 . So that i make my open qty 0.
    this task has to be done to run the MRP.
    Is it possible using BAPI.
    Shanoj

    BAPI for BAPI_SAG_CHANGE

  • Is there a BAPI function module which reverses the sign of an integer

    Hi Friends,
                     Could u plz tell me  a BAPI function module which can reverse the
    sign of an integer ?
    For example:       
    if i get the integer value in work area as <number> <sign> , i need to change it to <sign><number>. 
    i.e if i get the integer value in work area as    "248-" ("-" indicates minus sign) to " -248 ".
    i.e if i get the sign after the value , my requirement is to get the sign before the value.
    The actual ABAP query is:
    data: QTY_1 TYPE CHAR10,
            QTY_2  TYPE CHAR10,
            WA_DISTK_PORTLET-QUANTITY TYPE INT4.
    QTY_1 = WA_DISTK_PORTLET-QUANTITY.
                    SEARCH QTY_1 FOR '-'.
            IF SY-SUBRC = 0 AND SY-FDPOS <> 0.
              SPLIT  QTY_1 AT '-' INTO  QTY_1 QTY_2.
              CONDENSE  QTY_1.
              CONCATENATE '-'  QTY_1  INTO QTY_1.
              CONDENSE  QTY_1.
            ELSE.
              CONDENSE  QTY_1.
            ENDIF.
            CLEAR: WA_DISTK_PORTLET-QUANTITY.
         MOVE : QTY_1 TO  WA_DISTK_PORTLET-QUANTITY.
    when i move this QTY_1 to work area  quantity field The sign is coming after the numeric value.
    Note: There is no possibility to change the datatype of quantity field.
    I have tried my level best with 'CLOI_PUT_SIGN_IN_FRONT' function module.
    I will assign full points to the correct function module.

    Hi Ram,
    try this ang look into fields.
    data: fields type table of SVAL with header line.
    fields-tabname = 'MARA'. fields-fieldname = 'MATNR'. append fields.
    fields-tabname = 'BKPF'. fields-fieldname = 'BUDAT'. append fields.
    CALL FUNCTION 'POPUP_GET_VALUES'
      EXPORTING
        POPUP_TITLE           = 'Value Insert'
      TABLES
        FIELDS                = fields.
    Regards, Dieter

  • How to change the scheduling agreement type

    Dear experts
                    By mistake i created wrong sched agreement type in va31, is there any possibilityto change the  sched agreement  type?
    Regards
    Rajakarthik

    Dear   RajaKarthik.
    As per  my  concern  why  dont  you  delet  the  scheduling agreement   and  creat  new one.
    i think   it  will  help you.
    jeevan.

  • Need BAPI function module to change routing (CA12 Tcode)

    Hi Freinds,
       i have bapi function module to create bapi_routing_create,
       but i need bapi function module  to ROUTE CHANGE.
    tcode is ca12
       pls help me out .....it's urgent to me
    mail to me :[email protected]
    regards
    madhu

    Thanks Jitendra,
    I have tried to use it but I am not able to obtain a good result. I have set values for PLKO_DI_TAB and MAPL_DI_TAB, but it does not work…
    What is missing?

Maybe you are looking for

  • PSE 8 does not print to one of my printers

    I have two printers connected to my PC but PSE prints to only one of them (which I'll call printer "A"). When in PSE I go to File > Print, both printers are listed in the Select Printer drop down box. If I attempt to print to printer "B", the small "

  • Network Manager get ip but no connection to the internet

    Hi guys, I'm new to Arch, and first of all I must say that I think I'm going to love it :-) Never seen a package manager so fast to install a lot of packages! And it's kinda cool to have everything under control. But here is a problem I don't have un

  • How do I access my contacts???

    since the google upgrade, I cannot find my contact list or any contacts.where are they???this is a real disaster,[email protected]

  • Goods Movement status of delivery not updated from C to A

    Hi I am facing a peculiar problem. We reversed goods issue using VL09 however the goods movement status of the delivery has not been updated. The GM status is still showing C- Completely processed. If we are trying to repeat the process again thinkin

  • Simple prompt question

    I want to run a java program from the DOS command prompt where it can prompt the user to input somethings. How do I do this? Thanks.