on 06-26-2015 9:00 AM
Hey Experts,
currently I am working with Feeder classes, and I want to delete some message from the global Container. I get the Container Object with the method get_global_message_cont( ) and call the method to get the message table. I call this methods within the Feeder Class method get_data, and every time the table is initial.
Has anybody an Idea, how I will get all the messages from the global Container? Or an alternativ to delete the Messages?
The Problem is also, if I delete the message withinn the intern table et_message and I Switch between OVP the message will raise again, because it is in the global Container.
Because of that I want to delete it within the Global Message Container.
This field is a mandatory field in my ERP System, for some Screens I want to overdrive it.
Thanks in advance,
Hasan
You might want to try and see if you can access the object from the FPM application controller. The fact the table is empty might be due to scope of the object when you are in the feeder class.
Any way, what you are trying to do is enforce an additional field? If so, why not use BRF+ or the validation BAdI instead of trying to hack into the message container? I'm not sure messing with the message container is the correct approach.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I want to second Abdullah's comment. Removing a check error message from the message container is usually not a good approach. MDGM example: If Activation fails in reuse area and you modify the messages passed from the backend, MDG might think the activation was successful even though it wasn't.
To deactivate backend checks (or other checks), you can use MDG-IMG activity "Configure Properties of Change Request Step".
To modify mandatory field settings from the backend, MDGM provide transaction OMSR. Other applications have different settings.
So basically, it depends on your use case.
Regards, Ingo Bruß
Hi Abdul & Ingo,
thank you for your reply.
You are both right, I won't delete the messages from the container.
Currently I allocate the field within the feeder class with mo_entity->set_property method. So I will not get an error message.
@Abdul: I used BRF+ before, but I dont like this Framework, there makes some problems like transport and the usability is for me not the best. The cause might also be that I haven't enough experience knowledge.
@Ingo: Very useful tips, thanks!
Best regards,
Hasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has nobody an idea for my question?
Best regards,
Hasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.