on 02-22-2019 2:04 PM
Hi all.
Is it possible to change the value of field XBLNR after save in transaction FB01 ?
We are trying with BTE 00001030 but is not working, any change is reflected afterwards.
As a workaround we are using a FM IN UPDATE TASK from this BTE to update the BKPF field, but I wonder if is there a proper way to do it.
Thanks in advance
Hello.
We cannot use a substitution in OBBH because we need the document number and in this transaction we have a temporary number like &1.
The requeriment is make a substitution taking the document number and other constants we have.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Document number is assigned on later stage. Why would you build a logic which is based on a document number, which is merely a counter? If it is about the certain range, then this should be controlled by document type.
Bottom line: the update could happen in the 'standard' entry points (e.g. substitution), post-factum (i.e. you would have to run some job updating already posted documents) or with non-standard development. The choice is yours 🙂
Hi, thanks for answer.
The requeriment is to change the value of this field with some rules in the moment the user is saving(posting) the document in the creation.
"If you want to change this value before the document is saved, then the best way would be a substitution; you don't specifically need a BTE for this."
Could you, please, give me a clue how to do this substitution ? We need to do it by code, transparent to the user.
We have not found any badi/exit to do it.
Thanks.
Ragards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why don't you use a substitution user-exit, as I suggested? OBBH?
I'm not sure what you mean by 'transparent to the user', but in substitution module you can either create a simplistic rule, type 'if A then B' or create a user-exit, and there the sky is the limit; you can could use whatever logic you want.
Hi,
Do you mean a post-factum change in front-end of with some program?
If you want to change XBLNR of a posted document, it is possible in front-end with simple FB02. If you choose to make some mass update with program, there is equally no problem with this, unless you have some specific dependency on this field in your business process.
If you want to change this value before the document is saved, then the best way would be a substitution; you don't specifically need a BTE for this.
Regards,
Eli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Didnt know this.
We will try this, thanks
https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=226299663
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.