on 10-30-2009 1:08 PM
Hi,
We are getting Mapping error bdcos in SMW01 if there is an error while data is downloading from ECC to CRM. We are fixing the issue by looking at the BDOC error description. We are unable to re-process these error bdocs after fixing the issue as it is not allowing. To fix the issue we are re-processing the corresponding queue in SMQ2 and queues are processing successfully. the problem is these error bdocs are sitting in data base and we want to clear them.
Can any one please let me know how we can re-process these kind of mapping error bdocs?
Thanks,
Rajinikanth
Mapping Error BDOCs have the status E08. The BDOC is incomplete state, so the BDOC cannot be processed. In this case what you have done(reprocessing the queue ) is right. Once the queue is processed, a new BDOC is formed, so you can delete the bdoc in smw01, so the bdoc gets F03(Set to Processed).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The batch job MW_REORG_300 will delete the error bdocs. Scheduled this batch job and all mapping error bdocs got deleted.
Thanks,
Rajinikanth G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Below logic may be useful.
SELECT bdoc_id
bdoc_type
bdoc_state
snd_date
snd_time
qname
INTO TABLE lt_inque
FROM smw3_bdoc
WHERE bdoc_type IN s_bdoc
AND qname IN s_qname
AND bdoc_state IN r_err.(r_err = E01,E02.....E09)
LOOP AT lt_inque INTO ls_inque.
DATA:lv_bdoc_id TYPE smog_tid.
CLEAR lv_bdoc_id.
lv_bdoc_id = ls_inque-bdoc_id.
CALL METHOD cl_smw_flow=>restart_processing
EXPORTING
bdoc_id = lv_bdoc_id
EXCEPTIONS
bdoc_not_found = 1
bdoc_locked = 2
bdoc_was_processed = 3
internal_error = 4
OTHERS = 5.
ENDLOOP.
Thank you,
Gangadhar.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rajinikanth,
What data you are trying to download from ECC to CRM?
If you can tell me the mapping error which you can see in txn:SMW01 , then I can check further.
Best Regards,
Shanthala Kudva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
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.