Skip to Content
0
Former Member
Sep 08, 2007 at 05:35 AM

upload problem

16 Views

HI all good morning.

am uploading some data to database using gui_upload FM after completion of upload program will generate a serial number, program is working fine for single user , but when 2 or more user using the same program to upload the data then all data is stored in a single serial number, i want to store the data in different serial number. am using 'enqueue_e_table' and "dequeue_e_table" function modules to lock and unlock the table . but its not working am getting same problem again. please help me to solve this problem.

code:

CALL FUNCTION 'ENQUEUE_E_TABLE'

EXPORTING

TABNAME = 'zporder'

EXCEPTIONS

FOREIGN_LOCK = 1

SYSTEM_FAILURE = 2

OTHERS = 3

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Regards

Prajeala.k

Message was edited by:

prajwal k

Message was edited by:

prajwal k