on 03-10-2011 11:08 PM
Dear all,
Currently the material number and description printing on my quality certificate through QC22 with customer number reference is coming only from the material master. I would like my quality certificate print with customer reference material number from customer material info record (KNMT table) using VD51. Do I have to create user exit to accomplish that? If yes, I just wonder how.
The program from QC22 needs sales org and dist channel to read the customer material number from table KNMT but these fields are only set when using a delivery number.
Thanks.
Have you checked User Exit
QC100008 QM certificates: User exit for changing the customer number
I am not sure about this but just have a look
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you referring to the layout set : QM_QCERT_01?
The customer material number and desc are printed with the following statement: &*VBDPL-IDNKD& &KNMT-POSTX&
Those fields are populated by the following form in program AAP00F03.
form knmt_select.
select single * from knmt
where vkorg = vbdkl-vkorg
and vtweg = g_vbdpl-vtweg
and kunnr = vbco3-kunde
and matnr = g_vbdpl-matnr.
endform. " KNMT_SELECT
vkorg & vtweg need to be set to get the information from KNMT. These are only set from a delivery.
Where in standard functionality are those fields set?
-Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Printing the customer material number and customer material description from the info record is standard functionality and is provided in the example COA sap script provide by SAP that should be used as abacus for your own sapscript form.
No user exit is required.
FF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew already posted the example form that SAP provides. As long as you haven't copied and customized the standard COA program that SAP provides the form he cited will work. There should rarely ever, be a need to customize the SAP COA program. You want to avoid that. Just customize the SAPscript form and utilize standard user exits, enhancements and COA program functionality.
FF
Yes, I am using standard COA program.. As Andrew pointed out, vkorg & vtweg need to be set to get the information from KNMT but the standard program doesn't provide vkorg & vtweg for some reason so the program can't return anything from KNMT. I just wonder is anything I need to turn on in the configuration in order to get vkorg & vtweg? Thanks again.
I should clarify my question a little bit. I can use QC20 to print the material number and the customer reference material number but I can't use QC22 to print customer reference material number,
I just wonder is anyone using QC22 to print customer reference maerial number? Any configuration steps need to be done in order to print the customer reference material number? thanks.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
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.