on 05-24-2012 9:44 AM
For creating a common quality info record for all revision level, I implemented a Badi called QB_Q_INFO_RECORD.
Can anyone give me coding to include in the method, already I tried below coding but its not working.
CALL FUNCTION 'REVISION_LEVEL_SELECT'
EXPORTING
datuv = sy-datum
matnr = i_matnr
IMPORTING
arevlv = IE_revlv
EXCEPTIONS
date_not_found = 1
ecn_not_found = 2
ecn_no_revision = 3
input_incomplete = 4
input_inconsistent = 5
revision_not_found = 6
version_not_found = 7
OTHERS = 8.
Hello EMJ,
If I'm not wrong...I've only given this code in one of your thread... But it's working perfectly for me.
Could you please explain what exactly you did & how, so that I can suggest, if any??
Regards,
Anup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anup
I created quality info record for material which has no revision level, now the same material has been assigned with revision level A.
So I implemented the badi with said coding, but we are getting quality info record error message during the PO creation.
Please let me know if i made anything wrong.
Hi Anup
ABAPer implemented classic Badi: QB_Q_INFO_RECORD to ZQB_Q_INFO_RECORD in SE19.
In interfaces, inside method Q_INFO_KEY_CHANGE, the below code was pasted.
method IF_EX_QB_Q_INFO_RECORD~Q_INFO_KEY_CHANGE.
CALL FUNCTION 'REVISION_LEVEL_SELECT'
EXPORTING
datuv = sy-datum
matnr = i_matnr
IMPORTING
arevlv = IE_revlv
EXCEPTIONS
date_not_found = 1
ecn_not_found = 2
ecn_no_revision = 3
input_incomplete = 4
input_inconsistent = 5
revision_not_found = 6
version_not_found = 7
OTHERS = 8.
endmethod.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.