Processing mode Fee calculation

Hi experts,
During the fee calculation, the program does not consider the validity date of an CS-object. Therefore we would like to change some variables in the fee calculation badi with the processing mode values (CMPROCMODE)
This value is determined during execution of the transaction PQ_FEE_CALC (FEECALCMODE). My question is:
How can I approach this value in the badi CMAC_BADI_PRICING?
This field CMPROCMODE is already assigned to the Field catalog and is available in the structure SI_KOMK_CM, but when I check the badi CMAC_BADI_PRICING there is no way I can check the field CMPROCMODE.
Has anyone experience with this?
Any help would be very much appreciated.
Kind regards,
Steve de Klonia

if the mode is interactive then as soon as yoyu edit/modify a field all relevant code will fire instantly and the webserver will make a trip to the appserver and update the page, i.e. if field B = A * C, then you would want to see instantly that in case any of A or C is changed then field B gets updated accordingly and the user sees it instantly.
The draw back is that it increases the load on the server, so if your page does not have any such functionality where instant refresh of the page is required, then you can put your component/page processing in deferred mode, otherwise make it interactive.

Similar Messages

  • Fee calculation triggered by an event.

    Hi again to all,
    We have a new request from our client, they want that the system calculates automatically a fee for any student which SC is changed. This means for example that if a student´s registration was to Architecture, in the minute you change that registration for Medicine, the systems launches a fee recalculation.
    I have explored the SPRO and found:
    Campus Management -> Student accounting -> Fees -> Event-triggered fee calculation
    My problem is that there are no examples in how to configure the 4 items in there.
    In redefine event types for SAP Business Objects, I tried this:
    Object type      CS
    Infotype           1771
    Subtype           0001
    Update op.       UPD
    Object tyoe      PDOTYPE_ST
    I tried to use the the function module CMAC_FEE_CALCULATE, but i get the next error
    "Interface for function module does not follow convention"
    Could someone send me an example of how can this be done.
    Thanks
    Sergio

    Hi Michael,
    Do you know which is the sub-type for SC related to the student?
    I have been doing some tests with this configuration of the Infotype opertation
    - Object type: ST
    - Infotype: 1001
    - Sub-type: A513 (pursues)
    - Update op:  
    - Activity:
    - Sequence no.: 0
    Event Data  OBJECT TYPE: PDOTYPE_ST (THIS IS MANDATORY) (student)
    Probably I´m expecting something which is not correct. What I´m expecting to see is the following:
    If I have a student which has registration to a certain SC and has already a fee calculation, and then I cancel the registration for the SC, I would like to see the financial info and watch that what owed is now canceled, (without doing it manually), afterwards If I register this same student to different SC I´m expecting that the system has already calculated the fee automatically.
    Is this possible? Am I expecting too much from the fee calculation triggered by an event process?
    How does it works??? Do it cancel fees if student unregister from SC or SMs?
    Thank you
    Sergio

  • How to insert blank page into pages document when using word processing mode?

    I've recently created a 50+ page document using Pages '09. I started the document using word processing mode. Now, when I view in thumbnail mode and try to insert a blank page somehwere in the middle of the document, it won't allow me to select where I want. It just selects all the pages, as thought they are one section. I believe this is because I am in word processing mode. My question is, can I convert the document to layout mode so that each page represents it's own section, without losing what work I've already done? And if so, how?
    The document is entirely text boxes and images, so I don't have any need for word processing space. I just need new pages to act as blank templates for the text boxes and images I create.
    Is it possible to keep all my work as is, and convert the document to layout mode vs. word processing mode?
    Thanks!

    It just selects all the pages, as thought they are one section.
    That's because they are one section. You must insert section breaks to separate them. There is no need to use page layout which does make each page a separate section. You have to manually add each page & use text boxes or other containers for the text & link the text boxes.

  • BAdI for fee calculation

    Hi, to all specially Joachim
    In other threads I have been advised by Joachim to use a different BAdI to derive the account information for the fee calculation. (other than IF_EX_CMAC_DELTA_GENERATE)
    I ran a trace using (ST05) to learn which BAdIs could be use during the fee calculation. I found the following BAdI involved in the calculation fee.
    BADI_FMDERIVE
    CMAC_BADI_DDS
    CMAC_BADI_DDS
    CMAC_DELTA_GENERATE
    IF_EX_CMAC_DELTA_GENERATE
    FM_AUTH_OLD_ACTIVITY
    FM_AUTHORITY_CHECK
    FAGL_PERIOD_CHECK
    FAGL_DERIVE_SEGMENT
    FAGL_DERIVE_PSEGMENT
    EAPS_HRKFT_EXTENSION
    IF_EX_EAPS_HRKFT_EXTENSION
    BADI_LAYER
    IF_EX_EAPS_HRKFT
    CMAC_DELTA_FEE
    I don´t really which BAdI I can use to derive the company code and the business area by using registration data.
    Thank you very much
    Sergio
    null

    Sergio,
    In the IMG, there is an area called Campus Management -> Student Accounting -> Fees -> Pricing -> Fee Distribution to Several Company Codes.
    You should look here as there is another step just below it called 'Define CO Elements and Assign Function Modules'.  Here you can see how you can define a function module that should be called to determine the Company Code and other Controlling data.
    Look at the function module CMAC_ACC_DERIVE_ORG to see the import/export/tables/changing parameters that you should model.
    Hopefully this addresses your issue. (It is not really a BAdi.)
    Michael

  • Pages 5: Send shape to back in word processing mode

    Using Pages 5.2:
    In word processing mode, how can I add a shape and send it to the back?
    The only way I've found is to 'move object to section master' but this, of course, causes it to appear on all section pages. I could hack up the document to create sections of the pages I want shapes in the background but I need the sections to work as proper sections.
    I want to achieve a design like the attached image, where the white 'Executive Summary' text is in the main text flow in word-processing mode.
    Is this possible in word processing mode?
    (I can achieve it by adding another text box like I have done in the image attached but when I create the table of contents, it only recognises paragraph styles that are used  in the main flow of text in word processing mode, not those used in text boxes).
    Thanks for any advice

    Hi Jerry,
    I'd considered this though it felt like an ugly hack and I was holding out for a 'proper' way to do it! - That said, many thanks for your advice and confirming it looks like the best option, I'll do it like you suggest. I've submitted it as a feature request anyhow.
    Matt

  • File sender adapter (FTP) - processing mode "Archive"

    Hello all
    We're polling files from an external FTP server. For this I created a scenario on XI according to this thread:
    When setting processing mode to "Archive" in the file sender adapter (ftp) it polls the file, stores it to the archive directory I specified and then tries to delete the file on the FTP server side. This returns me an error because we're not allowed to delete the retrieved files on the FTP server!
    Because of this error the file adapter stops further processing and does not poll all the other files.
    How can I disable this deletion mechanism while keeping processing mode to "Archive"?!?!?
    We do not want to use processing mode "Delete" or "Test" and we don't see other options to influence this behaviour.
    Thanks for any guideance on this one in advance!
    Kind regards,
    Renaud

    Hi Bhavesh
    Sorry for the late answer. Unfortunately I can't ask the application system to provide file names containing a timestamp within. The files are provided by an external partner and are retrieved by several others as well.
    In the meantime I managed to achieve this:
    In repository I created dummy data types, message types and message interfaces. No mapping programs and interface mappings!
    In configuration I created the necessary communication channels (1 ftp sender, 1 file receiver) and the required receiver and interface determinations as well as the sender and receiver agreements.
    The result of this is:
    I'm able to poll some specific files via ftp from remote host. The file names are file1.arj, file2.arj, file3.arj and file4.arj. All 4 files have the same SourceFileTimestamp (e.g. "20060727T053900Z").
    I'm able to store those 4 files 1:1 in a target directory with the same file names. Until here I did NOT need to follow this blog: <a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14: The same filename from a sender to a receiver file adapter - SP14</a>.
    As of this blog it is possible to access adapter specific attributes and make them available in message mapping using user defined functions. This way I'm able to get the SourceFileTimestamp from the polled files and use it in a message mapping. This way I'm also able to use it in variable substitution on file receiver adapter (syntax = "payload:root,1,fileTS,1") in order to dynamically create a directory with this syntax: YYYYMMDD.
    So far so good... but the only remaining BIG problem now is, that as soon as the mapping is activated and assigned in the interface determination, the created files contain the XML payload instead of the original binary content. Where has it gone? How should the target message type look like so that it can carry over the original binary file content?
    BTW: isn't it possible to post screenshots? Would be much more easier to explain things... so sorry to anyone if I wasn't clear enough!
    TIA and best regards,
    Renaud

  • File name for append processing mode with time stamp

    Hi Experts
    we are doing file to file scenario using the processing mode as Append.
    the requirement for us to append the files and we need to have new file name with time stamp added to the appended file.but in the processing mode of the file adapter either we can append or add time stamp. thatz the problem I am facing now.
    we are doing file based processing not message based ,micheal blog regarding the dynamic file name is for message based not for file based.
    Please provide your valuable comments.
    Thanks
    Faheem

    Hi mohamed,
                      I suggest you to map the target source structure to the required filename u want, like for example ur filename is input26062008.txt means to the target structure u perform the following mapping
    constant (input) concat with currentdate function --> concat with constant .txt --> map this concat to target. So u will get the filename u expected with the time.
    Then in the communication channel u select the mode as append. Now ur requirement will get solve i think so. plz try.
    Regards,
    Murugavel

  • BW Authorizations - Query variable with processing mode as "customer exit"

    Hi,
    Iam new to BW authorizations and have not yet worked on customer exit before. I was going through the documentation at various sites but I could not get the end to end description on how the query process( when using a variable for an InfoObject) works in case of customer exit.
    Let's assume that I am using  a query variable with processing mode as "customer exit" and at the exit I  write some code to extract user's authorizations from a z table. if this is the case, then when an end user runs a query,how will the the system know what value needs to be filled in the variable for the requesting user. Are the user details  also sent to the code along with the query variable? If so how. If I mis-understood the process then forgive me and let me know the correct process.

    Hi!
    welcome to SDN!
    customer exit variables need programing by user. so if you create a customer exit variable, you got to right a program which extracts values into this variable. we can do what ever we want in program, SAP will not deal anything ´with customer exits.
    with regards
    ashwin
    PS n:  Assigning point to the helpful answers is the way of saying thanks in SDN.  you can assign points by clicking on the appropriate radio button displayed next to the answers for your question. yellow for 2, green for 6 points(2)and blue for 10 points and to close the question and marked as problem solved. closing the threads which has a solution will help the members to deal with open issues with out wasting time on problems which has a solution and also to the people who encounter the same porblem in future. This is just to give you information as you are a new user.

  • Mixed Page Layout and Word Processing Modes

    Hi Everyone, I find myself increasingly using Pages 09 in word processing mode then creating a new document in Page layout mode to create a front cover for that document.
    Is it possible to combine the two modes and therefore having only one file to deal with.
    Thanks in advance

    PeterBreis0807 wrote:
    There is no background in Page Layout mode, just stacked objects, repeated over and over to make the document grow fat beyond belief.
    Wrong! The picture which is stored in the captured page is not repeated over and over in the document.
    It is stored only once exactly as a background image.
    In *Page layout mode* facing pages is broken, all that switches from left to right is the footer and header.
    Perfectly normal behavior.
    It's the same in Word processing format.
    The setting of margins for facing pages apply to three items:
    main text layer
    header
    footer
    It doesn't apply to floating items.
    In Layout document there is no main text layer so the margins apply logically only to header and feater.
    So the truth is that nothing is broken.
    It just don't behave the way you wrongly assumed.
    Yvan KOENIG (from FRANCE vendredi 26 juin 2009 12:37:56)

  • Processing mode - DELETE not working in Synchronous mode (File - RFC - File

    Hi ,
    I need to the delete the files from source folder once the processing is done, so i am giving the Processing mode as Delete in the Sender C.C.
    But after execution it doesnt get deleted. what could be the reason?
    We are using a file - RFc - file scenario.
    also could anyone let me know what is the command to move a file from one folder to another in UNIX.
    i tried
    mv /home/out        but it doesnt work
    pls help.

    Hi,
    you can use AL11: navigate to the folder, where the file is inside, mark it and press button "Attributes". Then look to value "Mode": 777 means owner, group and everybody else has right for write (in your case delete), read and execute. UNIX command to change is may be ch mod (i m not good in UNIX).
    My suspect is that the file adapter user has not the right for write, but ur direct user has.
    Regards,
    Udo

  • How to get PROCESS MODE in CRM 2007 WebClient

    Hi all,
    Currently, we're implementing CRM2007 WebClient -- Service Transaction.
    In the past(CRM4.0 Version), we used the function 'CRM_INTLAY_GET_PROCESS_MODE' in the BADI of SAVE Service Order to identify it's a new create order or changed order.
      CALL FUNCTION 'CRM_INTLAY_GET_PROCESS_MODE'
        IMPORTING
          ev_process_mode = l_dialog_mode. " A created, B changed
    Now, this function does not work in Web Client. So, I turned to another function 'CRM_ORDERADM_H_READ_OW' try to get the flag of process mode.
    CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
      EXPORTING
        iv_orderadm_h_guid               = lv_guid_ref
    IMPORTING
       ES_ORDERADM_H_WRK                = l_CRMT_ORDERADM_H_WRK
       EV_MODE                          = l_dialog_mode
    Yes, function 'CRM_ORDERADM_H_READ_OW' works in WebClient. But when creating new service order, the l_dialog_mode  = 'B' which is same to changing an exsiting order.
    So would anyone kindly help me, How to get the process mode properly in WebClient, especially in Service Order. I need to identify the order is new created or is changed.
    Your comments is really appreciated.
    Best Regards,
    Tony

    Use function module CRM_ORDERADM_H_ON_DATABASE_OW to check, if the order has already been save on the database. If not, you are in create mode.

  • Processing Mode = 'Delete'; Archive Faulty Source Files; Add Timestamp ?

    XI3.0 SPS 19
    For FTP Sender adapter, if Processing Mode is Delete, and you want to Archive Faulty Source Files with an added timestamp, it does not work (meaning it does not archive the faulty source file at all).
    Any suggestions?
    If I change the processing mode to Archive, it works. But my requirement is to archive only faulty files after adding timestamp and the source files should be deleted if processed.
    Thanks
    JB

    Hi james
    If you are using FCC or Modules then only Faulty files will be archived.
    The error that works with this should be a permanent error of file like field missing or compulsory field etc.
    if i understand correct you are trying to use Archive faulty messages in delete mode and you have FCC right ?
    I have also seen this behavior in delete mode it File adapter never archive. So it wont archive the faulty file as well.
    Thanks
    Gaurav

  • My movie download is stuck in process mode for 10 hours

    I downloaded a movie to watch on a trip and for the last 10+ hours it's seems to be stuck in the process mode. I can't watch the movie I can't delete the movie,

    Downgrading the iOS is not supported by Apple. You will get errors/it will not work
    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                                                       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • Recommandable Profile Option PO:Workflow Processing MODE (Background/Online

    Hi
    We are using oracle11i 11.5.10.2 on windows 2000 server
    which Value is Recommendable for Profile Option PO:WORK FLOW PROCESSING MODE (BACKGROUND or ONLINE)?
    for PO Approval
    Thanks
    With Regards
    A-Z

    Hi,
    It is advisable to Set "PO:Workflow Processing Mode" profile option to "Background" which is a default value
    If you set it as Online, it completes an entire approval workflow process before letting you proceed to the next activity, but provides you with an updated Status (for purchase orders) as soon as it finishes.
    When this profile option is set to Background, you must start the Workflow Background Engine, which you access through the System/application Administrator responsibility. It is recommended that you set this process to run frequently (Schedule), if you are using it for Background mode approvals.
    /S.P DASH

  • Processing Mode : DTP

    Hi All,
    We have a DSO which is getting populated usign two DTPs. For one of the DTPs, the processing mode is:
    Serial Extraction and Processing of Source Package
    For the second DTP, the processing mode is:
    Serial Extraction and Immediate Parallel Processing.
    I tried changing the processing mode of the first DTP to "Serial Extraction and Immediate Parallel Processing" but don't get that option in the drop down. I was wondering whether the processing option is source dependent. Could someone help me out in this regard?

    Hi Dharmendra,
    I am also facing the same issue.. My source is PSA and Target is DTP and I am unable to get a paralell processing option..
    Let me know if you get some answers.
    Best Wishes
    Pralay Ahluwalia

Maybe you are looking for

  • There is no email program associated to perform the requested action. Please install an email progra

    I am operating on Windows 8 and using Adobe Reader XL (11.0.03) and get the following message when I open the a file There is no email program associated to perform the requested action. Please install an email program or, if one is already installed

  • White Screen

    I seem to be having a problem with my MacBook Pro and I was wondering if anyone could give me any suggestions. Earlier today I was watching a show on Hulu through Firefox, and then I opened Adium. After the buddy list loaded, I decided to close it ag

  • Manage Session Management

    Hi, Long story short, we're accessing APEX through a MS Access application. The Access application displays an inline IE window. It passes in a username and a encrypted code which APEX then parses to verify that it's a valid user etc... Before I cont

  • Undesired Speck on iphone 3G screen

    Can anyone advise me, on the the best course of action I can take regarding a "speck" (fleck, spot etc.) of somekind that some how got on the LCD screen from the inside. It can go un-noticed if your not aware it's there, but I do and have over analyz

  • Photos won't update

    When I upgraded to the iCloud photo library everything worked fine, and everything continues to work perfectly on my iPhone and iPad, however when I log into iCloud.com and go to the Photos tab, only a 465 photos and videos are there, and the 'updati