Is there any Function Module  to delete the  Responsibility for buyer

Hi,
        I am able to insert a responsibility for a buyer using the FM, BBP_UPDATE_ATTRIBUTES. Can any one can tell me is there any FM to delete the responsibity for buyer. The BBP_UPDATE_ATTRIBUTES is not working for deletion and It is taking lot of time when i am trying to delete rsponsibility by using  the transactio code PPOSA_BBP .
I found one badi, HRBAS00INFTY but there are no exporting or changing parameters in that badi to write some logic to delete.
The  FM ,RH_BASE_UPDATE_DB_DIALOG is getting executed and updating the data base tables after the above badi got executed. can i use this FM ,RH_BASE_UPDATE_DB_DIALOG directly to delete the responsibility?I think it is not recomended.
can any one give me some idea.

Hi. You can use transaction PP01 instead of PPOMA_BBP.
You might have to make some settings in table T777I to allow the responsibility to be maintained from PP01, but it it a lot faster than PPOMA_BBP, and you could use an ECATT or call transaction on PP01.
You can also delete all the infotype using PP01, basically delete all the responsibility in 1 go if that is any use? Try all this in a test system first toget used to it though.
Regards,
Dave.

Similar Messages

  • Is there any function module to get the variables used in a query?

    Hi experts
    Please, do you know if is there any function module to get the variables used in a query?
    Thanks and regards
    Luis

    Hi Srini
    Yes, I have checked the tables but I need a function module
    Thanks anyway!
    Luis

  • Is there any function module to convert the date format

    Dear ABAPers,
    Is there any function module to convert the date format from dd.mm.yyyy to dd-mmm-yyyy.
           I want to convert the date format from dd.mm.yyy to dd.mmm.yyy Eg.from 10.03.2008 to 10-mar-2009.
    Thanks & Regards,
    Ashok.

    hi,
    create custom function module or copy the below code in the report ..and use it
    the out put for below is :----Convert a DATE field into a full format date eg. March 23, 2000
    FUNCTION Z_CONVERT_DATE_INTO_FULL_DATE.
    ""Local interface:
    *"       IMPORTING
    *"             VALUE(DATE) LIKE  SY-DATUM
    *"       EXPORTING
    *"             VALUE(FORMATTED_DATE)
    *"       EXCEPTIONS
    *"              INVALID_DATE
    TABLES: TTDTG.
    DATA: BEGIN OF T_DATE,
            YYYY(4) TYPE C,
            MM(2) TYPE C,
            DD(2) TYPE C,
          END OF T_DATE.
    DATA: DAY(3) TYPE N.
    DATA: VARNAME LIKE TTDTG-VARNAME.
    IF DATE IS INITIAL.
      CLEAR FORMATTED_DATE.
      EXIT.
    ENDIF.
    check document date format
    CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
      EXPORTING
        DATE = DATE
      EXCEPTIONS
        PLAUSIBILITY_CHECK_FAILED = 1.
    IF SY-SUBRC NE 0.
      RAISE INVALID_DATE.
    ENDIF.
    MOVE DATE TO T_DATE.
    CONCATENATE '%%SAPSCRIPT_MMM_' T_DATE-MM INTO VARNAME.
    SELECT SINGLE * FROM TTDTG WHERE SPRAS = 'EN' AND VARNAME = VARNAME.
    WRITE T_DATE-DD TO DAY.
    CONCATENATE DAY ',' INTO DAY.
    CONCATENATE TTDTG-VARVALUE DAY T_DATE-YYYY INTO FORMATTED_DATE
      SEPARATED BY SPACE.
    ENDFUNCTION.
    the output is :--Convert a DATE field into a full format date eg. March 23, 2000
    Regards,
    Prabhudas

  • 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

  • Is there any function module to get the purchase order conditions from EONP

    Hi,
    I want to get the EONP and EONH table details for the purchase orders with the help of function module. Can anyone tell me any function module name which would give me those details.
    Thanks,
    Atanu

    Hi
    Check with BAPI function module BAPI_PO_GETDETAIL and BAPI_PO_GETDETAIL1.
    Regards
    Srilaxmi

  • Is there any function module to get the no. of days in a month?

    hi all,
    if i have the month and year then is there any FM by which i can get the no. of dayz in that month?
    regards,
    shweta upadhyay.

    Hi swetha,
    i have written my own function module,may be it helps u.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(DAY_IN) LIKE  SY-DATUM
    *"  EXPORTING
    *"     VALUE(FIRST_DAY_OF_MONTH) LIKE  SY-DATUM
    *"     VALUE(LAST_DAY_OF_MONTH) LIKE  SY-DATUM
    *"     VALUE(NUMBER_OF_DAYS) TYPE  I
    *"  EXCEPTIONS
    *"      DAY_IN_NO_DATE
      DATA: BEGIN OF DATE,
              J(4),
              M(2),
              T(2),
            END OF DATE.
      DATA: ZAHL TYPE I.
      DATA: DAYS_SUBTRACT TYPE I.
      DATA: XDATUM TYPE D.
      XDATUM = DAY_IN.
      XDATUM+6(2) = '01'.
      XDATUM = XDATUM + 35.
      XDATUM+6(2) = '01'. XDATUM = XDATUM - 1.
      NUMBER_OF_DAYS = XDATUM+6(2).
      DATE = DAY_IN.
      IF DATE-M LT JANUARY OR DATE-M GT DECEMBER.             
        raise DAY_IN_NO_DATE.
      ENDIF.
      IF DATE-J LT LOWDATE.                 
        raise DAY_IN_NO_DATE.
      ENDIF.
      IF DATE-J EQ HIGHDATE-J AND
         DATE-M EQ HIGHDATE-M.
        LAST_DAY_OF_MONTH = HIGHDATE.
      ELSE.
        IF DATE-M EQ DECEMBER.
          ZAHL = DATE-J + 1.
          UNPACK ZAHL TO DATE-J.
          DATE-M = FRIST.
          DAYS_SUBTRACT =   NUMBER_OF_DAYS - 1.
        ELSE.
          ZAHL = DATE-M + 1.
          UNPACK ZAHL TO DATE-M.
          DAYS_SUBTRACT =   NUMBER_OF_DAYS - 0.
        ENDIF.
    First of the subsequent month
        DATE-T = FRIST.
        LAST_DAY_OF_MONTH = DATE.
        FIRST_DAY_OF_MONTH = DATE.
        SUBTRACT 1 FROM LAST_DAY_OF_MONTH.
        SUBTRACT DAYS_SUBTRACT FROM FIRST_DAY_OF_MONTH.
      ENDIF.
    ENDFUNCTION.
    regards,
    nagaraj

  • Is there any Function Module will give the Transactional data of a cube?

    Hi Experts,
    I have one Infocube Zco3_BILT , I need to write a routine (BADI Program)on top of this info cube  to fetch a characterstic value in the infocube.
    F table  & Etable wont give any characterstic values.
    Is There any SAP provided FM to give characterstic values of the Infocube.
    Thanks in advance.
    Regards
    Mohan

    Hi Mohan,
    this is correct since the values are stored in different tables (fact, dimension etc) due to star sheme modelling. As far as I know there is no standard function module for this issue.
    However ABAP report RSDD_SHOW_ICUBE might help. This is the report for transaction listcube, all relevant data is build up, there you should find all necessary steps and standard reports/modules to fetch the required characteristic value. Although I do not know the exact requirement you will probably have to work with SID values.
    Perhaps this will help resolving your issue.
    Best Regards,
    Marcel

  • Is there any function module to get the data from st06?

    Hi,
    I'm new to this forum.
    I would like to know if there is a way (maybe some function modules) to collect information like system architecture, and databases as displayed in transaction st06?
    I would like to call it from external program in order to view part of the data available in st06.
    Thanks,
    Erez Gordon.

    have a look at function group SMON.
    Not sure if these are remote enabled, otherwise create a wrapper function module (RFC).
    Edited by: Micky Oestreich on Dec 11, 2008 9:37 AM

  • QM : is there any function module to find inspection lot characterstics

    Hi All,
            is there any function module to find all characterstics for an inspection lot.
    i need exact data which qe51n transaction is fetching .
    thanks in adv ,
    Varma

    Hi uvs,
    1. we can use the fm BAPI_INSPOPER_GETCHAR.
    regards,
    amit m.

  • 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.

  • Is there any function module to assign Object to Transport request (Task)?

    Hi There,
    My requirement is to assign an object to desired task of the transport request. I found one FM called TR_EXT_INSERT_IN_REQUEST. But it has some limitations.
    Limitations of FM :  TR_EXT_INSERT_IN_REQUEST
    1. It will assign the given object to given Transport request. But not to the task of a transport request. This FM will not allow   assigning objects to the task. It will allow only to request.
    2. Object entry present in transport request table e071. But, I can't find any version in version management. Moreover, the object is not locked under that particular request.
    Can any one let me know, is there any function module to fullfill the requirement without above mentioned limitations?
    Requirement :
    1. Given object should be assigned to given task of TR.
    2. Need FM to activate the Object and object texts.
    3. After assigning to the request, It should show the vesion in version management and object should be locked under particular Task/ Request.
    Your help would be greatly appreciated and <<removed by moderator>> Thanks in advance.
    Have a nice day!!
    Thanks and Regards,
    Neelima. D
    Edited by: kishan P on Jan 5, 2012 2:21 PM

    @ Dear Nabheet & Karuna
    The object is not in local folder. I am aware of the process of assigning the object to request manually.
    I want that to be done automatically. I wont prefer writing BDC for this.
    @ Dear Keshav,
    Thank you for the function module. But TR_INSERT_REQUEST_WITH_TASKS will create a tarnsport request with tasks.
    @ Dear All,
    My requirement is to assign the object to Task automatically. Not creating the request or Task. Task & Request are
    present already.

  • Function module to predict the date for a given date

    hi friends,
    is there any function module to predict the date
    means  for example if i enter one date  , what will be the date
    after 4 months(say)  to the given date.
    my requirement is when a person is hired today (10.06.2008)
    and if he is under probationary for 6 months, then on what date he comes into the permenant employee's list(predicted date after date 6 months)

    Date calculations
    DATE_COMPUTE_DAY Returns a number indicating what day of the week the date falls on. Monday is returned as a 1, Tuesday as 2, etc.
    DATE_IN_FUTURE Calculate a date N days in the future.
    RP_CALC_DATE_IN_INTERVAL Add days/months to a date
    RP_CALC_DATE_IN_INTERVAL Add/subtract years/months/days from a date
    SD_DATETIME_DIFFERENCE Give the difference in Days and Time for 2 dates
    MONTH_PLUS_DETERMINE Add or subtract months from a date. To subtract a month, enter a negative value for the 'months' parameter.
    DATE_CREATE Calculates a date from the input parameters:
    Example: DATE_CREATE
    CALL FUNCTION 'DATE_CREATE'
    EXPORTING
       anzahl_jahre  = 1
       anzahl_monate = 2
       anzahl_tage   = 3
       datum_ein     = '20010101'
    IMPORTING
       datum_aus     = l_new_date.
       Result:
       l_new_date = 20020304
    Example: MONTH_PLUS_DETERMINE
    data: new_date type d.
    CALL FUNCTION 'MONTH_PLUS_DETERMINE'
    EXPORTING
    months = -5 " Negative to subtract from old date, positive to add
    olddate = sy-datum
    IMPORTING
    NEWDATE = new_date.
    write: / new_date.

  • Function module to determine the date for the nth weekday of the mth month

    Hey folks,
    Is there a function module which determines the date for the mth weekday of the nth month in the pth year.
    For instance, if I input 2nd thursday of the 4th month in 2008, it should return me, 04/10/2008  (MM/DD/YYYY).
    Thanks and Best Regards,
    Puja.

    Hi Ravi,
    Hadn't been able to work on this lately...You solution was quite close, but did not work for a few scenarios....I tweaked the logic a bit to take care of them as well...
    So here goes the code:
    ================================================
      DATA first_day_of_month TYPE datum.
      DATA day TYPE p.
      CONCATENATE year month '01' INTO first_day_of_month.
      CALL FUNCTION 'DAY_IN_WEEK'
        EXPORTING
          datum = first_day_of_month
        IMPORTING
          wotnr = day.
      DATA day_number TYPE numc2.
      IF day = weekday.
        IF recur = 1.
          DATA ls_date(10) TYPE c.
          CONCATENATE month '/01/' year INTO ls_date.
          CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
            EXPORTING
              date_external                  = ls_date
           IMPORTING
             date_internal                  = date.
        ELSE.
          day_number =  ( ( recur - 1 ) * 7 )  + 1.
        ENDIF.
      ELSEIF day < weekday.
        day_number = ( ( recur - 1 ) * 7 ) + ( weekday - day ) + 1.
      ELSE.
        day_number = ( ( recur - 1 ) * 7 ) + ( 7 - day ) + weekday + 1.
      ENDIF.
      IF date IS INITIAL.
        CONCATENATE year month day_number INTO date.
      ENDIF.
    ====================================
    There still could be some loopholes in this....am not sure....but it sure did seem to work for a couple of random checks that I performed.
    Brownie points to you for giving me a direction.
    Thanks,
    Puja.

  • Is there any function module getting the cpu type?

    Is there any function module getting the cpu type?

    I guess the database server...
    I would like to get the SAP system cpu type as done in transaction st06 under system information.
    Thanks.

  • Is there any function modules or BAPI's

    Is there any function modules or BAPI's that would delete the original partner and then add a new partner.Iam using BAP
    bapi_alm_notif_data_modify
    But iam not able to change partner in notification header
    Please give your input for sovling it

    Dear Rama,
                           In the bapi_alm_notif_data_modify, there are 2 structure
    NOTIFPARTNR STRUCTURE  BAPI2080_NOTPARTNRI OPTIONAL
    NOTIFPARTNR_X STRUCTURE  BAPI2080_NOTPARTNRI_X OPTIONAL
    Pass yr partner value in NOTIFPARTNR, and against the value make it "X" in the NOTIFPARTNR_X  , then u can change the partner value.
    Give point if helpfull
    Thanks

Maybe you are looking for

  • TableView updates not working when ValueFactory returns a new Binding

    Hi, When a cell value factory returns a newly created expression or Binding cell values will stop receiving updates at some point. It seems that the cell that requests the observable value from the value factory does not keep a strong reference to th

  • CALL METHOD ob_grid1- set_table_for_first_display does not change display

    Dear experts, I'm using CALL METHOD ob_grid1->set_table_for_first_display, during the first run the display is ok. When I back to screen 0 and enter different values and re-run, the values of internal table has been changed. But the second run still

  • BPM + ADF list of elements

    Hello, I have a problem with this, I'm using BPM 11g (11.1.1.5FP) and I want to process a certain list of items. Problem is that, although for BPM this is easy, it seems ADF has problems reading this. I'll show you what I mean: If I try getting the I

  • Is it possible to delete a crucial data in the database?

    I'm in the very initial stage of learning abap/4 (self study). One doubt is screwing me seriously. Is it possible to change/delete the crucial data in the database by unknown way of witting the code? pls clarify me..

  • Volume bar troubles

    My volume bar will not work on my iPad 2. I have reset all settings and made sure the slide switch is set to lock, not mute.  It will play sound with headsets but not over Bluetooth. it shows sound effects but no volume settings... Should I reset set