ECM Budget Upload using BAdI HRECM00_BDG0001

Hi experts,
Iu2019m implementing HRECM00_BDG0001 BAdI in transaction PECM_START_BDG_BSP. This transaction executes a BSP application, in this application after clicking a button the BAdI is called. I need to show a file browser to let the user to upload a file. Iu2019m using FM 'KD_GET_FILENAME_ON_F4' to show the file browser, but Iu2019m unable to see the file browser dialog and, even worse, Iu2019m getting an error: Exception condition "NO_BATCH" raised. I suppose than BSP applications execute backend calls in background, but I need to give user the chance of selecting a file to upload, is there another approach? What could I do? Iu2019m really stuck. I need some help.
Thanks in advance.

Hi Christian,
Please check if hte below links help you in some way.
Uploading Files and Manipulating their Content
http://help.sap.com/saphelp_nw04/helpdata/en/ba/78d3c747b24546ab1c1499a054d8a5/content.htm
File Upload in BSP Applications
http://help.sap.com/saphelp_nw04/helpdata/en/eb/8c683c8de8a969e10000000a114084/content.htm
Regards,
SuryaD.
Edited by: SuryaD on Dec 18, 2009 11:15 PM

Similar Messages

  • HCM ECM Budget Upload using Custom Import button

    How does the BAdi HRECM00_BDG0001 (Initialize Budget Values) work in regards to using the u201CCustom Importu201D button?  More specifically, how does it work when trying to upload a spreadsheet or external source?  The BAdi does not allow the call to FM u201CGUI_UPLOADu201D or any selection screens or a call to the F4 FM to find a file on a desktop, etc.
    Any help is appreciated.

    Nachy & others,
    I get a runtime error when using the class as follows:
    Error when processing your request
    What has happened?
    The URL https://aaaaaa99.aaa.com:9999/sap/bc/bsp/sap/hrecm_bdg_maint/main.do was not called due to an error.
    Note
    The following error text was processed in the system  : Exception condition "NOT_SUPPORTED_BY_GUI" raised.
    The error occurred on the application server and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: FILE_EXIST of program CL_GUI_FRONTEND_SERVICES======CP
    Function: GUI_UPLOAD of program SAPLSFES
    Method: GUI_UPLOAD of program CL_GUI_FRONTEND_SERVICES======CP
    Method: IF_EX_HRECM00_BDG0001~DETERMINE_BUDGET_VALUES of program ZCL_IM_HR_MSS_ECM_BUDGET======CP
    Method: IF_EX_HRECM00_BDG0001~DETERMINE_BUDGET_VALUES of program CL_EX_HRECM00_BDG0001=========CP
    Function: HR_ECM_BUDGET_USER_EXIT of program SAPLHRECM00BUDGETSTRUC
    Method: DO_CUSTOM_IMPORT of program CL_HRECM00_BSP_BDG_DETAILS====CP
    Method: DO_HANDLE_EVENT of program CL_HRECM00_BSP_BDG_DETAILS====CP
    Method: IF_BSP_CONTROLLER~HANDLE_EVENT of program CL_BSP_CONTROLLER2============CP
    Method: DISPATCH_INPUT of program CL_BSP_CONTROLLER2============CP

  • Upload data in infotype 1520 using BADi(HRECM00_BDG0001).

    hi experts,
    We have a requirement wherein the  BADi (HRECM00_BDG0001- which uses DETERMINE_BUDGET_VALUES method) needs to upload initial Budget Values into the Budget Structure, through an Excel Spreadsheet input (which will contain Organization Units and its respective Budget Values)
    This will result in upload of initial budget values into the Budget Values Infotype 1520.
    and based on this the Budget structure is created and ready for use.
    Is there any functional module or any other method to upload the data (excel file) into the infotype 1520?
    regards,
    joy.

    Hi Christian,
    Please check if hte below links help you in some way.
    Uploading Files and Manipulating their Content
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/78d3c747b24546ab1c1499a054d8a5/content.htm
    File Upload in BSP Applications
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/8c683c8de8a969e10000000a114084/content.htm
    Regards,
    SuryaD.
    Edited by: SuryaD on Dec 18, 2009 11:15 PM

  • Budget Upload using transaction  KP06

    Hello,
    We're using transaction KP06 for processing a budget upload, at the currently  the upload only replaces the data in the system, there is no option to add to the numbers that are already there.  For example, if we have 100 in a specific cost centre/cost element and we want to add 200 dollars to it via upload there is no way at this time for us to tell the upload to add the 100 plus 200 to get 300, it would overwrite the 100 and insert 200.
    Please advise us how we can add budget ?
    Regards,
    Saeed

    Hi
    I agree with Ajay, there is no way to add value for the same period in which you have already loaded the budget.
    As a work around (though this is not advisable) if this is normal situation, then load you plan for period 1 to 11 (with equal distribution) and whatever delta you want to add you can do it in 12th period but this will not be equally distributed.
    This way you will be able to add, but you comparision of plan with actual will not be equal distributed.
    But its better to overwrite with complete value.
    Best Regards

  • ECM budget using PCP

    We are implementing ECM budgeting using Personnel Cost Planning Tools. We did the PCP minimal configuration, ran the PCP data collection to populate IT666, the budget for all cost items are there. Then, Cost plans were created for the organization units. However; Cost Plans run did not work for Stock. There were no error, but with warning. The report (cost items per cost object) did not have number populated. Do you know why?
    I noticed that the currency is requested as an input when execute the Planning Run although it is for Stock.
    And how is the number calculated in each quarter columns.
    The other issue I’m having is I got the error for each employee: does not have a budget for date xxxxx. The dates are the dates in IT666. What is the system looking for?
    Thank you for any feedback
    Sue

    Hello Sue,
    I´m trying to config PCP for the budget calculation I like bit confuse about the configuration that I need in PCP. Could you please tell me the configuration that you have done in PCP ?
    Thanks

  • Internal order Budget upload

    Hi
    Can one tell me which layouts i can use for internal order planning and Internal order budgeting uploads in SAP.
    Thanks
    Lily

    Lily,
    Hope you have sorted out the upload of plan data. For uploading the budgets the work around is below:
    Upload the budget data as plan using the planning layout suggested by others. Then in the transaction KO22 select the budget column and use the copy view option under Edit menu and select Planned total.
    Once the Budget details are uploaded you can upload the plan values later.
    Hope this Helps
    Cheers
    Sreenivas

  • Validation for initial budget upload in FMBB

    Hi,
    I have one requirement where client want a validation or rule, when they upload the budget for one group of commitment item and fund center then user should not be allowed again using the same document type initial budget upload to upload the budget.
    Please help me to resolve the issue.
    Regards,
    Alok

    Hi,
    You could use user-exit SAPLKBPB on header level (EXIT_SAPLKBPB_002).
    Regards,
    Eli

  • I am unable to upload a pdf file to a website, although the file does upload using IE or Chrome

    I receive an error message “Error - File type must be pdf.” when I try to upload a file that definitely is type pdf. I am authorized to upload to the site. Html files do upload correctly. Using IE8 my pdf files upload correctly, Also files can be uploaded using the Chrome browser. Problem exists no matter how pdf file is created - scanned, published from word or wordperfect, or modified in Adobe Acrobat. File size is fairly small, less than 50KB.

    There is absolutely no way to stop any file you put on the internet from being downloaded. That's how the internet works.
    Digital Rights Management can control who can OPEN a copy of a file and when. If you are a big company with 5-6 figure budget, this can be interesting.

  • Creation of Investment program and budget upload

    Hi,
    I need to create a investment program using th data in a excel file. Once the structure is uploaded, I need to do the budget upload. Is there any BAPI for achieving this functionality. Kindly share your valuable inputs if you have worked on similar kind of requirement.
    Regards,
    Mamta

    To find out bapis , go to BAPI transaction - take the alphabetical order tab - find your business object ( budget ) - on the right side you will see the tools option - create bapi select and click the search button.
    This will give you all the bapis associated with that business object.
    Also searching SE37 with BAPI_EXPENDITURE* will be good idea.
    Mathews

  • [Enhancement in BW]: How to use BaDI : RSU5_SAPI_BADI

    Hi Everybody,
    Right now, could you kindly please tell me how to i use customer exit but using BADI, particularly for BADI : RSU5_SAPI_BADI.
    <b>I just wanna use the customer exit on variable (variable user-exit).</b>
    So far i've tried these steps (might you correct me/advise):
    1. tcode : SE18
    2. Enter the Badi Name : RSU5_SAPI_BADI
    3. (Toolbar) enhancement implementation -> Create
    4.  ... (After that i don't know what i've to do ..)
    Could you tell me step-by-step to make it ?
    Such as what i should fill-in for Implementation Name and any parameter should i fill in there and how to debug it ???
    Many-many thanks all for the attention.
    Hopefully i can make it :).
    Kind regards,
    Niel.

    Check out this link:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7</a>

  • I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.

  • Custom Screen using BADI seen in ME23N, ME22N Display, but not in ME21N

    Hi,
    I have developed a custom screen for purchase order using badi ME_PROCESS_PO_CUST and ME_GUI_PO_CUST.
    But, its not visible in ME21N, whereas its dipalyed in ME23N, ME22N .
    Please advise.
    Thanks,
    Shivaa....

    In TC CMOD you can create a new proyect and use the component MEREQ001 with this component you can see adicional tab in those TC.

  • Can songs uploaded using the iMatch service be accessed by other family members using the Family Sharing feature?

    Can songs uploaded using the iMatch service be accessed by other family members using the Family Sharing feature?

    No
    Which purchased content can I share using Family Sharing - Apple Support

  • How many numbers  of records can be uploaded  using BDC  at a time

    dear friends,
                      i want to know that how many numbers  of records can be uploaded using BDC  at a time from legacy system(database).

    no resticsation.
    large value of data  upload.

  • Display error message in WEBUI using BADI - ORDER_SAVE-CHECK_BEFORE_SAVE

    Hi,
    I am trying to display error message using BADI - ORDER_SAVE (Method-CHECK_BEFORE_SAVE) based on certain conditions when the document is saved from WEB UI.
    I have written it like below:
    If (some conditions).
    Message E000 with 'Error in SAVE' RAISING DO_NOT_SAVE.
    endif.
    I mentioned my message class everything in class, and it is fine.
    However, it is not displaying my error message. It is displaying standard information message saying "Document Could not be saved'.
    Could you please help me out, how can I display my custom message.
    Thanks,
    Sandeep

    Hi Sandeep,
    U can use FM to raise a message from order save badi.
    Inside the if condition, u can raise do_not_save.
    If (some conditions)
          CALL FUNCTION 'CRM_MESSAGE_COLLECT'
            EXPORTING
              iv_caller_name = 'ORDERADM_H'
              iv_ref_object  = iv_guid
              iv_ref_kind    = 'A'
              iv_msgno       = '000'
              iv_msgid       = 'zcrm'
              iv_msgty       = 'A'
              iv_msgv1       = c_text1
              iv_msgv2       = c_text2
              iv_msgv3       = c_text3
            EXCEPTIONS
              not_found      = 1
              appl_log_error = 2
              OTHERS         = 3.
          IF sy-subrc NE 0.
          ENDIF.
          RAISE do_not_save.
    ENDIF.

Maybe you are looking for

  • How do I open an iTunes account for a child?

    What is the trick to opening a new iTunes account for children so they can still share my account's music?

  • Create XML file from XSD

    Hello, can anybody help me with generating an empty tagged XML file from a XSD file. Any sample java code will be highly appreciated. Thanx in advance. A .

  • Music App shuffle option doesn't work

    Stats: iPad 1, iOS 5.0.1 Music App shuffle option doesn't work.  I have already reset the iPad, removed all my music and resynched.  Shuffle button is selectable, but just plays the songs in alphabetical order, even if I try to skip to another song o

  • How to configure Samba on Solaris 9.0 x86

    Dear All : I installed Solaris 9.0 on my machine , i know that Samba is installed " i used pkginfo | grep samba " . but the related services are not in /etc/inetd.conf or /etc/services files . what to do to activate samba and make it to run at start

  • Error in NIScope read

    The program works fine until yesterday, but today it seems not stable, sometimes gave error as the attached screen. I tried the NIscope front panel, it(5133) works fine. Any suggestion? Attachments: SC.jpg ‏99 KB