cancel
Showing results for 
Search instead for 
Did you mean: 

Object link for non standrd objects problems

Former Member
0 Kudos

Hi All,

I am stuck with non standard object links, please find below the details and please provide your inputs on this.

1. New object links for objects - MSEG, PA0000, PA0002,,,,etc.

2. I have maintained key fields with Tcodes and fields.

3. I have maintained the screen for object links.

4. Updated the screens in SAPCV130 for all new non standard objects.

5. In doc type configuration - set OBJECT CHECK for status DF, there is only one status. - Business requirement.

7. All the master data for the objects like MSEG, PA0000 exists in the system, I can see in database table.

8. ZSEARCHHELP_ObjectsXXXX has been set up for all non standard object for search.

Now after all these activities I am facing two issues,

1. After I select the object from search screen, If I press enter its asking me "do you want to delete the object links", irrespective of yes/no object will be deleted from the object link screen.

2.  This is another scenario - Its giving message "DF status cannot be set as the object doesn't exist", but when I check in SE16N object exists in the database then why its showing object doesn't exists and not allowing me to save.

Please provide your valuable inputs on how I can fix this.

Thanks & Regards,

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

benedikt_wagner_mdt
Active Participant
0 Kudos

Hi Kumar,

did you create the function module OBJECT_CHECK_<database table> as mentioned in customizing documentation for "Maintain Key Fields"?

Regards,

Benedikt

Former Member
0 Kudos

Hi Benedikt,

Thanks for your response,

I have created FM OBJECT_CHECK_DATABASE but still facing problem.

When I select the object key after search, it will populate in the field. Now when I save without pressing enter it will save and when I display the document object key will be missing.

Please advise how to fix this ,,its very urgent and in critical phase of project.

Thanks & Regards,

Kumar

benedikt_wagner_mdt
Active Participant
0 Kudos

Hi Kumar,

I expect you are in CV02N. If the object key is not saved, there will be some error in your screen implementation. Please check your screen or better debug it to see if link data is put in internal table gt_drad in FORM save_intrad_in_gt_drad.

Regards,

Benedikt

Former Member
0 Kudos

Hi Benedikt,

Thanks for your response,

Yeah in CV02N screen this is the scenario.  Screen link data is in internal table and in form.

Could you please help if I missed anything apart from this.

Thanks & Regards,

Kumar

Former Member
0 Kudos

Hi,

Check this blog, This may be helpful.

Rgds,

Nayeem.

Former Member
0 Kudos

Hi Nayeem,

Thanks for the inputs,

I could see BELNR & GJAHR not maintained in MCDOKOB.

This is the culprit I guess, once done will update the status.

Thanks & Regards,

Kumar

Former Member
0 Kudos

Thanks Nayeem,

It solved and working now.

Issue was :

BELNR & GJAHR was not maintained in structure MCDOKOB.

Regards,

Kumar

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Benedikt & Nayeem for your valuable inputs.

Issue solved.

Best Regards,

Kumar

Former Member
0 Kudos

Dear All,

Could anyone please respond for my query.

Thanks & Regards,

Kumar