CFM - Securities - BAPI_FTR_SECURITY_CREATE

I'm trying to create a security using BAPI_FTR_SECURITY_CREATE. I need to
use different values in field Payment Amount than field Market Value
because when the system calculates the market value, there is a
difference of one cent than the value that I need. For example:
Number of Units = 1.000,00000
Price = 1.057,021390
Market Value = 1.057.021,39
But my real value is 1.057.021,38 so I need to use this value in the
field payment amount.
In the structure SECURITY (BAPI) I am using the payment amount value
(1.057.021,38) in the fields below but when the transaction is created
the Nominal Amount value is the same than Market Value (1.057.021,39)
Fields:
NOMINAL_AMOUNT
PAYMENT_AMOUNT
LOCAL_AMOUNT
What can I do to create a security with different values in Market Valueand Nominal Amount using BAPI_FTR_SECURITY_CREATE ?
Best regards and thanks in advance.
Itajaci Júnior
CFM Consultant

Hi Venkat,
I took a very close look at the BAPI within debugger and finally found the reason: at the end this BAPI calls an FM IN UPDATE TASK and this requires mandatory a COMMIT WORK within the calling program.
I completely forgot that. Sorry bothering you!
Regards & thanx for your patience
Dietrich

Similar Messages

  • Asset Backed Securities (ABS) Treasury-Securities CFM FSCM Configuration

    Hi Sap Masters,
    I need some help on configuring Asset backed Securities in Treasury-Securities, If anyone can guide me on detailed configuration steps on same that will be good. I also need some usermanual related to this functionality.
    If anyboby has come across such ABS configuration please help me.
    I need this functionality ASAP.
    Please keep posting
    Thanks & Regards
    Bhavesh

  • Asset Backed Securities CFM Treasury Securities FSCM Configuration guidance

    Hi Sap Masters,
    I need some help on configuring Asset backed Securities in Treasury-Securities, If anyone can guide me on detailed configuration steps on same that will be good. I also need some usermanual related to this functionality.
    If anyboby has come across such ABS configuration please help me.
    I need this functionality ASAP.
    Please keep posting
    Thanks & Regards
    Bhavesh

  • BADI/Exit help for FI-CFM

    Hello Everyone,
    How r u guys? I need some help in BADI/User Exit. I am working on FI - CFM. There is a transaction with TCode- TS01 (Create Securities) / TS04 (settle securities).
    I need a BADI/Exit which gets activated when the user clicks on the save button. I tried to locate them but couldnt find anything suitable. I emailed sap and they told me that there is a BADI - FTR_CUSTOMER_EXTENT which I
    could use to solve my problem. I did try that and wrote a code in that badi;s EVT_TRANSACTION_SAVE_CHECK method.
    But unfortunately when i clicked on save button the badi didnt run. I am in a fix as to what do I do ? The system I am working on is a bit old its SAP R3 4.7C. In that I created a Z badi implementation and embeded the original
    badi definition and wrote code and activated everything.
    Either the badi I am using (which sap guys told) isnt correct or something. Can anyone guide me as to whats the next step.
    Thanks,
    JG

    Hi,
               To add a new custom tab in TM_XX transactions you have to follow these steps:
    1. (SE80) Create a dynpro as SUBSCREEN, with the structure (fields, tablecontrols...) you want in the new tab, located in a modul-pool.
    Example: Program: ZCFM001
    Dynpro: 1010
    2. (SE18) Create your custom implementation of BADI FTR_CUSTOMER_EXTENT. This will create a Z class where you can program the new tab management.
    Example: Implementation: ZAMPLIACIOTM001
    Class: ZCL_IM_AMPLIACIOTM001
    3. (SE24) Implement method EVT_APPLICATION_START of your new class. This method is called when the transaction is going to be painted, and manages (among other things) which tabs need to be shown. In general terms, you will have to assign your dynpro to a function code.
    This BADI offers you 2 custom function codes, and so, the ability to add two custom tabs. These function codes are OPEN_TRTM_CUST_01 and OPEN_TRTM_CUST_02.
    To add your dynpro to a function code, you have to identify this relationship in the internal table (parameter) PC_TAB_BADI_TABS. This is the table that contains the custom tabs to be added.
    To do this, you have to add the following piece of code:
    DATA: LS_BADI_TABS TYPE FTROP_BADI_SUBSCREEN.
    4.1. Modify the tab structure.
    LS_BADI_TABS-REPID = ZCFM001. "Report
    LS_BADI_TABS-TEXT_TAB = 'New Tab'. "Text (max. 30 CHAR) to display
    LS_BADI_TABS-DYNNR = '1010'. "Subscreen
    4.2. Add the new tab.
    MODIFY PC_TAB_BADI_TABS
    FROM LS_BADI_TABS
    TRANSPORTING REPID DYNNR TEXT_TAB
    WHERE FCODE = 'OPEN_TRTM_CUST_01'.
    And that's it! Now you will be able to see you new tab in these transactions.
    I hope this helps you.
    <b>Reward points</b>
    Regards

  • Funds managed by fund managers - CFM/Treasury.

    Hi Experts,
    Can someone help me on how to maintain details of funds managed by fund managers (external agencies) by investing in many types of financial instruments (securities, money market, derivatives, etc.).  At the month-end we will get a report about all the  investments made, their base value, market value, etc., based on which we need to calculate fair value gain/loss as well as impairment loss/gain, if any. 
    Here all the funds are managed by fund managers and accounting part is taken care by custodian bank.  Is there any way to upload/maintain such data in SAP Treasury (Transaction Manager) based on an excel sheet. 
    Can you please guide me which thread is answering queries/clarifications related to SAP FSCM Treasury & Risk Manager / SAP CFM Treasury & Risk Manager. 
    Really not getting any answere when I am posting it on ERP financials thread.
    Thanks in advance for the help.
    Mahesh

    Hi Kalyan,
    Thanks  for your  reply.  We  are  implementing  Treasury modlue and am aware of required configuration for various financial instruments in transaction manager.
    - Client is managing some  investments on their own for which  we are  doing  required  configuration  and standard  procedure  for  transaction  & position  management  will be followed.
    -  Apart  from funds managed  on  their own,  external  fund managers  (multiple) are dealing  with financial  instruments based on  investment  mandate given by client and  sending  monthly reports on investments made, their values, expenses, transaction  details, etc., being  sent to client in  the form of spread sheet.
    - Client will also  receive a statement from Custodian Bank  with  details  of investments made  by each  fund manager.
    Please clarify on the  following:
    - As per your reply there  are standard BAPIs available  for importing transactions  to SAP.  Fund Managers are investing in  various type  of  financial  instruments  (securities, money market, forex, etc.)  in various currencies. 
    - To import the  investment details using  BAPI do I need to make configuration settings for each  type of financial  instrument.
    -  The purpose is to  arrive at fair value  gain/loss and sum  up expenses based on reports  (spread  sheets)  received  fund managers and pass journal  entries.
    - There is  a requirement  for preparation of disclosure  reports  on various investments based on  these  details received  from custodian bank.
    - Reconciliation of  reports received  from  Custodian  bank  and  fund  managers.
    You may please see my previous  message also.
    Please  get  back  to  me  if you  have  any further  clarifications.
    with  best  wishes,
    Mahesh

  • Posting TAX out of CFM

    Hi all,
    has anyone implemented VAT TAX bookings out of CFM?
    I have securities and in the transaction are flows with VAT.
    How should I manipulate in BAdI TPM_ACCIF_TRAC the structure ACCIT to generate a automatically tax flow.
    Greetings
    Marcus

    First of all you basically need to re-concile what was sent to the bank.
    There is an international report in SAP Payroll (great britain menu).
    The program name is H99CMLI0. T-Code is PC00_M99_CMLI0_NEW. With this report you can reconcile the payroll results (BT) table. The report is self explanatory. If the amount total from this report matches with what you have in ACH file, you are fine for the ACH / Direct deposit / Checks / Cheques.
    For reconciling what was posted to FI, You need to go into SE16 and call up the table PPOIX. With some input criteria that is appropriate, you can get the totals what was posted.
    Hope this helps
    Thanks
    Baburaj S Avanathan

  • Error in  Securities DBT  update types

    Hi experts
    We are using securities module (Transaction manager) to manage our stock (equity) transactions.
    We have defined the update types for (DBT_E001 and DBT_B001) as not relevant to posting as i do not want to post the gain / loss on sale of securities in some companies (say A) using these DBTs.
    However for a few other companies (say B) i have to post the accounting entries. Hence we have made the update type relevant to posting.
    But with this it generates accounting entries for co code A as well as B.
    I have also tried to make "offline" in control of online calculation of DBT. but it only postpones the flow generation. i have to generate and post the flows before i do key date valuation.
    I want to activate DBT flows for co code B but not for A.
    Please suggest
    Regards
    Gaurav Gupta

    Hi Gaurav,
    Your rqmt can not be addressed by making update types relevant for posting, as update types are not cocd specific. You need to use following specifications seperately for each company code:
    a. seperate  Accounting Code for each cocd if the valuation class is same for both cocd, else maintain different valuation class.
    b. Different Position Management procedure for each Company Code based on few Key fields (Accounting code/Val Class)
    c. Assignment of each PMP to respective Acct Code/Valuation Class
    d. Then you copy existing update type DBT_E001 and DBT_B001 and make a copy.
    e. Mark newly created update type not for posting
    f. Assign newly created update type in Dervied Business Transactions of new PMP instead of DBT_E001 and DBT_B001
    By setting above, for both cocd the flows generated by system will be same but with different update type and one set of update type is already marked for posting and other not.
    Otherthan this, another alternative is to maintain dummy GLs in Acct Determination so that no amount will post to actual GLs based on Cocd.
    Hope this will solve your problem.
    Regards
    Prasad AV

  • Can you help me understand the use of the word POSITION in TR and CFM?

    Hi,
    I am trying to have a view of typical BI reports in TR and TM/CFM so through my research I came to the following link:.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/62/08193c38f98e1ce10000000a11405a/frameset.htm
    My problem on this link and other postings on this site seem to be the same. Can you help me understand the use of the word POSITIONS in these context:
    1. Our client has asked for financial transaction reports in BW, such as position of Borrowings, Investments and Hedge Operations (TM data).
    2. I have a requirement on, some reports related to Money Market (Fixed Term Deposits, Deposits at Notice) something on FSCM-Treasury and Risk Manager. These reports will be similar to that of Loans, i.e. Position statement, flow statement, etc.
    3. The set of position values for a single position or a limited amount of positions can be reported by transactions TPM12 and TPM13 in R3.
    4. 0CFM_C10 (Financial Positions Cube)
    Do you have some simple report outputs to help clarify how the word POSITION is used in such environments?
    Thanks
    Edited by: AmandaBaah on Feb 15, 2010 4:39 PM

    If I future buy 10 shares in company at £1 per share - at the end of the day my potential value is £10
    The next day the shares drop tp £0.9 per share - I have a negative position - my shares are only worth £9
    I haven;t bought them yet - but I have a negative position - ie if things stayed as they are - I am going to realise (ie end up with)  a loss
    Now you can use this for loans and foreign exchange banks as well...

  • Problem with application.cfm

    I'm just getting back into coldfusion after a few years...and
    i'm already running into a problem with the application.cfm
    What could cause this simple error when I try to go to a
    coldfusion page (the cfm page would load prior to adding the
    application.cfm). Also, can the application name be pretty much
    anything? Thanks!
    "unknown context error reached at the end of the CFML
    templateInvalid expression format. The usual cause is an error in
    the expression structure. The last successfully parsed CFML
    construct was the CFML template beginning occupying document
    position (1:1) to (1:1)."

    What are your Operating System, Coldfusion version and web
    server? What happens when you experiment with an application file
    as simple as this one?
    Application.cfm
    =============
    <cfapplication name="myApp"
    applicationtimeout="#createtimespan(1,0,0,0)#"
    sessiontimeout="#createtimespan(0,0,20,0)#"
    sessionmanagement="yes"
    setclientcookies="yes">

  • The wifi has been lost or disconnected on my iPad. It's the iPad 2 and has not been updated yet. It's IOS 6.1.3 .. how do I add a network back onto it? I have typed in the name and chosen each of the securities and still hasn't connected!

    The wifi has been lost or disconnected on my iPad. It's the iPad 2 and has not been updated yet. It's IOS 6.1.3 .. how do I add a network back onto it? I have typed in the name and chosen each of the securities and still hasn't connected!

    Hey there Luba_kalstad,
    It sounds like you are unable to join your network and cannot see it in the Wi-Fi list in Settings. I would try the troubleshooting outlined in this article named:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Be sure you're in range of your Wi-Fi router (access point).
    Tap Settings > Wi-Fi and turn Wi-Fi off and on. If your Wi-Fi setting is dimmed, follow these steps.
    Confirm that your Wi-Fi router and cable or DSL modem are connected to power, turned on, and connected to the Internet. If not, refer to your network administrator or Internet service provider (ISP) for assistance.
    Restart your iOS device.
    Tap Settings > Wi-Fi and locate the Wi-Fi network to which you're connected.
    Tap and Forget this Network.
    Try to connect to your desired Wi-Fi network.
    Note: You may need to enter your Wi-Fi password again if your network requires one.
    Turn your Wi-Fi router off and on2. If your ISP also provides cable or phone service, check with them before attempting this step to avoid interruption of service.
    Update your device to the latest version of software.
    Update your Wi-Fi router to the latest firmware2. For AirPort Base Stations, install updates using the AirPort Utility.
    And this section down toward the bottom if needed:
    Unable to locate a Wi-Fi network
    Verify that the network is available by tapping Settings > Wi-Fi and choosing from the available networks.Note: It may take a few seconds for the Wi-Fi network name to appear.
    Move closer to your wireless router (access point) and attempt to locate the Wi-Fi network.
    If you do not see the network you would like to join, you may be attempting to connect to a hidden network. Learn how to join a hidden network.
    Supported Wi-Fi configurations vary by iOS device model. Find out which standards your device supports3.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings including:
    previously connected Wi-Fi networks and passwords
    recently used Bluetooth accessories
    VPN and APN settings
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • How can I add an existing cfm page to a project?

    CFB3 Question: How can I add an existing cfm page to a project? I created a project and copied a file into the project folder but I can't seem to find a way to add the cfm file into the project.

    @Carl - Well heck, yes I did... But after reading your response I went back and tried right-clicking on and refreshing different things and what worked was right-clicking on the project name in the Navigator window and then clicking on refresh in that context menu.
    Thank you Carl!

  • Dreamweaver 8 not responding on cfm page

    I have an existing .cfm page that I'm adding
    <cfqueryparam> tags to several queries. Once I add the new
    code if I try to highlight it in code view Dreamweaver quits
    responding and peggs my processor and also uses around a gig of
    physical ram. This continues until I end the Dreamweaver task using
    Task Manager. The code is valid and works correctly through a web
    browser but hangs as soon as I try to select any text in
    dreamweaver. I'm wondering if anyone has experienced this type of
    issue and if so is there a way to stop it? Thanks in
    advance.

    On Wed, 4 Oct 2006 15:35:01 +0000 (UTC), "900spg"
    <[email protected]> wrote:
    >Just an update in case anyone else runs into this issue.
    I have deleted the
    >WinFileCache-*.dat as suggested above. I deleted the
    entire local configuration
    >directory and the registry keys for Dreamweaver as well.
    I did test the .cfm
    >page in question on a different machine running
    DreamweaverMX and it worked
    >just fine. I'm now in the process of rebuilding the
    entire page piece by piece
    >to try to determine the section of code that is causing
    this problem. When my
    >Dreamweaver hangs I get the following errors in my event
    viewer:
    > Hanging application Dreamweaver.exe, version 8.0.2.2809,
    hang module hungapp,
    >version 0.0.0.0, hang address 0x00000000.
    > and
    > Fault bucket 290312414.
    > A crash logs directory is not created. Will post more if
    I find the root cause
    >of the issue.
    I don't know if this is easier for you, but if you have more
    than one
    stick of RAM, you might try pulling them out one at a time.
    You might
    have a bad stick.

  • Can't see .cfm files in Design view

    Can't see .cfm files in Design view in Dreamweaver CC.

    Hi pkregel,
    Do these files open as intended in Dreamweaver CS6? I am not a CF expert but I am guessing that if you are able to open the files, then you should be able to see them in both the views. Can you post a screenshot as well?
    Thanks,
    Preran

  • Converted internalServerReporting from .php to .cfm

    I posted this on the general discussion forum but it doesn't seem to be getting any looks....
    Hi
    I recently converted the internalServerReporting.php file to .cfm, since I'm not yet using a LMS and I just needed to capture quiz results.
    I'm writing the results of my Captivate 7 quiz to a .txt file successfully (an insert query too). My Captivate 7 quiz completes and immediately after the user fills out and clicks the Send button in the Post Results dialog box (where they enter their name and email id) I get an Adobe Captivate error message in a dialog box with "Unknown Error" and an OK button.
    I think this is a Captivate error and not a Coldfusion error, as my Coldfusion "internalServerReporting.cfm" writes the text file as expected, and the Coldfusion server error logs are empty. Does anyone know how I can turn on/enable any available debugging data in Captivate so that I can trap this error?
    For your convenience my .cfm file is pasted below.
    Thanks in advance for your help,
    Rich
    Rich Leach
    Interactive Media Developer
    Advanced Certified ColdFusion Developer
    <cfsavecontent variable="results">
    <cfoutput>
    Company name: #form.companyname#<br>
    Department name: #form.departmentname#<br>
    Course name: #form.coursename#<br>
    File name: #form.filename#<br>
    File data: #form.filedata#<br>
    <cfset retXml=#xmlParse(form.filedata)#>
    Learner name: #retXml.Course.LearnerName.xmlAttributes["value"]#<br>
    Learner email: #retXml.Course.LearnerID.xmlAttributes["value"]#<br>
    Lesson name: #retXml.Course.LessonName.xmlAttributes["value"]#<br>
    Quiz attempts: #retXml.Course.QuizAttempts.xmlAttributes["value"]#<br>
    Total questions: #retXml.Course.TotalQuestions.xmlAttributes["value"]#<br>
    Status: #retXml.Course.Result.CoreData.Status.xmlAttributes["value"]#<br>
    Location: #retXml.Course.Result.CoreData.Location.xmlAttributes["value"]#<br>
    Raw Score: #retXml.Course.Result.CoreData.RawScore.xmlAttributes["value"]#<br>
    Max Score: #retXml.Course.Result.CoreData.MaxScore.xmlAttributes["value"]#<br>
    Min Score: #retXml.Course.Result.CoreData.MinScore.xmlAttributes["value"]#<br>
    Session Time: #retXml.Course.Result.CoreData.SessionTime.xmlAttributes["value"]#<br >
    </cfoutput>
    </cfsavecontent>
    <cffile action="write" file="/Applications/ColdFusion10/internal.timetracker/runtime/work/Ca talina/localhost/tmp/captivateTestResults.txt" output="#results#" nameconflict="overwrite">

    Jim
    ...jeez, what a rookie mistake....
    I did some debugging and found this reported error in my browser (Chrome):
    XMLHttpRequest cannot load http://127.0.0.1:8503/captivate/internalServerReporting.cfm. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
    From my years of web development I immediately recognized this error; it's a cross domain issue. But, I'm running everything localhost, what's not in the same dom.... Oh yeah, right after publishing the Captivate movie a dialog box appears "Publish was successful. Do you wish to view the output?" Naturally I clicked yes, which opened the .html file locally in my browser (as in File:Open) and NOT served from the web server (as in http://127.0.0.1/myCaptivateTest/).
    As soon as I ran my Captivate test movie from the web server everything ran just fine.
    Thanks for your help and patience. This script officially now works, so if anyone needs to record Captivate test/quiz results on a Coldfusion server, feel free to copy the above Coldfusion code into your own "internalServerReporting.cfm" and tell Captivate in your preferences where to expect it on your Coldfusion server.
    Rich

  • Trying to understand an application.cfm attack

    I have a site that I've been running without issue, for years now - I sniff and block for cross site scripting, sql injection, executable file uploads, and employ honeypot fields on forms... 
    This past week I wanted to watch some slow page loads for performance, noting their time to execute.  I chose to use an application.cfm and an onrequestend.cfm to set a timestamp and to place it on the end of my pages.  Prior to this, I have not utilzed an application.cfm.  I'm pragmattic and look upon the application.cfm as a catch-all to do things that I should be planning better for in my application.
    I soon found myself the recipient of a cross site scripting attack.  I realised easily that I opened myself wide to this because the application.cfm runs _before_ everything, including my sniffer code. Derrrr!
    I deleted the application.cfm and onrequestend.cfm and cleanded up my files having caught it same day and experiencing little damage.  The attack was only inserting javascript into my index pages via the application.cfm .  Rather ingenious and it was fun to find and consider.  Payday loan spam.
    I've been google'ing and reading on uploading vulnerabilities, but I can only find one instance where someone described their application.cfm file having been modified in similar fashion, the vector being a vulnerability in fckeditor - which I do not use. Nor do I use any other third party editor plugin.
    An article I found mentions vulnerable files in legacy CFDOCS folder that allow access and uploads.  I have a fresh install of CF9 so this did not exist.  There was a cfx folder tree with some "example" code folders.  I've zipped and deleted these.
    I have changed ftp to use a non-standard port.  Something that I used to do, but failed to re-instate when I moved to a different host.  I have a ticket submitted to get help in blocking CFIDE path requests to the outside world (so that it will only be accessable locally via RDP).
    If someone/something could modify the application.cfm file, why look for just it, unless it was just a lazy scripted attack looking for application.cfm files specifically.  And while I did not have one before, why did someone not just upload their own?
    How and why was my application.cfm changed, and why not the index.cfm files directly if they had some other avenue of access?
    My question is this - can the application.cfm be tricked into modifying itself?
    Thanks in advance!

    Sorry about that - a misunderstanding. When you said you "deleted the application.cfm and onrequestend.cfm and cleanded up my files...", I took that to mean you only deleted the code. I assumed the files to still be on the file system. For, to run a ColdFusion application of any substance, you do need an Application file.
    aotgnat wrote:
    The attack was only inserting javascript into my index pages via the application.cfm .
    Not necessarily via the application file. What the attacker may very likely have exploited is a ColdFusion Cross Site Scripting (XSS) vulnerability. This link shows you that a cfform, user-agent HTTP header, etc. may be used in an XSS attack. (See the XSS vulnerabilities relevant to CF9, which include CVE-2009-3467, CVE-2010-1293, CVE-2011-0583, CVE-2011-0733, CVE-2011-0734, CVE-2011-0735, CVE-2011-2463, CVE-2011-4368).

Maybe you are looking for

  • Gcc not found

    Hello Guru Oracle DBA, I'm newbie to LINUX and I took ORACLE official training classes. I installed ORACLE Enterprise LINUX Release 4 Update 7 on my computer. Then, I wanted to install the ORACLE database 10g. During the ORACLE database 10g installat

  • How Do i print with a dell

    i have a Dell Photo AIO Printer 922 and their are no drivers for it. How do i print with it?????

  • How to display calculated matrix columns in a graph?

    Hi,  I am working in VisualStudio 2010 hitting SQL Server 2012 to build SSRS reports. I have a need to graph year over year percentage growth as derived from two SSRS matrix columns.  Everything is working except that the chart displays only one valu

  • Best practice for creating large drop down menus?

    I'm attempting to transition from using Photoshop to Fireworks cs4 for design and prototyping of websites. Right now I'm working on re-creating a nav bar design in FW. The design calls for large drop down menus with lots of non-standard content simil

  • 'MPEG_PLAYER' IS NOT DEFINED

    When I try to play videos in these two sites for example "http://www.video.mediaset.it/mplayer-home.shtml?from=menu" and "http://www.corrieredellosport.it/video/" the error I can see on the bottom (the status bar) is:" 'mplayer_config' is not defined