on 03-08-2013 4:48 PM
Hello experts,
I need to create a report to add new card or cards to memberships from excel file. I looked for BAPI or FM to use but couldn't find any to achieve this. Does anybody have any solution to this matter?
Regards,
Murat Kaya
Hi,
You can use this FM's. First will add Card and Second will save it to DB.
CALL FUNCTION 'CRM_LOY_CARD_CREATE'
EXPORTING
iv_create_key = 'X'
IMPORTING
ev_success = lv_succ
CHANGING
ct_data = lt_add_loy_cards.
IF lv_succ NE abap_true.
EXIT.
ENDIF.
CLEAR lv_succ.
CALL FUNCTION 'CRM_LOY_CARD_SAVE'
EXPORTING
iv_update_task = ' '
IMPORTING
ev_success = lv_succ.
BR, Jurijs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jurijs,
in general I don't think performance is a good argument in order not to use a high level API (cf. Premature Optimization).
Christian
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.