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

fb02

Former Member
0 Likes
1,220

hi experts,

transaction FB02(change document),if we enter any document number and company code and fiscal year and then press ente, it will display the line items. when we double click on any line item it is displaying assignment field.

my requirement is i need to displayonly the last 6 characters of that assignment number in assignment field, when i double click on any line item in second screen of fb02 transaction.

how can i do for this, if anybody did this before could you please suggest me.

thanks in advance,

praveen.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,115

Hi,

You can try a fieldexit for this.Within it you can use substr of the input field and then pass that to the output.

Pravat.

9 REPLIES 9
Read only

Former Member
0 Likes
1,115

Hi

The rules to build the assignment are assigned by customizing or substitutions, so if you now you need to hide a part of it I believe you should change that dynpro SAPMF05L 0301.

But you should consider all FI transactions show an item use that dynpro.

Max

Read only

0 Likes
1,115

hi max,

how can i change the sap predefined dynpro SAPMF05L 0301,but it is asking access key.

Thanks in advance,

praveen.

Read only

0 Likes
1,115

Hi

The first thing is you make sure you have to change, because you'll have to ask the permission to do that modification.

Infact It often happens it renunciations to modification if it means to change a standard program.

If you have to change it, you have to obtain the access key by registering the object in OSS. So ask your basis who can register it and get the access key.

Max

Read only

Former Member
0 Likes
1,116

Hi,

You can try a fieldexit for this.Within it you can use substr of the input field and then pass that to the output.

Pravat.

Read only

0 Likes
1,115

Hi

Pravat, yes it's right, but the problem is the field-exit change the value and here he wants only to change the format for ouput.

Another solution can be change the domain ZUONR and assign it a convertion input/output routine instaed of to change the program.

But in this way every time the field ZUONR'll be displayed that routine'll be triggered.

Max

Read only

0 Likes
1,115

Hi,

Max, if you see his requirement he wants to display only the last 6 characters of assignment field.So if a fieldexit can be developed to pass only the last 6 characters then it should meet his requirement.

Pravat.

Read only

0 Likes
1,115

Hi

Yes but if the user (FB02 is to change the data) press SAVE icon, the system'll store only the last six characters in the assignment field, because now the new value is the last 6 char.

If I understand he want to show only the 6 char, so after showing it he has to be stored old value in assignment again, and it can't do it by field-exit.

Max

Read only

0 Likes
1,115

hi max,

i need to transfer check number in assignment field and if payr-hbkid = ab10, i need to take last 6 characters, if payr-hbkid = ab11, i need to take last 4 charactersof the check number.

after that i need to save that assignment field.

can i do the field exit for this.

thanks in advance,

praveen.

Read only

0 Likes
1,115

Hi

If this case you should use a substitution OBBH.

Max