Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8830

BAPIRET2 empty message and type

$
0
0

Hi Experts,

 

I'm very new to ABAP (and I like it ).

 

Below my first steps in ABAP:


 

DATA : answer         TYPE        BAPIRET2.
DATA : mmarket        TYPE        BAPI2042_MAINTAIN_MM.          mmarket-transaction_type = '100'.           mmarket-partner = '10000'.           mmarket-start_term = '04082014'.           mmarket-end_term = '04082014'.           mmarket-amount = 1000000.           mmarket-currency = 'EUR'.           mmarket-interest_rate = '1.37'.           CALL FUNCTION 'BAPI_FTR_CREATEFROMDATA'             EXPORTING               MONEYMARKET     = mmarket
 *             FOREIGNEXCHANGE =               COMPANYCODE     = 'DE01'               PRODUCTTYPE     = '510'             IMPORTING               RETURN          = answer
 *             TRANSACTION     =
 *             COMPANYCODE     =             EXCEPTIONS               ERROR           = 1               OTHERS          = 2.           IF SY-SUBRC <> 0.
 *         Implement suitable error handling here             WRITE : / 'Fehler im System'.           ENDIF.           WRITE : / answer-message.           WRITE : / answer-type.           WRITE : / answer-id.           WRITE : / answer-number.           WRITE : / answer-log_no.           WRITE : / answer-log_msg_no.           WRITE : / answer-parameter.           WRITE : / answer-row.           WRITE : / answer-field.


I want to call the BAPI and fill in the form.

answer-message and answer-type is empty. It seems that there is no error but shouldn't I get a success message like "S" in Type?


It is possible that the valuation area can not be filled with this BAPI?


Thanks for your help.

Xaavian


Viewing all articles
Browse latest Browse all 8830

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>