‎2006 Sep 01 9:39 AM
Hi..
I am submitting RBDSEMAT(transaction BD10) in my program with the necessary material number, message type,logical system.
SUBMIT RBDSEMAT WITH MATSEL IN R_MATNR
WITH MESTYP = 'ZGMAT1'
WITH LOGSYS = ' '
AND RETURN.
Now I want to capture all the materials which will not be submitted by this T-Code ie. materials that are not sent properly due to some erors.
What shall I code for that.
Thank you
‎2006 Sep 01 9:48 AM
1. Create a screen variant for BD10 initial transaction and use option USING SELECTION-SET <variant>.
2. Loop the r_matnr and execute SUBMIT comamnd for each material individually.
Regards,
Prasanth
‎2006 Sep 01 9:59 AM
Hi..
Thank You Prasanth.
But I cant capture the error materials when I use mass operation with submit command?
There is no way other than the one provided by you.
Thank You
‎2006 Sep 01 11:00 AM
Hi
I am using
SUBMIT RBDSEMAT WITH SELECTION-TABLE LIT_RSPARAMS
AND RETURN.
inside my Loop -Endloop ie for every material.
I want a scenario such that even if the selection-screen validation fails then also it should continue the processing for the other materials and I will capture that wrong material in my error table.
How can I achieve this?
Thank You
‎2006 Sep 01 10:13 AM
Hi,
you can try by copying standard program
and populate error tab and export to ur calling
program.
Regards
Amole
‎2006 Sep 01 11:06 AM
Subhash,
Now this has happen in the RBDMSEMAT program, it should populate the error log and there is a statement IF REQUESTED in abap, explore the same.
Reward if helfpul.
Regards
‎2006 Sep 01 11:14 AM
Hi,
You can use SUBMIT [job_options]
[AND RETURN].
Using this U can set program in Background mode.
and after determining steps u can come to know if The communication IDOC is send or not.
For E.g Ull get messages like
01.09.2006 06:10:17 Job started
01.09.2006 06:10:17 Step 001 started (program RBDSEMAT, variant &0000000000000, user ID Zzzzz)
01.09.2006 06:10:17 0 master IDocs set up for message type MATMAS
01.09.2006 06:10:17 0 communication IDoc(s) generated for message type MATMAS
01.09.2006 06:10:17 Job finished
using this u can determin if IDOCs are send or not..
Hope it helps
Regards
Atul