2008 Apr 10 3:39 PM
Dear All,
May i know which Function Module i should use to get the same features as that of t-code CS15?
In the material numbers read from this function module (eg: SM34213132, 234TF332, 563ABZX34 etc), i would like to search for a few character patterns, eg: SM, TF, ZX, ER etc. & then finaly CONCATENATE the values read into a variable i.e. output value should be like for example SM + ZX.
Await inputs.
Vivek
Dear All,
May i know which Function Module i should use to get the same features as that of t-code CS15?
In the material numbers read from this function module (eg: SM34213132, 234TF332, 563ABZX34 etc), i would like to search for a few character patterns, eg: SM, TF, ZX, ER etc. & then finaly CONCATENATE the values read into a variable i.e. output value should be like for example SM + ZX.
Await inputs.
Vivek
2008 Apr 10 3:40 PM
Hi,
TRY fm
CS_BOM_EXPL_MAT_V2
data : it_stb2 like stpox occurs 0 with header line,
it_spma2x like it_spma2 occurs 0 with header line,
it_matcat like cscmat occurs 0 with header line,
call function 'CS_BOM_EXPL_MAT_V2'
exporting
capid = 'PP01'
datuv = sy-datum
mktls = 'X'
mehrs = 'X'
mmory = '1'
mtnrv = it_spma2-matnr
werks = werks
tables
stb = it_stb2
matcat = it_matcat
exceptions
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
others = 8.<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 10:53 AM
2008 Apr 11 3:50 AM
Mr. Balaji,
That is not the FM which gives CS15 functionality. Anyone else who can guide me on my issue?
Vivek
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |