sweetstuff4u / zaplink

Automatically exported from code.google.com/p/zaplink
0 stars 0 forks source link

Error when importing transaction based on program + variant #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Export transaction based on program + variant
2. Import it with an other name

What is the expected output?
Transaction are the same

What do you see instead?
Transaction lost his variant

This due to this part of SAP Code : SAVE_TCODE(LSEUKF01)
  tstc-cinfo = l_type + tc_chk + tc_enq.
...
  if tstc-cinfo o hex_rep and rsstcd-repo_vari ne space.
    add hex_rpv to tstc-cinfo.
  endif.
Transaction type should the addition of :
- base type (such as hex_par[02], hex_rep[80], hex_obj[08], ...)
- check addition [04] which means with authority check
- enqueu addition [20] which means with SM01
- variant addition [10] which means report with variant
All other type lead to clear 

Original issue reported on code.google.com by taryck%b...@gtempaccount.com on 21 Apr 2010 at 7:39

Attachments:

GoogleCodeExporter commented 8 years ago
Hot fix : ZAPLINK_TRANSACTION->ZAPLINK_CONNECTOR~READ_FROM_SAP
IF s_fm_data-tstc-cinfo O transaction_types-prog_variant.    SUBTRACT
transaction_types-prog_variant FROM s_fm_data-tstc-cinfo.   ENDIF.    " Issue 
67 :
Transaction of program with variant
CREATE OBJECT o_data.
o_data->from_data( s_fm_data ).

Note : This error might also lock transaction in SM01 because of the wrong 
value of
transaction type

Original comment by taryck%b...@gtempaccount.com on 21 Apr 2010 at 8:22