BADI FIEB_CHANGE_BS_DATA codeing

Hi experts,
I have an issue in which i have to append the leading zeros which the system populate in the assignement field of te document when the batch runs through SM35 after posting in ff68 some check number is written in the filed e.g 55555 system process the batch built in ff68 process through sm35 but when the doument are posted system populate leading zeros in the assignment field and make it 0000000055555 and make it 13 characters which is the main issue in clearing the open items in BAnk recon i have found a BADI to eliminate leading zeros which is   BADI 'FIEB_CHANGE_BS_DATA' but cannot write the code for this.
please if anyone can comment on this.
Regards

Hi
Are you correctly checking in SE18 transaction for the BADI - BBP_SC_TRANSFER_BE ?? Please double-check again...
<u>See related link -></u>
Re: Badi BBP_SC_TRANSFER_BE, method GROUP_PO
We had the same issue with GROUP_PO.
SAP asked us to use BADI BBP_BS_GROUP_BE instead of BBP_SC_TRANSFER_BE for SRM 5.0 (SRM_SERVER 550). Please refer note "Note 1073137 - SRM5.0: Badi BBP_BS_GROUP_BE instead of BBP_RESERVATION_GRP"
Here CT_ITEM is changing. The field "CT_ITEM-refnumber" corresponds to "CT_PROC_ITEM-GROUP_1".
If for the badi BBP_BS_GROUP_BE you are finding that CT_ITEM is empty as well- Please implement note "Note 1040082 - BADI BBP_BS_GROUP_BE: Parameter is_object not filled".
It should resolve the issue. With CT_ITEM filled you should be able to carry out the grouping according your crieteria.
BBP_SC_TRANSFER_BE BADI (Sample documentation and source code)
Re: PR type
Please go through the following SAP OSS Notes as , which will help ->
Note 715213 - Interface change in BAdIs in Release SRM 4.0
Note 1040082 BADI BBP_BS_GROUP_BE: Parameter is_object not filled
Note 980017 Follow-on document not created
Note 912873 Item not filled when using PO number range BADI
Note 820404 BADI BBP_SC_TRANSFER_BE not called correctly
Note 610332 BADI BBP_SC_TRANSFER_BE/BBP_RESERVATION_GRP: Customer fields
Re: shopping cart created 2 PO's fro same vendor and Org data...plz advice
Re: CT_PROC_ITEM Empty in BBP_SC_TRANSFER_BE~GROUP_RQ
<u>Do let me know.</u>
Regards
- Atul

Similar Messages

  • Can bad coldfusion coding affect on database to go down?

    I am doing all coldfusion coding part. I am given readymade
    queries.(stored procedures written in database.) I am accused of
    writing bad code which made database go down. I am not
    understanding if i am given queries or stored procedures & I am
    not directly making any requests to database no <cfquery> tag
    then how can coldfusion code make database unavailable for some
    time? because of some timeout or something.
    All examples of it all welcome.
    thank you.

    This is a rather easy accusation to levy but hard to prove
    unless your DBA has specific information as to what he/she believes
    is the problem. Perhaps you are merely guilty of accessing poorly
    written stored procedures that lack the inclusion of minimum
    protections for the database. For example, nearly ALL of my PL/SQL
    stored procedures are written to "protect" the database from
    invalid data so that I do not have to depend on the front end
    application programmers to screen for valid parameters, etc. Also,
    are they written to adequately handle exceptions, including the
    return of status messages back to the calling program, or do they
    just die and allow database exceptions to go unhandled, crashing
    your ColdFusion page?
    Are you including procedure calls involving large sets of
    data within loops, etc?
    I would insist on more information than “You must be
    writing bad code…”, since that accusation can work both
    directions. I would say, since they control the SQL, the ball would
    be in their court to prove that what you are doing is causing "the
    problem", whatever that is.
    Phil

  • BAdi to append leading zeros

    Hi experts,
    Please can anyone help me understand how to implement this BADI FIEB_CHANGE_BS_DATA step by step  to append leading zeros,its kind of urgent.
    Regards

    hi try this code.
    data: STRL   TYPE I VALUE 0.
      STRL = STRLEN( input ).
      data: in(10) type c.
      in = input.
      strl = 10 - strl.
      Do strl TIMES.
        CALL FUNCTION 'STRING_CONCATENATE'
          EXPORTING
            STRING1 = '0'
            STRING2 = in
          IMPORTING
            STRING  = in.
      ENDDO.
      output = in.
    regards,
    sohi.

  • EBS: Automatic clearing of customer open items

    Hi Experts,
    I am setting up the electronic bank statement with format MT940 structured with field 86.  As part of the scope, business is requesting to ensure that customer open items gets cleared automatically when the bank statement is uploaded through transaction FF.5.  Because bank statement contains entries relating to payments by customers into the bank account.
    But here the problem is that customers will provided ONLY the name.  They do NOT provide either the invoice reference number (XBLNR) or our accounting document number (BELNR).
    I have searched a lot and found out that I can use the BAdI FIEB_CHANGE_BS_DATA to get the SAP customer number from the customer name given in Notes to Payee fields of MT940.  Kindly correct me if I am mistaken.
    Now from the derived customer number, I need to find out the related open items which match with the amount given in MT940.  So, how does the system know which open items can be cleared for the given amount.  Because the paid amount (by the customer) can be for an individual invoice or for a couple of invoices together.  Do I need to use the enhancement user exit FEB00001 to specify the system to use fields "Distribute by age" and "Automatic search" field in transaction F-32 ?
    Or is there any other better way of achieving this objective of automatic clearing of open items.  Asking our customers to provide the invoice reference number is not an alternative since it has already been tried a lot for long without any result.  So, business has requested for the set up in our system to ease this process of automatic clearing of open items.
    Thanks you so much for your time to help me on this.  I will be waiting for your kind responses.
    Regards,
    Sridhar

    Hi Experts,
    I got this resolved by using the enhancement FEB00001.  If the field "Distribute by age" is activated through this enhancement, then system will be able to match the paid amount and the combination of open items for automatic clearing.  If there is no exact match, then automatic clearing through FF.5 is not possible as indicated in SAP Note 124655.
    There is no more necessity to use BAdI FIEB_CHANGE_BS_DATA.  Complete relevant logic can be maintained directly in the enhancement itself.
    Have a nice day.
    Regards,
    Sridhar

  • EBS Customer open items automatic clearing within tolerances

    Hi Experts,
    We have already implemented Elecronic Bank Statements automatic uploading functionality.  As part of this process, customer open items need to be cleared automatically. 
    As per the standard process, SAP will be able to clear off the open items ONLY if the collection amount (reflected in MT940) is exactly equal to the invoice amount (reflected in the open item).  But general practical situation is that customers may under / over pay.  For example, if the customer invoice is for USD 100,005 the actual payment from the customer could be for USD 100,000.  In this case, it is normal business practice that open item will be cleared off rather than keeping balance USD 5 in ledger and chasing the customer.
    So tolerances are already set up both at GL account level (Trans OBA4) and customer level (Trans OBA3) with blank tolerance group with permitted payment difference of USD 15.  And no tolerance group is assigned to the customer master.  Also account determination is maintained for the differences with nil reason code.
    Inspite of all these settings, I am getting an error message indicating that the difference is too large for clearing while trying to upload this bank statement.  Here the difference is only USD 5.
    My doubts are:
    1. Does the standard EBS program RFEBKA00 considers the permitted payment difference tolerances set in transaction OBA4 and OBA3 ?  I don't need to post the differences with reason code.  That's why account determination is maintained with blank reason code as well. 
    2. SAP Note 124655 (Point No 3) says that entering reasons for differences is not possible in the standard system through EBS.  Does that mean clearing of open items WITHOUT reason code is possible ?
    3. SAP Note 549277 (Point No 5) says that even though Note 124655 specifies certain functionalities as not supported in standard system, they can be achieved by customer through user exits.  Does that mean it is possible to code in the user exit saying that system should consider the payment difference tolerances for clearing off of the open items ?
    Could you kindly let me know your experience with these questions.  I will be very glad to hear from you.  Thanks for your time.
    Warm regards,
    Sridhar

    Hi Experts,
    I got this resolved by using the enhancement FEB00001.  If the field "Distribute by age" is activated through this enhancement, then system will be able to match the paid amount and the combination of open items for automatic clearing.  If there is no exact match, then automatic clearing through FF.5 is not possible as indicated in SAP Note 124655.
    There is no more necessity to use BAdI FIEB_CHANGE_BS_DATA.  Complete relevant logic can be maintained directly in the enhancement itself.
    Have a nice day.
    Regards,
    Sridhar

  • How to enhance table control in DMS. Need to display doknr more than 25 cha

    Hi there.
    In transaction IL03 - document tab - I need to display a doknr which is longer than 25 characters.
    I search for exit/enhancement for DMS - saplcv140/control SUB_DOC, but cant find anything.
    If it is not possible to enhance this field, i would like to add a new field (more than 25 char) and fill in the long doknr.
    The documents that are attached contains both an internal docnumber(from the external system) and an external docnumber (functional location type of number). It is very important to show external documentno in the table control.
    Actually in the table DRAW the external dok number is in the field MRK_FILEP. Can this field somehow get in the tablecontrol?
    Anybody has experience with docno longer than 25 characters? Or how to enhance tablecontrol sub_doc (screen 0204) in fuction group CV140.
    Br,
    Liselotte.

    The BAdI CRM_BADI_RF_Q1O_SEARCH is for enhancing OneOrder based searches. Not for business partners.
    The BAdI CRM_BUPA_IL_SEARCH is the way to go. I just checked in our system.
    In the method SEARCH_CRITERIA_INITIAL check if your field is supplied in IS_PARAMETERS. If yes return CV_IS_NOT_INITIAL = 'X'.
    Then in SEARCH_PARTNERS you delete the entries from table CT_PARTNER_KEYS according to your parameter.
    However this is not very performant. If you have a search with criteria only of your own for the BAdI SAP coding will first select everything and then you filter out.
    Anyway, it is much faster to implement than a new search...
    cheers Carsten
    Edited by: Carsten Kasper on Nov 18, 2008 7:44 PM

  • Index in ABAP program

    Hi Guys,
    I have a problem with index.  I created index on VBRK table with fieldsd VKORG & FKDAT and in selection query i am using only these two fields in where condition.
    Most of the times the application is running perfectly.  But some times it is running too long and giving a dump.
    I checked with basis & dba team, they are saying it is running on different index when it is giving a dump i.e., it is executing on different index some times. 
    Can anybody give me a suggestion why it is taking a different index?
    Or is there any chance to give a HINT in select statement in ABAP or specifically mension the index name in select statement?
    regards,
    shylesh

    Hi,
    this may occur when you are selecting on several different fields, not only those in the secondary index.
    If too many fields are involved, the optimizer may not find the best index any more.
    Possible reasons:
    - table statistics are not up to date
    - bug in the database software (Oracle 10 had some of those...)
    - bad ABAP coding
    Yes, you can use a hint to force the database to use a certain index, if you know what you're doing. But keep in mind that you are not database-independent any more with your code.
    I have done this successfully with the BKPF table (90 million entries in our box...)
    Greetings
    Thomas

  • EBS- Automatic clearing & posting to customer on-account

    Hi FI Experts,
    I'm hoping that you can help with the following SAP electronic bank statement (EBS) setup:
    In EBS configuration, we have setup posting rule to clear customer sub-ledger (posting type 8). This is achieved using algorithm 31 u2013 Doc number search (customer no from doc line). So when MT940 file - note to payee field has correct doc number (invoice no), system clears the customer open item automatically
    Now the requirement is if the note to payee field doesnu2019t contain correct document number (or missing doc number) but has the correct customer number- Is it possible to post the amount to the customer account based on the customer number available in the file? Business team can clear it against the invoice later manually. In summary, if doc number is available system should clear customer open item; if doc number is missing but customer number is available system should post the incoming amount to the customer account.
    Is it possible to setup the above logic using standard EBS rules; if yes how? or do you reckon a development is needed?
    Appreciate your inputs
    Thanks,
    Kalyan

    Hi Experts,
    I got this resolved by using the enhancement FEB00001.  If the field "Distribute by age" is activated through this enhancement, then system will be able to match the paid amount and the combination of open items for automatic clearing.  If there is no exact match, then automatic clearing through FF.5 is not possible as indicated in SAP Note 124655.
    There is no more necessity to use BAdI FIEB_CHANGE_BS_DATA.  Complete relevant logic can be maintained directly in the enhancement itself.
    Have a nice day.
    Regards,
    Sridhar

  • Restricting substitution in UWL

    Hi All
    I learnt that the BADI WF_SUBSTITUTES can be used to modify the substitution parameters entered by the user in UWL.
    However had some questions :
    1) Should this BADI be coded in SRM or Portal side?
    2) SAP has provided a standard implementation via class CL_EXM_IM_WF_SUBSTITUTE.
    However when I set my debug point in this class & carried out substitution in Portal UWL, the code didn't stop.
    So where exactly is this BADI is getting called.
    Thanks
    Kedar

    Hi Kedar,
    When testing the scenario please use the same user for the portal & backend. Set an External breakpoint in the BADi code and then open the portal and test.
    Does this work?
    Regards,
    Eddie

  • Script to find the " List of objects to be pinned in the shared pool"

    hi all,
    please suggest me any script is there to find the recommended objects to be pinned in to shared pool.
    Regards,
    Vamsi.

    I think the important question here is – do you really need to PIN objects? Are you facing any ORA-4031 errors?
    Oracle would tell you to PIN packages such as STANDARD, DBMS_STANDARD, DBMS_UTILITY, DBMS_OUTPUT. It really depends on your application. So I am afraid there is no exact answer for that, but you can work with your application team to learn if there is some large object that is very frequently used that you might want to PIN.
    I suggest that you check the larger objects from your SGA using the view v$db_object_cache that folks already pointed out checking the column SHARABLE_MEM.
    You can refer to v$sql or v$sqlarea (which is a grouping of v$sql) to find the most executed stored procedures and packages and so on.
    However, most of the problems shared pool problems I have faced were related to bad application coding - such as lack of bind variables - or shared pool undersized. Once those problems were fixed, I hardly had to PIN anything into the SGA.
    Regards

  • Linking external R3 Delivery Document to CRM Complaint

    Hi,
    Has any had any experience or can shed some light on linking an external R3 Delivery document to a Complaint in CRM. So far i have crated an implementation of BADI CRM_COPY_BADI_EXTERN, coded up the 'F4 Help for External Document' method which allows me to select a Delivery Document. The next step is to implement the 'Prepare DOC_FLOW Structure' method, and this is where most of my confusion sets in regarding Business Object, Logical Systems etc...
    - In R3, the 'outbound delivery' business object (which is the document I wasnt to reference) had is called LIKP. In CRM the equivalent business object is called ZDELIV. The questions is, which of these two names should be used to refer to the external document in doc flow?
    - What is the best way of determining the logical system?
    Sergio

    Hi Guys,
    Let me know how did you guys solve this issue? i need to create a complaint with reference to a delivery?
    Ciao
    A

  • Attachments in Shopping Cart

    Hi guys,
    We are using a SRM 5.0 (SAPKIBKT11) with a R/3 4.6C Backend system (Support Package 47).
    We are trying to transfer a Word-document as an attachment  in a SHC to R/3 Backend Pur.Req.
    As far as we know, we followed the necesary steps documented in various places but still the document, which can be attached and viewed in the SHC is not transferred to the backend PR.
    This is what we did up to now:
    1.     We activated in SRM a implementation of BADI:  BBP_CREATE_REQ_BACK
    coding:
    method if_ex_bbp_create_req_back~fill_req_interface.
      cv_attach_transfer_active = 'X'.
      cv_attach_be_storage_cat  = 'DMS_C1_ST'.
      cv_attach_be_doc_type     = 'SRM'.
    endmethod.
    2.     Configuration SRM – We deactivated the JAVA applet (flag)
    3.     Configuration in SAP R/3 backend we defined:
    DC10
    Document type SRM
    Parameters:
    Use Krpo – Number assignment “1”  - Number exit “MCDOKZNR” – Version number incr. “1” – Document status “ –“ (suppress field)
    DC20
    Define data carrier type "server, front end":
    Type “PC”
    Description “PC”
    Path C:\TEMP
    Flag “Online”
    Identify frontend computers
    DEFAULT
    Data carrier Type: PC
    Netw.Adress: DEFAULT
    Description: Default for local PC
    DC30
    Definition for Attachments WORD
    WS Apllication: DOC
    Description: Word
    Archive identification “*”
    File format:  .
    Flag “start Autorization”
    Define workstation application in network
    Workstation Application: DOC
    Data Carrier Type: PC
    Application type : 2
    Path with program name: d:\winword\winword %f
    Start Autorization X
    Setup office integration
    Doc.Type: SRM
    Applic: DOC
    Appl.Type: 1 (Display)
    Technique:  LINK_SERV
    4.     We aplicated note 820897 (because we are in 
                    version 4.6C  HP 47)
    5.     We used note 1057932 as a guidance.
    Can anyone revise the steps we took and see if there is something we overlooked?
    I also would like to know if it is possible to just transfer the document link to the Backend System or is it that SRM always transfers the document itself to R/3 Backend.
    This would result in having the document and in the SRM server and also in the SAP Backend Server!?
    Thanks for any help.
    Aart

    in ECC pl check the no range you have defined as internal in DC10 for doc type SRM
    exists under
    ECC->SAP Customizing Implementation Guide->Cross-Application Components->Document Management->Control Data->Define Number Ranges for Document Numbers
    check whether you can create documents locally in ECC
    CV01N
    BR
    Dinesh

  • Date Formatting Issue

    Hi ,
    I Have Procedure where it take input parameter date value
    for eg
    PROCEDURE P_GET_EMP_DATE(V_DATE IN DATE)
    IS
    V_BEGIN_DATE DATE;
    BEGIN
    SELECT max(BEGIN_DATE) into V_BEGIN_DATE FROM
    emp where TRUNC(APPT_DATE) =V_DATE+90;
    END;
    now my doubt is APPT_DATE is storing the date format in 12/16/2002
    but V_DATE which iam passing to the procedure is in the format
    '14-jul-2008' . When i execute the procedure its compiling and executing
    successfully.
    but when i try to test the single sql manually i get the following error
    ORA-00932: inconsistent datatypes: expected DATE got NUMBER .
    i know to fix the issue we have to do like this
    TO_DATE(TRUNC (APPT_DATE),'YYYY/MM/DD') < = TO_DATE('2007/03/31','YYYY/MM/DD') + 90;
    my doubt is how pl/sql engine interpreting the dates and returning the results
    though there are errors in the query.does it automatically doing formatting
    and type conversions ?

    You seem to be a bit confused about how to work with Oracle dates...
    Basically, we humans represent dates as strings in particular formats: 14th July 2008, 14/07/2008, 07-14-2008, etc.
    Oracle stores dates in its own particular format.
    In order for us to communicate with Oracle's dates, we either manipulate something that's already stored in the database as a date (eg. sysdate or a date column) OR we use the to_date and to_char functions, which convert a string to an oracle date format and vice versa.
    When working with dates in Oracle, you should stick to using the date format. If you're working with things already stored in dates, then great - you've got nothing to worry about conversion wise (and more specifically, never to_date something that's already in the date format!). You only have to worry if you have to specify a particular date as a string - then the to_date function comes into play.
    If you're wanting to output a date, you can either rely on your nls_date_format parameter setting (ok for ad-hoc queries, bad for coded queries!!) or you can explicitly state the format you want it to appear in using to_char.
    Hopefully that's clarified things for you

  • PO Number range diffrent for diffrent comp code(backend system is same)

    Hi Experts,
    I have a requirement that
    Define PO number range (Diffrent) for diffrent company code
    In our SRM system we have three company codes and currently we have only one "number range"
    now our requirement is to define diffrent no range for individual comp code
    I can difine diffrent no range, but when i am going to define those no range in "Number Range Number for Purchase Orders in Backend System"
    System is not allowing
    Any idea
    Thx
    Jai

    Thanks Padhi:)
    Great Job...I have tested it in development and is working fine..but not sure how effectvely it will work in production system
    as many people talking about some Badi and coding.etc even sap also saying that
    "Unfortunately, I cannot give you a more positive answer about ECS"
    Any comments will be appreciated
    Rgds,
    Jai

  • Audio Waveform Missing (or partial) in Timeline

    Here's an odd problem.
    For one of the projects I'm working on the waveform for the audio tracks is missing. When I hit CommandOptionw to turn it on and off, when on there are only the x's you see as it's being built.
    On one of the tracks, not both even though they are in stereo, there is a piece of the waveform.
    I trashed all the waveform caches I can find (although I may have missed some, they set things up haphazardly) the waveform is never built.
    Any ideas? Thanks!
    10.4.10
    FCP 6.0.1
    Intel

    I would hazard a quess that you've pushed fcp system resources to the max. I've been working on syncing up some badly time-coded multicam shoots, using the waveforms to sync them up. On one pair of clips, 1.5 hours each, it took quite a while to draw the waveforms and then fcp was VERY sluggish until I turned them off. That's with 6 gigs of ram on a pretty speedy machine.

Maybe you are looking for

  • How to display a single dot in java?

    My teacher ask me to use digital differential analyzer(DDA) routine for rasterizing a line the problem is i can't use the drawLine() method,i only can draw a lot of dot so can somebody tell me how to display a single dot???? thanks in advance

  • Table component grid color option

    hello, i'm curious what this option is suppose to do. i have the show grid option checked, and change the color on the grid color option. when i view the grid, i don't see any difference, so i don't know what this option is suppose to change. any hel

  • Quick Look for files without extensions.

    I have many files without extensions that quick look does not recognize as text files. Bash shell scripts generally do not use an extension, for example (they are identified by their first line). Similarly I have a lot of text file notes w/o a ".txt"

  • Updatig External ID for a business rule or associated script

    Good Afternoon, Is there a way to update the External ID of a business rule and it's associated script after it has been saved. Thanks, Kyle

  • I cann't use OTT? help!

    Hi: This is the first time for me to use english at the web for help.So please people forgive my unskillfull english. I have oracle 9i server in my computer,and at the command line envirtirement,ott8 can be used,but ott can not be used.The error is:n