cancel
Showing results for 
Search instead for 
Did you mean: 

Validation for trading partner

0 Kudos

Dear Experts,

The requirement is to have the validation on Inter Company accounts to check for the trading partner and issue an error message.

The below setting is made in OB28:

Prerequisite: BSEG-HKONT IN YY_MANDATORYTP_GL

Check: BSEG-VBUND <> ''

Message: This account required the trading partner field to be filled

As well for the document type KR the check boxes for IC postings and Trading partner is flagged.

The Call point is at line item and the set is created with the required IC GLs. The validation is as well activated.

When making an entry in F-43 the system gives an error message as set in OB28 which is correct. However the system continues to give the same error message even after trading partner field is filled with value and hence not able to create the FI document.

Request to help understand if there is still any gap in the OB28 settings or any config is still missing.

We are not maintain TP in GL level and Field status for gl cannot be set as the trading partner field is not there in FSG

Have already seen the related threads but to no avail.

coleti
Active Contributor
0 Kudos

I would recommend you to share some screen shots for better understand of the community. Any way, if you are adding the validation in the line item, it will check every line item of your posting. But, it´s hard for us to get in the same page as you.

Actually, I am not a big fan of Validation Rule... I would suggest you to, to check about the Field Status under the level of the G/L Account, maybe it can help better than the Validation Rule.

Accepted Solutions (0)

Answers (2)

Answers (2)

Paulo_Vitoriano
Active Contributor

Hi Sankar,

This particular case must be easy to debug and see the reason as the ABAP code is very simple here.

From the validation itself set a break point and next you can observe relevant data fields in a run-time mode.

Regards,

Paulo

0 Kudos

Check that vendor recon account have the trading partner assigned that is the cause.