×

[PR]この広告は3ヶ月以上更新がないため表示されています。
ホームページを更新後24時間以内に表示されなくなります。




Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>FinancialProduct



Index

FinancialProduct

FinancialProduct


No description is available


11-Dec-2005


Methods

Available Methods


  • Change : Change security [ BAPI_FP_CHANGE ]
  • CreateFromData : Create security [ BAPI_FP_CREATEFROMDATA ]
  • GetDetail : Read security detailed data [ BAPI_FP_GETDETAIL ]
  • GetList : Read security list [ BAPI_FP_GETLIST ]

11-Dec-2005


Change

Change


You can use this BAPI to change data in a security that has already been created. In principle, you can change all structurecharacteristics, as well as secondary indexes, references, exchange assignments and conditions.

When you use this BAPI, note the following:


To ensure changes are consistent, you have to transfer both the new,changed status as well as the old status of the security read by GetDetail when you call it up. You can usea parameter with the same name as the parameter for the old status by adding an 'X' to it.


The system checks whether the last status read using GetDetail is the same as the current status in the database.

If the person calling up this BAPI uses an old status, this changerequest must be rejected. The status can be old because you are not
allowed to block requests over several BAPI calls and you cannotprevent another user in the meantime from changing the status of thedatabase. If this happens, the only option is to reread the database using GetDetail and to regenerate the change request.

If the status of the database has not changed since the last time it was read, you can post the change request.

The system carries out the usual plausibility checks first.

If you only want to change the conditions of a stock, you simplytransfer the import parameters SecurityNumber, ProductCategory, Stock, StockX and the table parameters Conditions and ConditionsX.

Notes

Messages are returned in the parameter return. The parameterdocumentation shows the return codes and their meanings.

Further Information

For more information, see the R/3 Library under Treasury-->Treasury Management-->Securities-->Master Data-->Class.


11-Dec-2005


CreateFromData

CreateFromData


You can use this class method to create a new security. You fill thecorresponding parameter structure according to product category. Youcan find out how product categories and parameter structures are assigned in the documentation for the single parameters.


You can only successfully create a security if the data transferredfulfills certain consistency requirements. Otherwise the data is rejected. The Return parameter then contains a list of the error messages.

Notes

Messages are returned in the parameter return. The parameter
documentation shows the return codes and their meanings.

Further Information

You can find more information about this in the R/3 library underTreasury-->Treasury Management-->Securities-->Master Data-->Class.


11-Dec-2005


GetDetail

GetDetail


The GetDetail method enables you to read the detailed data of asecurity. The data belonging to a securities ID number is returned via the export parameter.

The data can be divided into two categories:

On the one hand, you have data that can be determined according to
product category. This is why each product category has a specific parameter.

On the other hand, you have data that has the same structure regardlessof the product category. This includes secondary indexes, listing keys as well as references to other securities.


In addition, you have conditions for stocks, investment funds, shareholdings and bonds, which are also transferred in their ownstructures.

Notes

Messages are returned in the parameter return. The parameterdocumentation shows the return codes and their meanings.


Further Information

The individual parameters are described in more detail in the relevant documentation.


11-Dec-2005


GetList

GetList


The class method GetList delivers a list of the securitiescurrently available in the system. The following data is delivered for each security:

  • Product category
  • Product type
  • ID number
  • Status
  • Short and long text

  • The status field can have one of the following values:

  • 01 Active
  • 02 Obsolete
  • You can enter ranges to restrict the number of hits for the productcategory, product type and ID number when you call up the method.

    Notes


    Messages are returned in the parameter return. The parameterdocumentation shows the return codes and their meanings.

    Use the GetDetail method to call up detailed data for a selected ID number.

    Further Information

    You can find more information in the R/3 library under
    Treasury-->Treasury Management-->Securities-->Master data-->Class.


    11-Dec-2005