on 2024 Jun 06 2:21 PM
Hi,
I have a Zinvoice table with 'INVNO' as the ONLY key field.
Its type is XBLNR_KK which holds 16 chars.
I am updating this Z* table via reading big volume of data from flat file.
Sometimes i get same value for 'INVNO' field in different rows.
I use modify statement as below in the program.
modify zinvoice from wa_invoice.
Issues:
1)This statement is giving sy-subrc = 0 even when same 'INVNO' field is seen.
2) Also its NOT updating for different INVNO. What could be the reason?
3) Do i need to prefill 0's if INVNO is filled with 9 or 10 chars?
Can any one suggest pls.
Request clarification before answering.
Hi Sandra, I am testing this one. The prog is showing that its updating the same data for same 'INVNO' (key field) even if i attempt to update multiple times. EVEN showing sy-subrc is showing = 0 all the time.
But the no of entries in the Z* table remains the same .
Do i need to use 'Transporting' addition to my modify stmt?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Data/Element (Domain) XBLNR_KK uses the ALPHA conversion exit. So you MUST convert data to a correct internal forma (e.g. use FM CONVERSION_EXIT_ALPHA_INPUT)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
INVNO is part of the primary key so
NB: Basically, only an unique secondary index can trigger a sy-subrc <> 0 for statement MODIFY dbtab (LOB doesn't seem relevant here)
Do you use an explicit DB commit or are you relying on an explicit DB commit ?
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.