Professional Documents
Culture Documents
Hi all !
I have a problem: I need to create a default in the field BTRTL (Personnel SubArea), in
infotype 1-Organizational Ass.
Somebody can help me, please.
ALeite
aleite
Posts: 73
Joined: Tue Nov 12, 2002 8:28 am
Location: Sao Paulo, Brasil
Top
case innnn-infty.
when ‘0001’.
move innnn to i0001.
endcase.
Guest
Top
opps - the post didn't work correctly ! there are some funny characters in the above !!
Guest
Top
another way...
assuming you are creating 0001 through actions, you can also do a dynamic action to fill
the field - example:
if you do the above, take out 0001 from the infogroup or it will come up twice.
or, if you are using position management, you can assign the BTRTL to the position in
PD infotype 1008 and it will fill from there. Those might be easier solutions than the user
exit.
Sylvia
sylviac
Top
Top
Hi!
Thank you so much Sylvia. I'm using infotype 1008.
Best regards,
A Leite
Question:
Hello,
I have the following conditions in my dynamic actions:
P PSAVE-FAMST='1'/X
P PSAVE-FAMST='4'/X
P PSAVE-FAMST='5'/X
P P0002-FAMST='5'/X
P P0002-FAMST='3'/X
I want to 'AND' the PSAVE-FAMST and P0002-FAMST 'OR' conditions. But at the
moment, since they follow each other up, it is a single 'OR'.
Any ideas on how to achieve this?
Thanks
Answer:
Since you cannot insert the desired AND between the two groups of OR expressions what
you need to do is enter an additional logical expression in between. You can achieve this
by inserting an �always true� expression such as T001P-MOLGA=T001P-MOLGA
between the two groups of OR expressions.
Any expression with the same variable on both sides of the equals sign always evaluates
as true. T001P-MOLGA is a convenient field to use because it is always populated with
the country code.
So for example, you may have:
P PSAVE-FAMST='1'/X
P PSAVE-FAMST='4'/X
P PSAVE-FAMST='5'/X
P T001P-MOLGA=T001P-MOLGA
P P0002-FAMST='5'/X
P P0002-FAMST='3'/X