2006 Aug 04 10:56 AM
Hi Friends,
Could u please send me the details
1. Part No. (NDC#) QALS- MATNR CHAR 18 Selected based on the Inspection Lot Number(QALS-PRUEFLOS) in transaction QA32.
NDC before Part Number
The part number will include dashes.
Example:
0398-0457-08-C1
NDC No. =
NDC 0398-0457-08-C1
Regards
Srinu
2006 Aug 04 11:07 AM
Hello,
If I understood right,
Concatenate 'NDC' '0398-0457-08-C1' into l_text separted by ' '.
regards,
Naimesh
2006 Aug 04 11:07 AM
Hello,
If I understood right,
Concatenate 'NDC' '0398-0457-08-C1' into l_text separted by ' '.
regards,
Naimesh
2006 Aug 04 11:11 AM
hi friends,
Could u please send me the details how to write to this type of query
. Part No. (NDC#) QALS- MATNR CHAR 18 Selected based on the Inspection Lot Number(QALS-PRUEFLOS) in transaction QA32.
NDC before Part Number
Regards
srinu
2006 Aug 04 11:13 AM
hi,
the following sample code would help:
data : partno type qals-matnr,
ndcno(21) type c value 'NDC'.
select matnr from qals into partno where prueflos = 'XXXX'.
if sy-subrc eq 0.
concatentate ndcno partno into ndcno.
endif.
Hope this helps you, reward if helpful.
2006 Aug 04 11:16 AM
hi friends,
Could u please send me the details
Select the Characteristic Value (AUSP-ATWRT), where the Internal characteristic(AUSP-ATINN) equals AVE_TABLET_WEIGHT, the Class type (AUSP-KLART) equals 023, and the Object(AUSP-OBJEK) = the material numbers Finished product material number(MARA-MATNR).
To find this, remove the last 3 digits from the material number.
Ex.
0378-0457-01-C1
0378-0457-01
Regards
2006 Aug 04 11:26 AM
hi friends,
Could u please send me the details how can we write the query
Select the Characteristic Value (AUSP-ATWRT), where the Internal characteristic(AUSP-ATINN) equals AVE_TABLET_WEIGHT, the Class type (AUSP-KLART) equals 023, and the Object(AUSP-OBJEK) = the material numbers Finished product material number(MARA-MATNR).
To find this, remove the last 3 digits from the material number.
Ex.
0378-0457-01-C1
0378-0457-01
Regards
Laxmi
2006 Aug 04 1:26 PM
l_matnr = mara-matnr. "removing the last three chars
condense l_matnr.
l_len = strlen(l_matnr).
l_flen = l_len - 3.
write l_matnr+0(l_flen) to f_matnr.
SELECT ATWRT INTO ITFIN-STRENGTH FROM AUSP
WHERE AUSP-ATINN = AVE_TABLET_WEIGHT' and
KLART = 023 and OBJEK = f_MATNR.
Regards
Anurag