Skip to Content

BAPI_FTR_FXT_CREATE

Sap Guru's,

Am trying to create treasury BP through BAPI-BAPI_FTR_FXT_CREATE( tcode FTR_CREATE - Treasury BP)

but its prompting me an below error:

E FTR0                 161 BAPI processing was terminated

E T7                   004 Product type 51A is not product category Foreign exchange

for every product type it showing the same error, so request you to help me to overcome this isssue

Rgds,

Shabs

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 12, 2015 at 12:11 PM

    Hi,

    please set a break-point in FORM WPO_PRODUKTART of include MF70BF03 at line

      SELECT SINGLE * FROM TZPA WHERE GSART = PAR_PRODART.

    After a successful SELECT you will get the expected product type in TZSPA-SANLF.

    Regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      please try it again with the system debugging option activated.

      If it doesn't stop there, then you can try the following: Set a break-point at this position

      in fm FTR_API_FXT_INIT_CREATE. It checks the domain values for structure DEAL_ENTRY. This structure contains field PRODUCT_TYPE of domain VVSART and should validate the content against table TZPA.

      In your first try you can continue with F6 and check field SY-SUBRC and content of table L_TAB_RETURN. If error message T7 004 is in the table, you have passed an invalid value to field PRODUCT_TYPE. Please choose another value from table TZPA then.

      Regards,

      Klaus

  • Mar 12, 2015 at 02:14 PM

    The BAPI FTR_FXT_CREATE is not for creating Business Partners, but for creating FX transactions. I don't know what is the BAPI for BP's, though. Good luck.

    Add comment
    10|10000 characters needed characters exceeded