09-07-2022 10:48 AM
hi expertist,
i am trying to implement BAdI IF_MM_PUR_S4_PR_CHECK~CHECK in GUI to validate purchase requisition type with plant. There is a new custom table was created:
i declare the field in BAdI, there is an error message:
"Use of Table YPRTOPLANT is not permitted."
Please give advice or instruction.
THanks,
RTN
09-07-2022 11:01 AM
Hi ratana.pouy
You can declare as below
DATA : zwerks TYPE zwerks.
Because, you have used the same in YPROTOPLANT-WERKS.
So you can simply declare as above.
09-08-2022 1:06 AM
thank!
even i declare like this; still error.
Use of Data Element ZWERKS is not permitted.
Please kindly advice.
09-08-2022 10:12 AM
Did you click on the [i] icon, is there a message related to package?
Did you already check the Repository Objects: Original System, Packages (properties, attributes such as transport layer)
Are they compliant (ask your Basis Team)