Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Replace BSEG-LZBKZ during posting

Former Member
0 Likes
3,108

Hi all,

I would like to hardcode value to this field BSEG-LZBKZ during posting, via IDOC and manual posting.

I have tried the following but none of them work:

1) BTE 1030 and 1120

2) Substitution with user exit.

Anyone can give me advise? Thank you very much.

Regards,

CN

Hi all,

I would like to hardcode value to this field BSEG-LZBKZ during posting, via IDOC and manual posting.

I have tried the following but none of them work:

1) BTE 1030 and 1120

2) Substitution with user exit.

Anyone can give me advise? Thank you very much.

Regards,

CN

8 REPLIES 8
Read only

former_member282968
Contributor
0 Likes
2,100

Hi,

In the outbound IDOC funtion module check the customer exits .You can assign the value using customer exit while doing the outbound processing.

With regards,

Read only

Former Member
0 Likes
2,100

The Substitution exit should work.Check in debug mode if the values are replaced some where.

Can you copy your code here.

Read only

0 Likes
2,100

Nope. it does not work with substitution with user exit as SAP does not release it for substitution. in table GB01, it has EXCLUDE = 'X' for BSEG-LANDL and BSEG-LZBKZ. And thus substitution with constant value also cannot be used as these 2 fields are not for field selection at all.

I tried to change the value in debugging mode. But the document is still saved with empty value in these 2 fields. Any other suggestion? Thanks.

Read only

0 Likes
2,100

Hi

but you can change the attribute of that field in table GB01 in order it can be available for substitution

Max

Read only

0 Likes
2,100

Hi,

I tried but it prompts me a lot of error messages and thus failed to change. it is not recommended to change the SAP standard in this way to prevent next release upgrade impact.

Thanks.

Read only

0 Likes
2,100

Yes

The data of GB01 belong to SAP, but sometimes the business needs some standard modifications.

The impact will be where that field is used....but I means the value of that field....of course your setting in GB01 will be lost after upgrading the system, but it can do it again:

this is a normal action while upgrading the system.

Max

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,100

Did you read Note 829176 - FI: Ready for input status for state central bank indicator.?

Symptom


You use an FI transaction to enter an invoice or credit memo. The fields 'State central bank indicator' (LZBKZ) and 'Supplying country' (LANDL) are not available.

(...)

Reason and Prerequisites

The problem is due to Customizing or to legal provisions

(...)

In this case, you must send us the provisions of your state central bank in written form. Otherwise, we cannot adjust the system response  accordingly.

Regards,

Raymond

Read only

0 Likes
2,100

HI,

Yeah, I read this. I will ask the functional to log to OSS to have the support from them on this. THanks