cancel
Showing results for 
Search instead for 
Did you mean: 

Validation for Trading Partner

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 TEST-TPVAL

Check: BSEG-VBUND <> ''

Message: E ....Trading partner missing in the GL line item

As well for the document type SA 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 FB01 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.

As well is there any possibility to exclude certain GLs from the sets from validation perspective?

Have already seen the related threads but to no avail.

Thanks,

Kind Regards,

Srini

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

HI Eli,

The set table is based on SKB1 and the name of the set is TEST-PVAL.


Thanks,


Regards,

Srini

iklovski
Active Contributor
0 Kudos

Then, normally it should work. Set a trace in OB28 on the validation to see whether your pre-requisites are met.

0 Kudos

After setting the trace transaction FB01 is going for a dump with the message:

Error analysis

    The following syntax error has occurred in program SAPLGBLS

                 :

    "VBUND" must be a flat structure. You cannot use internal tables, stri

    ngs, references, or structures as components. -

    " "

iklovski
Active Contributor
0 Kudos

Execute RGUGBR00 and see if dump disappears.

0 Kudos

Hi Eli,

The dump is gone but the error still persists....

Regards,

Srini

sanilbhandari
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Srinivas

If it is a new project, you can have trading partner in the field status by adding VBUND as a coding block (Table TCBOF). However, if there is a transnational data existing it is not a recommended approach and validation is the right way. Can you check if the underlying fields in your set for GL Accounts is BSEG-HKONT and not something else. Additionally, the activation of the validation for the company code should be at line item level (Level 1).

Regards


Sanil Bhandari

iklovski
Active Contributor
0 Kudos

Now, run a trace

Answers (4)

Answers (4)

0 Kudos

Thanks Eli and Sanil for all the help!!

Issue was with the field in set.

0 Kudos

Hello Dears,

Could you please confirm which field wrong in set and what need to be maintain

I'm also facing same issue

Thanks,

Former Member
0 Kudos

      Could you make parking document use F-65 first ,  check the  validation  is valid or not, then post the document use FB01 .

                   

                    Regards.

                    Michael

0 Kudos

Hi Eli,

Thank you very much for the very quick response.

Field status for GL account cannot be set as the Trading partner field is not there in FSG.

TEST-PVAL is the basic set name where in all the required IC accounts are maintained that needs validation for TP. The same is included in the validation prerequisite logic.


Regards,

Srini

iklovski
Active Contributor

Hi,

Yes, but on what table did you build it? For G/L accounts, it should be SKB1 or SKA1 (field SAKNR). Then, you just give the name of the set in the validation, e.g. BSEG-HKONT IN TEST, where TEST is name of the set.

Regards,


Eli

iklovski
Active Contributor
0 Kudos

Hi,

First of all, it would be easier (and more correct) to set a field status in those G/Ls in a way, which would require trading partner.

Second, what is TEST-PVAL exactly? I guess, you meant to create a set and check if the accounts belong to the set. But, in this case, this 'TEST-PVAL' is very dubious What is your set exactly and how did you build it?

Regards,

Eli