FSCM Badi for Basic Rules

Hi all,
I am working at the moment on an FSCM role out and we need to have Credit Limit Utilization and Risk Category as part of our collections rules. Now we are not using Credit Management in FSCM (Only DM and COLM) so the information needs to come from FD32.
Table/field name is KNKK - CTLPC for risk category
And for credit limit utilization i think it needs to be like this:
Check customer number from KNKK - KUNNR
Check credit control area from KNKK - KKBER
Then get credit limit amount: KNKK - KLIMK
Then get open receivables amount: KNKK u2013 SKFOR
Then calculate: KNKK u2013 SKFOR / KNKK u2013 KLIMK * 100 this will give you the exposure percentage
How do i put this into a badi? Or even in distribution of open items to collections management.
In customizing you can define additional fields in FSCM->COLM->Integration with AR->Distribution of Data in COLM-> define relevant fields for document and master data record changes. This only contains BSID, KNB1 and KNB5
Forther i think you have to change UDM_COLL_SEND_ITEMS with the proper fields.
Do anybody have some tips on this?
Regards,
Richard Gentenaar

Hi,
I am facing same problem: having classical Credit Management in place, and FSCM Collections Management being implemented. Need to involve risk class from classical Credit Managment into the Collections Strategy. How did you exactly do this?
Kind regards,
Martin

Similar Messages

  • BADI for MDGF rule based workflow

    Hi Experts,
    I am really struggling to get a badi that can route on field assigned in my single and agent decision tables. I have used the standard BADI that was provided in RDS documentation for BP and Materials and just tried to change the entity name and field names without success.
    Can anyone please provide me with an example where someone has used this to route on field in finance.
    I am trying to route on Segment for Profit center
    Your help will be highly appreciated
    Thanks and best regards
    Riaan

    Hi Abdullah,
    I am using an existing attribute in the data model OG in the entity PCTR. The field name is PCTRSEG and element is fb_segment. In my rule based workflow in the Single decision table I have added fb_segment and I have populated the values against step 00. I have also updated my agent decision table with the fb_segment value.
    I am attaching the BADI that I am struggeling with.
    The service name for the change request is in the BADI filter. Thus when the requestor submit the Badi will be called and it will route to the person assigned in my agent decision table against the relevant segment..
    My problem is the following:
    The issue is that I don't know where I should maintain PCTRSEG and where I should maintain fb_segment in the BADI. Thus, where do I use the attribute name from the data model and where do I use the data element from the model.
    When the requestor submit the request it does not go to the next approver and I get the error" Agent could not be determined"
    I found ,when I change any of the values for the segment in the single and agent decision tables to not equal, example <> 1001 that the workflow works but all change requests will go to the same person.
    Thus my assumption is that something might be wrong with the BADI
    Your help will be highly appreciated
    Thanks
    Riaan
    Please find Badi below
    method IF_USMD_SSW_RULE_CNTX_PREPARE~PREPARE_RULE_CONTEXT.
        DATA:
          lo_crequest      TYPE
    REF TO if_usmd_crequest_api,
          lt_entities      TYPEusmd_t_crequest_entity,
          ls_entity        TYPE usmd_s_crequest_entity,
          lr_table         TYPE REF TO data,
          lt_sel           TYPE usmd_ts_sel,
          ls_sel           TYPE usmd_s_sel,
          lv_brf_expr_id   TYPEif_fdt_types=>id,
          ls_context       TYPEusmd_s_fdt_context_value,
          lv_exit          TYPE c.
      FIELD-SYMBOLS: <lt_fin_int>
    TYPE ANY TABLE,
                     <ld_fin_int>  TYPE
    any,
                     <pctrseg>      TYPEfb_segment,
                     <value>      TYPE
    any.
    * Prepare export parameters
      CLEAR et_message.
      CLEAR et_rule_context_value.
    * Get the CR API for the current
    CR
      CALL METHOD cl_usmd_crequest_api=>get_instance
        EXPORTING
          iv_crequest          = iv_cr_number
        IMPORTING
          re_inst_crequest_api = lo_crequest.
    * Create data instance of the
    entity PCTR for read access
      CALL METHOD lo_crequest->create_data_reference
        EXPORTING
          iv_entity    ='PCTR'
          i_struct     =if_usmd_model=>gc_struct_key_attr
        IMPORTING
          er_table     =lr_table
          et_message   =et_message.
      CHECK et_message IS
    INITIAL.
      ASSIGN lr_table->*
    TO <lt_fin_int>.
    * Get the instance keys for entity
    type PCTR
      CALL METHOD lo_crequest->read_objectlist
        EXPORTING
          iv_entity_type = 'PCTR'
        IMPORTING
          et_entity      = lt_entities
          et_message     =et_message.
      CHECK et_message IS INITIAL.
    * Read the PCTR entity of the one
    and only PCTR of the CR
      READ TABLE lt_entities INTOls_entity INDEX 1.
      CHECK sy-subrc = 0.
      ls_sel-fieldname ='PCTRSEG'.
      ls_sel-sign = 'I'.
      ls_sel-option = 'EQ'.
      ls_sel-low    = ls_entity-usmd_value.
      APPEND ls_sel TO lt_sel.
      CALL METHOD lo_crequest->read_value
        EXPORTING
          i_fieldname      = 'PCTRSEG'
          it_sel           = lt_sel
          if_edition_logic = abap_false
        IMPORTING
          et_data          = <lt_fin_int>
          et_message       = et_message.
    * Get the one and only FB_SEGMENT
    of the one PCTR in the CR
      LOOP AT <lt_fin_int> ASSIGNING <ld_fin_int>.
        ASSIGN COMPONENT 'PCTRSEG'OF STRUCTURE <ld_fin_int>
    TO <pctrseg>.
        EXIT.
      ENDLOOP.
      CHECK sy-subrc = 0.
    * fill out the return table
      get_element_id(
        EXPORTING
          iv_cr_type = lo_crequest->ds_crequest-usmd_creq_type
          iv_name    ='PCTR'
        IMPORTING
          ev_brf_expr_id = lv_brf_expr_id ).
      ls_context-id = lv_brf_expr_id.
      CREATE DATA ls_context-value TYPE fb_segment.
      ASSIGN  ls_context-value->* TO <value>.
      <value> = <pctrseg>.
      APPEND ls_context TO et_rule_context_value.
      endmethod.

  • FSCM-COL: Problem with basic rules

    Hi,
    We have a business requirement where the basic rules:
    - BR00000002: Total of All Items Overdue Since n Days
    - BR00000004: Total of All Items Due within n Days
    - BR00000019: No Successful Customer Contact in Last n Days
    - BR00000020: Successful Customer Contact in Last n Days
    Where the parameter "NO_OF_DAYS" needs to be able to be selected as a constante (=), greater (>) or less (<) in the collection strategy configuration (Transaction Code UDM_STRATEGY => Conditions)
    I tried to update the configuration of the basic rules (transaction code S_SE3_50000242 and there by changing the info in the "Single field option") but after a few tests i notice that, in spite of the user be able to select if the number of days is greater or not than "x" when i simulate i have no results....
    Do you guys know how is definid the logic of those BADI's (CL_IM_UDM_BR00000002, CL_IM_UDM_BR00000004, CL_IM_UDM_BR00000019, CL_IM_UDM_BR00000020) for these selection options ?
    Does it only allow to be a constant this "NO_OF_DAYS" ?
    Thanks in advance for your inputs.
    Best Regards,
    Bruno Sousa

    Hi Deep Patel,
    Many thanks for your inputs.
    Actually here the issue is with the option field "Number of Days" and not the amount (that is available in BR0000002). This option field is defined (as standard) only for a constant (="X" days).
    If we change the option field (for the basic rules BR/02, BR/04,BR/19, BR/20) for being able to be also >, < the system seems to not work correctly...
    Best Regards,
    Bruno Sousa

  • FSCM-COL:  Functional logic of Basic Rule BR00000002

    Hi,
    We are implementing SAP Collections Management and we have a few
    customers that are never considered valid to the Worklist.
    We checked a few customers and it seems that because of Basic Rule BR00000002 they aren't considered valid.
    I checked transactional data and they have overdue items.
    What is the lfunction ogic for this basic rule ?
    It has a couple of conditions, namely amount and number of days. Whats the logic of this basic rule ?
    For instance, i have an customer that as an invoice that is overdue for 5 days for 100 Euros.
    Today is 09.02.0211 so, if i go to UDM_Strategy and in select options i put :
                    - amount > 0
                    - number of days = 5 (by the way this rule only acepts the operator '=' and not '>' or '<'
    So, will the customer be valid to the rule ?
    As far i was able to understood,  for this kind of example, the system will calculate an valid date between the diferential of todays date (in exampleo 09-02-2010) and the days putted in condition (in this case 5).
    For this example it will be 04-02-2011. After that, he will get the amount of all open invoices that are created for the date LE than 04-02-2011.
    Am i corrected ?
    Best Regards,
    Bruno

    Hi Mark,
    Yes, documentation states that the basic rule applies if the total of all overdue items for a customer in the collection segment is in amount interval that  i specified and, that if i don't specify an amount, the system checks whether there are overdue items for this customer in the collection segment.
    But my doubt is regarding the second part namely that i can also specify that only those items are to be considered that are overdue since a specific number of days (tolerance days).
    This part is not totally clear for me...so if my conditions are:
    - Amount > 0,01
    - Number of days = 5
    The system will check if i have an total overdue amount greater that 0,01 for documents that are overdue until 03.02.2011 (Worklist date minus 5 days) ?
    Thanks in advance.

  • Project settlement to CO-PA and BAdI for automatic creation of rules

    Hello SAP experts!
    I have managed to implement settlement rule strategy to CO-PA for sales project WBS-elements, which automatically creates the settlement rules for WBS-elements with billing indicator. One or more sales order items are assigned to the WBS-elements. When the system derives settlement rules, it generates profitability segments that contain the characteristic values of the WBS elements and the sales orders assigned to them. The problem is, that only one single settlement receiver is determined for each WBS-element. And if more that one sales order item is assigned to the same WBS-element only those characteristics are copied to the settlement rule that are same in all sales order items.
    For example; it products are different in all sales order items, the automatically created settlement rule does not contain the characteristic value product or neighter other caracteristics derived from product.
    Do You have experience of using BAdI for influencing the generation of settlement rules? What it actually makes possible?
    Br, Nina

    Dear Waman,
    thank you for your reply !
    Yet - this still does not solve our problem. In that note (and also in the related note 201445) there is no valuable information included concerning transaction currency:
    Our WBS elements (and also other cost objects, e.g. sales order items) are being debited in all of the three currencies.....but the credit (during settlement) only takes place in two of them:  object and CO area currency.
    I really appreciate additional help on this. It would be hard to believe that we are the only SAP customer having this kind of problem.
    Best regards,
    Thomas

  • What Are the Exact Basic rules for Replying a Thread...... -:)   @};-

    Hi Experts,
    After Looking into the forums many days I had a small conclusion about forums,
    SAP Forums are better place I have seen for getting a goo dhelp & Knowledge...
    Why can't we make it a BEST Place.
    This is just a small doubt which I would like to clear myself first,
    I have seen many users In the forums asking for a Basic Questions
    When cleared, But still they want to have a Spoon feeding with a Sample Code.
    When Sample Code Given they will provide the original code and requests for Modifications.
    These always looks to me as crazy.
    I have seen somelong time agin by moderators posting that In SCN there will be no SPOON FEEDING.
    I am not sure whether if still this Rule AVAILABLE or NOT.
    Ok if the task is really difficult let them ask again and again,
    And it was not replied, let them repost, I agree with them.
    And How about a User Registered in SDN very long back and asking for a silly question in below thread,
    [Sendin Email to the recipent list -Need correct FM |Getting the address from shipto partner of Bil. item not directly from C.ma]
    This is one more example, really funny, The thread poster needs the solution at any cost, he doesn't require and Suggetions,,, {He Only needs Solution}
    [Radio Buttons |Radio Buttons;
    [Turning Off Debugger |Turning Off Debugger;
    [Regarding Amount in words|Regarding Amount in words;
    There are 100's of threads like this....Everyone knows this facts.
    Check this who answered this one and who replied correct answer, who copied, finally who was rewarded...!
    [how to validate POsting period |Re: how to validate POsting period]
    Now My Real Problem is....!
    User is always intelligent, Only the weakness is in Contributor, trying to help them,..,
    And I openly say that Someone requesting for basic help is not DUMB, But the Contributor replying forgets
    the basic rules " Why Contributing ?"
    According to me It's not the Requestor to see Rules & Requlations before posting the threads,
    But its responsibilty for the Contributing person to see th Rules & Requlations before replying the threads,
    If we follow the rules and stand on a single word or rule or anything there will be Good Result.
    Major Problem is in US not anyone else.
    Example Some one saying search in the forum,,, then please no replies after that...
    But we are very pity hearted again we post the solution,,,
    But it is not at all enough(for cintribtor's)... they will copy the solution and post again by slight Modifications,
    And Some users are having 500,600,700,800 Posts with 0 points, registered long long back.
    They are completly dependent on forums,,, As they goto office and as they eat, The same they open forums and ask Queries...
    They will never realize what they are doing,, and we will never let them improve better...
    Finally Lets Discuss About this and Correct & Suggest me if I am wrong,
    Is my thoughts are going in the right way or not I am not even sure... Please Aslo Correct me if I did any mistakes.
    Thanks & regards,
    Dileep .C
    Edited by: Dileep Kumar Chinnaiah on Apr 29, 2009 12:33 PM
    Title Changed Form
    "What to do when someone asking for Basic Questions" to "What Are the Exact Basic rules for Replying a Threads...... "

    Hi Stephen,
    Very useful Information,
    First tell me a little something about my self...
    After completion of my certification(as a fresher) I was down the streets hunting the job,
    with the insufficient knowledge and being a non-experienced person, I never got one.
    And mean while when I got my "S-UserID", I used to be proud, To say frankly, I registerd in SDN & SAP all at a time, without even knowing what I can do there..,
    When I got a job afterwords I was doing the job and never seen SDN page for many months,
    when I came to know that of we have doubts we can post at SDN. then started requesting help,
    I posted only a little, I didnot got the proper response. on that day I decided,
    still there are some places where we cannot get help on time and there will be people waiting to get help,
    Why cant I put some of my efforts to help others.
    Then I searched some topic by Topic in SDN topic by Topic I used to read threads just for knowledge.
    when I feel my self comfort for contributing, I started contibuting...!
    If you haven't read it, take a look first, so you can understand where things are now.
    I dont know where things are now. But these in this thread I mentioned clearly what I seen from the day I started contributing.
    I searched with the terms of 'Rules for replying', The results are not as I expected, and this link has subject as
    "O SDN, where art thou?" So it dosent hit my in the list.
    Like everybody until a certain stage I am also rushing for points.
    But I most cases I never tried to copy paste answers. If I done some then that is just to point it myself some day,
    I have no hopes or no intrest on the points...! This was discussed with Rob & Matt, at my inital contribution where my points are 36.
    From that day till date I have changed a lot to myself.
    Everyone cannot change like me because they are not like me & And I dont even expect that...!
    I will be online almost 6-8Hrs a day, Not even getting intrest to see the forums just because of the co-contributors.
    My only point is I am just requesting to a co-contributor,
    Clearly In a example : Lets say contributor has replied to a thread, and if you know that is a correct solution,
    please dont reply any more, If you have a better solution than that, then only reply,
    Even there is one reply in the thread not a matter, if correct answer leave that query.
    If still error persists, Show up with your Idea's...
    Dont let down the contributor, by copying his reply and editing and pasting(edit only if incorrect).
    I am just looking for this one exactly to circulate between ourselfs.
    For this we a little support from moderators to circulate(may be as a rule or may be as a mail to them)
    You may say again how many mails we have to send, It dosent matter, one mail to one person one time,
    and +ve factors will show up definetly.
    A real contributor always understand what I am talking about, but some one who hunts for points will never.
    I am really sorry if I am troubling with my doubts & requests,
    If so, Pleae forgive me,,
    Thanks & regards,
    Dileep .C

  • Exit/BADI for creating settlement rules in IW32 upon release of order

    I need settlement rules to be populated in IW32 when an order is released.
    The data for the settlement rules population will be obtained from a Z table based on Order type and Maintenance Activity Type.
    I am not able to find out a suitable BADI/EXIT to fulfill this requirement. Has anybody worked on this kind of requirement earlier? Please suggest an EXIT/BADI/BTE for this.
    Thanks in Advance!!

    Hi Harveen,
    How did you populate the fields in K_ORDER_SRULE_ADD. Which ones did you populate. I keep getting an error message.
    Receiver categ. is not allowed by settlement prof. PM0001 for this sender
    Message no. KD031 Diagnosis The settlement profile specifies which receiver
    categories you can settle a sender to. Receiver category is not allowed by
    settlement profile PM0001 for this sender.
    Procedure
    You can do the following:
       Assign a settlement profile to the sender, that implements the
    required receiver category .
        Choose "Goto -> Settlement Parameters".
       Specify another receiver for distribution rule 009. If you already
    used this rule for a previous settlement, enter a valid-to period. Then
    enter a new rule for the next settlement with a receiver category. This
    category must be one that is allowed by settlement profile PM0001.
    Procedure for System Administration
    If necessary, maintain a suitable settlement profile.
    Would very much appreciate your help.
    Cheers
    Eunice

  • BADI for Address Check in PA30 in ECC6.0

    Hi Friends,
    Is there any BADI for Address Check in PA30 in ECC6.0 similar to what we have in BP transaction in ECC6.0.
    Thanks,
    Pradeep

    check these...
    Enhancement/ Business Add-in            Description
    Enhancement
    PBASRP01                                PA: User exit distributed reporting
    PBAS0002                                PA: Enhancements for Personnel Administration - Menu
    PBAS0001                                PA: Pers.Admin./Recruitment: Default values and checks
    PARA0002                                Enhancement for Calculating Annual Salary; IT0008,14,15
    PARA0001                                Enhancement for Determining the Number of Periods
    HRRPAI01                                User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    HRPC0001                                HR: PC download authorization
    HRPBAS01                                User Exit for HR Master Data
    Business Add-in
    HRPAD00_PREM                            Definition of User Exit for Collective Search Help PREM
    HRPAD00_RECOG_SCREEN                    Employee Recognition Screen
    HRPADUS_PBAS_0001                       Customer Exit for Message handling
    HRPAD_SUBTY_CHECK                       HR: Master Data, Subtype Check
    HR_F4_GET_SUBTYPE                       HR: Entry help for subtypes
    HR_FAST_ACTION_CHECK                    Check fields on the fast entry screen
    HR_INDVAL                               HR: Indirect wage type valuation
    HR_SET_PKGAB
    HRPAYXX_DELETE_PERNR                    BAdI for Reports Deleting Personnel Numbers
    HRPAD00_PAPM                            Definition of User Exit for Collective Search Help PAPM
    HRPAD00_GET_AF_0008                     Additional Fields for Basic Pay Infotype (0008)
    HRPAD00_ENTRY_LEAVE                     HR_ENTRY_DATE and HR_LEAVING_DATE
    HRPAD00_ADRS                            HR: Address formatting
    HRPAD00MGEACTIVATION                    Activation Action BAdI for Global Employees
    HRPAD00INFTY                            Update / Infotype maintenance
    HRPAD00AUTH_TIME                        Time Logic in the PA Authorization Check
    HRPAD00AUTH_RECORD                      Spanish Data Privacy Law: Exit for Recording
    HRPAD00AUTH_CHECK                       HR: Authorization Check
    HRIV_REDUCE_AMOUNT                      Reduction within Indirect Valuation
    No.of Exits:          8
    No.of BADis:         19

  • User exit or BADI for recruitment

    Hi,
    I am new to HCM, can you give me user exit or badi for recruitment.
    Requirement - i have developed an infotype which i am updating through BSP, while the custom infotype is updated it should simultaneously update some of my Z tables. Hoping for positve replies earliest.
    Thanks in advance:-
    Santosh

    Hi,
    <b>Infotype</b>The data fields of HR master data, time management and recruitment are grouped logically into information types or infotypes for short.
    Examples of infotypes are "Family/Related Person", "Organizational Assignment, "Basic Pay".
    The following naming conventions apply to infotypes:
    Infotypes 0000 to 0999 are used for HR master data
    and sometimes for applicant data
    Infotypes 1000 - 1999 for organizational management
    Infotypes 2000 - 2999 for time data
    Infotypes 4000 - 4999 for applicant data
    Infotypes 9000 - 9999 for customers
    <b>Function character of step</b>
    This controls for which types of processing (create, change and/or delete a data record) a dynamic action should be carried out.
    The processing type is indicated by a two-digit numeric value. These values can be added up; in other words, you can enter several processing types for each infotype, subtype or field. A dynamic action can also be carried out independent of the current processing type.
    00 for Independent of the current function carried out
    02 for Change
    04 for Create
    06 for Change and create
    08 for Delete
    10 for Change and delete
    12 for Create and delete
    Examples
    If you enter 06, an action is carried out if the specified infotype was created or changed.
    If you enter 00, an action is carried out irrespective of whether the specified infotype was created, changed or deleted.
    <b>Variable function part</b>
    The variable function part, which depends on the indicator for step, can have the following meaning:
    <b>P - Plausibility checks</b>
    You can enter values for specific infotype fields. Field names must be entered in full. Literals and constants can serve as comparison values. These must be enclosed by inverted commas. Variables can also be used.
    The old value of a field can be used for comparison; the field name must be preceded by PSAVE-.
    If fields of other infotypes are used for comparison, these must be stored in the module pool of the current infotype.
    The following comparison operators are supported:
    = equal to,
    < less than,
    <= less than or equal to,
    > greater than
    >= greater than or equal to and
    <> not equal to.
    Consecutive checks must be linked by a logical AND. Logical OR links must also be indicated by a /X.
    Note:
    Note that all checks with OR links must have a /X.
    If the result of the comparison operation is not "true", then the following commands (I, F, W etc.) are skipped over until a field is reached or a new comparison operation takes place.
    Examples
    Infotype  Field ..... Ind.   Variable function part
    0007      STAT3       P      P0007-STAT3='0'
    0007      STAT3       P      PSAVE-STAT3='1'
    The step is taken if the value in the P0007-STAT3 field changes from 1 to 0.
    0007                     P      P0013-KLKZ1<>'0'/X
    0007                     P      P0013-ALVKZ<>'0'/X
    0007                     P      P0013-RVKZ1<>'0'/X
    0007                    P      P0013-RVNUM=SPACE
    The first three conditions are linked by an OR; at least one of these conditions must be met. Condition 4 must always be met.
    The step is taken if the following holds true:
    P0013-KVKZ1 not equal to 0 or P0013-ALVKZ not equal to 0 or P0013-RVKZ1 not equal to 0, and P0013-RVNUM empty.
    <b>I - Maintain infotype record</b>
    Enter the step, infotype, subtype, object ID, start and end dates of the record and an indicator which defines whether the step is to be run in the background. The possible actions are INS, COP, MOD, and DEL.
    Use commas to separate selection criteria just like the separator in the matchcode. If an entry is missing, the system inserts a comma.
    Separate the indicator for suppressing dialog from other entries by a slash D (/D).
    Constants, such as those for subtypes, are not enclosed in inverted commas.
    Variable entries are also permitted. Fields containing such values must be put in brackets.
    Examples:
    Infotype  Field ....  Ind.  Variable function part
          ....             I    INS,19,01/D
    Step: Create a Dates record, subtype 01, run in the background
          ....             I    DEL,14,M559
    Step: Delete Rec. Payments/Deds. record with subtype (wage type) M559.
    0007 ....                I    INS,8,,,(P0007-BEGDA),(P0007-ENDDA)
    Step: Create a Basic Pay record (0008) without subtype and object ID. The start and end dates are the same as those in the current Planned Working Time record (0007); specify these two fields only if they are filled because the dynamic action was triggered by this infotype.
    <b>W - Default values for new record</b>
    Literals or variables are used as default values.
    Set the defaults for the infotype, subtype, object ID, start and end dates using an I step and not a W step.
    Do not set defaults for Q fields of an infotype because the values for these fields are derived from the corresponding P fields.
    Examples
    Infotype  Subtype  ..... FC  Ind.  Variable function part
    0021       2              04  I     INS,0015,M430
    0021        2              04  W     P0015-BETRG='10000'
    When a Family/Related Person record (0021) record with subtype 2 (child) is created, an Additional Payments record (0015) with a default amount of 100.00 is created.
    <b>V - Cross-reference to another step</b>
    Here, you can combine fields to groups. The variable function part contains the value in the field which follows the "field" column. Steps which are specified only for the following field are also triggered for each of the other fields.
    Examples
    Infotype  Field  ..... FC  Ind.  Variable function part
    0016       PRBZH        06  V     PRBZT
    0016       PRBZT        06  I     DEL,0019,01/D
    Infotype 0019, subtype 01 is deleted in the background when the field PRBZT or PRBZH in infotype 0016 is changed or created (function code 06).
    The following entries are equivalent:
    0016       PRBZH        06  I     DEL,0019,01/D
    0016       PRBZT        06  I     DEL,0019,01/D
    <b>F - Call a routine</b>
    You can call internal (module pool) as well as external routines.
    If you call external routines, type the program name in brackets after the routine name. Do not specify 'using' parameters. When calling an external routine, all data must be declared in a common part. You can use the fields of structure RP50D to return values from the routine. These are not used in the standard system and can only be populated via the routine and then can be used for defaults (W-Commands).
    This allows customer-specific routines to be formulated with all the above steps.
    Example 1:
    Infotype  Field  .....  Ind.   Var.function part
    0016      PRBZT         F      PROBATION
    0016      PRBZT         I      INS,19,01
    0016      PRBZT         W      P0019-VTRMN=PRBEND
    Module pool MP001600 contains the PROBATION routine. This routine uses the entries in the fields P0016-PRBZT and P0016-PRBEH to determine the end of the probation period which it stores in the field PRBEND.
    The system creates a new 'Dates' record with the reminder date = PRBEND.
    Example 2:
    Infotyp ..... Ind. Var. function part
    0001           F      GET_DATE(ZPUDYN01)
    0001          I      INS,19,01
    0001           W      P0019-VTRMN=RP50D-DATE1
    The GET_DATE routine in program ZPUDYN01 calculates a date and enters this date in the RP50D-DATE1 field via "TABLES RP50D" in ZPUDYN01. This date can be user-defined in GET_DATE: if necessary, user-defined infotypes can be read afterwards.
    <b>M - Send a mail</b>
    Enter the name of the feature which defines the characteristics of the mail.
    Example
    Infotype  Field  .....  Ind.    Var.function part
    0001     SACHP         M       M0001
    A mail is sent when the field SACHP is changed. The characteristics of the mail are defined in feature M0001.
    In the standard system, feature M0001 is provided as a model. The documentation on feature M0001 explains how to define the characteristics of a mail.
    <b>ADDITIONAL HINTS</b>
    If you use a date as a constant, enter it as YYYYMMDD (YYYY=year, MM=month, DD=day).
    The table strings T001P, T503 and PSPAR are filled with the values which are valid on the record start date.
    The old values of the infotype are stored in the field string PSAVE. The structure of this string is the same as the Pnnnn structure (nnnn=infotype). The structure is filled with (valid) values only when the delete, change and create functions are used.
    Please read Create dynamic actions in the Implementation Guide.
    Regards
    Bernd

  • User exit/BADI for tracing change of User Status in IW22

    Hello,
    I am looking for a user exit or BADI that triggers whenever ther's a change made to User status field.
    eg. changing user status to APTC(Approved to be executed)
    I then need the exit/badi to trigger my workflow to send mails to list of reviewers. I can handle that but I am not able to find the suitable exit.
    I have seen BADI IQS0_STATUS_MAINTAIN, but no use.
    Can anyone help?

    Hi..
    Transaction Code - IW22                     Change PM Notification
    Enhancement/ Business Add-in            Description
    Enhancement
    IWO10026                                User check on setting status 'Do not perform'
    IWO10027                                User exit: Generate user-defined settlement rule
    IWOC0001                                Create PM/SM notification: Determine reference object
    IWOC0002                                PM/SM notification: Check whether status change is allowed
    IWOC0003                                PM/SM authorization check of ref. object and planner group
    IWOC0004                                Change single-level list editing PM/QM/SM ALV settings
      Business Add-in
    WOC_FL_DETERMINE                        Determine Date for Determining Installation Loc. Equi.
    NOTIF_AUTHORITY_01                      Additional Authorization Checks for the Notification
    IWOC_OBJECTINFO_CHNG                    Changes to Data of Object Info Screen
    IWOC_LIST_TUNING                        Performance Tuning for Lists in PM/CS
    IWO1_SUBSCREEN_0170                     Display Additional Data on Object Screen 0170 PhysicalSample
    IQS_MASS_CHANGE                         BadI for Mass Changes to Notifications
    IQS0_STATUS_MAINTAIN                    Control of Changeability of User Status
    No.of Exits:          6
    No.of BADis:          7
    Arunima

  • Which program for basic business presentations?

    Forgive me but I need to ask for advice on what program to use for video editing for basic business presentations. I think Premiere Pro is way beyond my needs, mainly in terms of learning curve (as well as the cost).
    For what it's worth, I'm an avid Adobe user, and have been for years, for other programs: I currently use InDesign, Photoshop Elements, Dreamweaver, Audition, and Acrobat Standard (and also subscribe to the Acrobat Connect service). So, I don't feel too bad asking this forum to recommend "different" software for video editing. (Maybe Premiere Elements is best for me, but maybe not.)
    I do not have any experience in video editing, and I do not have any time for a significant learning curve. I also don't need to do anything fancy.
    I bought a MiniDV camcorder (Panasonic PV-GS300). I'm using a PC (3.6G, 1G RAM, half the 160G HD available, though I'll have to add a Firewire PCI card shortly) and Windows XP Pro. I'll get tripod lights and a good headworn mic. I use Nero Burning ROM 6 to burn DVDs (I've used its simple wizard to convert files and burn DVDs).
    My purpose is to create about a dozen or so 6- to 12-minute clips consisting mainly just of me standing and giving a verbal speech and with some still images created from the computer (PDF, GIF, or whatever) stuck in between the video (I'll probably want some of the speech from the video taping, or else some speech I create in Audition, to play through the showing of the still images).
    I'm not concerned with fancy video effects! I don't need it and I can't justify the learning curve (or cost) for it! Fades in and out are probably as advanced as I will get, though I really don't even need that.
    I'll want to create the videos in file formats for Windows and for Mac, and to put them on our web site for streaming video as well as burn DVDs.
    I'm sure I'll want to be able to adjust the image sizes and file sizes by choosing the tradeoff level with quality, though I hope there will be a set of standard defaults. I also really need good user forum support (I have no idea if Premiere Elements is enough for me but I sure have come to rely on the users on the Adobe forums).
    I need to ask whether I should get Premiere Elements or... yes, I know it's blasphemy but I swear I'm a loyal member of the clan in all other ways... whether there is another video editing program that's light-weight enough to be pretty quick in getting through the learning curve for the basics I want, and that's relatively inexpensive. (I've been told on one forum... blasphemy again, I know... that I should look into Vegas 7, but the price and sophistication seem way beyond my needs based on an initial glance on the web -- but maybe I should just spring for it and go. It also seems Vegas 7 is more practical for my needs than Premiere Pro -- but I'm really hoping I'll be pointed at much lower-end programs.)
    I really appreciate any advice I can get. I run a small business with big growth ahead (I have a tiger by the tail) and need to jump on this and to do it myself for now, and I just do not have a lot of time for learning.
    Thanks so much!
    Jay

    OK, fair questions.
    In my opinion, the learning curve for the most commonly used 95% of the programs is exactly the same between Premiere Pro and Premiere Elements. It really is. Capture video, figure out what you want on the timeline, put it on the timeline, add transitions, add music, export to something a DVD program can use, all of that. It is darn near identical.
    However... then you decide you want to do something interesting. You come online and we tell you that is it very simple. Just use Premiere Pro to do... oh, wait, you don't have Pro? Just Elements? Too bad.
    OK. Then you say "How do they make those great motion titles?". We say "It's easy, just use one of the text animation presets in After Effects". What? No After Effects? Too bad.
    So let's say you like using After Effects for titles and you decide you want to expand your knowledge. Simple. Get some projects from Dean Velez and modify them to suit you. Do you need to learn it all at one time? No. Just what you need when you need it.
    This is one reason that if you buy the Production Premium, one of the choices for extra goodies is a one month subscription to Lynda.com to watch their tutorials.
    Spend the time watching the tutorials. If something catches you eye, write down where you saw it so you can go back and really learn it.
    Just because you own a hammer and a saw and other hand tools doesn't mean you need to learn to be a carpenter. It just means that when your wife asks you to do something, you will have the required tools so you can go on the web and learn how to do that task, without having to run to Home Depot - which may be closed at the time you need it.
    I originally bought Premiere 6.0 and when I went to an Adobe demo at DVExpo in NYC back in 2002 I saw an After Effects demo. I called from the Adobe booth to order After Effects. Why? When I saw that the learning curve was only hard if you tried to tackle the whole thing, and I realized I could just use the part I needed, my whole opinion changed.
    If you only used After Effects for text in motion and for Stills in motion (Ken Burns and much more), you would get your money out of it. And that stuff can be learned in 15 minutes. Add in the real need for you, the chroma key, and the time savings is HUGE. You really need to know less to use Keylight than you do to use Premiere Pro to attempt the same thing.
    Having the full version of Photoshop is nothing more than you have now. Until you need more. Then you have it.
    The ability to use all of the Adobe products together outweighs any Vegas or Avid (consumer) advantages.
    Besides, we are much more helpful on this forum than those other guys! ;)

  • BADI for Vendor Invoice after Posting to send a mail to vendor

    Hi,
    My requirement Is like this.
    I have to send a mail to vendor after the Invoice for vendor is Posted.
    For dat I am searching for a badi to implement after the invoice is successfully posted.
    Please give some solution about this.
    Regards,
    Jyoti..

    if it is F-43 . check out the following
    BAdI Definition      Description                                                                               
    AC_QUANTITY_GET      Transfer of Quantities to Accounting - Customer Exit       
    BADI_ENJ_ALT_ADR     Go to alternative vendor/customer data                     
    BADI_F040_SCREEN_600 Screen Enhancement on F040 0600 Document Header            
    BADI_FDCB_SUBBAS01   Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)  
    BADI_FDCB_SUBBAS02   Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)  
    BADI_FDCB_SUBBAS03   Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)  
    BADI_FDCB_SUBBAS04   Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)  
    BADI_FDCB_SUBBAS05   Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)  
    BADI_PRKNG_NO_UPDATE BAdI for Deactivating Update of Parked Documents           
    F050S008             FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger      
    FBAS_CIN_LTAX1F02    Tax interface                                              
    FBAS_CIN_MF05AFA0    EWT - Downpayment Clearing - Tax transfer for CIN          
    FI_AUTHORITY_ITEM    Extended Authorization Check for Document Display (FB03)   
    FI_GET_INV_PYMT_AMT  BAdI for determining the payment amount for an invoice     
    FI_HEADER_SUB_1300   Screen Enhancement for Document Header SAPMF05A            
    FI_PAYREF_BADI_010   BAdI: Payment Reference Number                             
    FI_TRANS_DATE_DERIVE Derive BKPF-WWERT from Other Document Header Data          
    INVOIC_FI_INBOUND    BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)          
    RFESR000_BADI_001    BAdI for Own Processing of POR Item                        
    otherwise - find out the package of the program of the transaction.
    go to se84 - enhancements- business add ins - definitions - enter package and execute - you will see all the definations.

  • User,Customer exits or BADI for IDOC Type - CRMXIF_ORDER_SAVE_M01 in CRM

    Hi Friends,
    We are creating teh EDI Sales order in CRM using below details:
    Basic Type - CRMXIF_ORDER_SAVE_M01
    Message Type - CRMXIF_ORDER_SAVE_M
    Functional Module  - IDOC_INPUT_CRMXIF_ORDER_SAVE_M
    Direction -Inbound
    We need to customize the values for the IDOC,
    Can any one help  us in providing the details on any Customer Exits , User Exits and /or  BADIs for the abov ementioned FM.
    We greatly appreciate your early responce.
    Thanks
    Vijay

    Thanks Naresh, it helped...
    Can you please help on the below:
    1. For outbound Sales order IDoc- CRMXIF_ORDER_SAVE_M01,need BADIs for modification of the IDoc before it gets generated.
    2. Need program to generate output as outbound IDoc- CRMXIF_ORDER_SAVE_M01  for sales order conformation/acknowledgement.
    3. Need a BADI after the EDI Sales order is saved.
    Thanks in advance
    Vijay

  • BAdi for Statistical Posting F-38 & F-55

    Hi Experts,
    I am going to add additional fields in AR and AP - Statistical posting, F-38 and F-55
    I try to look for BADI to maintain it, i came across FI_HEADER_SUB_1300IM, with that, i am able to add the fields for FB01 but it seems cannot be added into F-38 and F-55.
    Any suggestion?
    Thanks!!

    Hi,
    For f-38 and f-55,
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    SAPLF051                                Workflow for FI (pre-capture, release for payment)               
    RFKORIEX                                Automatic correspondence                                         
    RFEPOS00                                Line item display: Checking of selection conditions              
    RFAVIS01                                Customer Exit for Changing Payment Advice Segment Text           
    FARC0002                                Additional Checks for Archiving MM Vendor Master Data            
    F180A001                                Balance Sheet Adjustment                                         
    F050S007                                FIDCCH Outbound: Influence on IDoc for Document Change           
    F050S001                                FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment           
    F050S002                                FIDCC1: Change IDoc/do not send                                  
    F050S003                                FIDCC2: Change IDoc/do not send                                  
    F050S004                                FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send         
    F050S005                                FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document          
    F050S006                                FI Outgoing IDoc: Reset Clearing in FI Document                                                                               
    Business Add-in                                                                               
    BADI_ENJ_ALT_ADR                        Go to alternative vendor/customer data                           
    BADI_F040_SCREEN_600                    Screen Enhancement on F040 0600 Document Header                  
    BADI_FDCB_SUBBAS01                      Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)        
    BADI_FDCB_SUBBAS02                      Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)        
    BADI_FDCB_SUBBAS03                      Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)        
    BADI_FDCB_SUBBAS04                      Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)        
    BADI_FDCB_SUBBAS05                      Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)        
    BADI_PRKNG_NO_UPDATE                    BAdI for Deactivating Update of Parked Documents                 
    INVOIC_FI_INBOUND                       BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)                
    F050S008                                FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger            
    FBAS_CIN_LTAX1F02                       Tax interface                                                                               
    FBAS_CIN_MF05AFA0                       EWT - Downpayment Clearing - Tax transfer for CIN              
    ADJUST_NET_DAYS                         Change to Net Due Date                                         
    FISPLIT                                 Online Split: Cash Discount, Exchange Rate Differences         
    FI_AUTHORITY_ITEM                       Extended Authorization Check for Document Display (FB03)       
    FI_DOC_DISP_LI                          Diversion to Document Items (FB03)                             
    FI_FB08_SUBST_BUDAT                     FB08: Check Posting Date for Reversal of FI Doc. with FB08     
    FI_GET_INV_PYMT_AMT                     BAdI for determining the payment amount for an invoice         
    FI_HEADER_SUB_1300                      Screen Enhancement for Document Header SAPMF05A                
    FI_PAYREF_BADI_010                      BAdI: Payment Reference Number                                 
    FI_RES_ITEM_CURRENCY                    Document of Residual Item with Invoice Currency                
    RFESR000_BADI_001                       BAdI for Own Processing of POR Item                            
    FI_TRANS_DATE_DERIVE                    Derive BKPF-WWERT from Other Document Header Data              
    FVFZ                                    Replacement for Function Modules of Function Group FVFZ        
    AC_QUANTITY_GET                         Transfer of Quantities to Accounting - Customer Exit           
    If it is helpful rewards points
    Regards
    Pratap.M

  • BAdi for IDOC FM idoc_input_wmmbxy

    Hi,
    I want to implement my own Method for the function Module idoc_input_wmmbxy.
    I want to check some condition and show some massages in FM.
    please tell me if there is any User Exit or BAdi for the IDOC.
    Thanks
    Girdhar

    Hi,
    WMMBXY is the MESSAGE type for Inventory Management moves. The corresponding basic type is WMMBID02.
    The inbound process code WMMB uses Inbound function module L_IDOC_INPUT_WMMBXY.
    This has e.g. EXIT_SAPLLMDE_001, EXIT_SAPLLMDE_002 and EXIT_SAPLLMDE_006 as user exits.

Maybe you are looking for