Skip to Content
0

copy operation on pb0016 using HR_INFOTYPE_OPERATION

Jul 19, 2017 at 07:34 AM

44

avatar image
Former Member

Hello experts,

So I have encountered a rather strange situation. I'm trying to do a copy operation on pb0016 in my code using the HR_INFOTYPE_OPERATION in a webdynpro application but strangely it will do a modify to the current line instead.

When doing the same thing using the transaction pb30 it will work as intended (it will delimit the current one and create a new one)

I have no idea why would it act so differently. And for some reason it only happens with pb0016 and not with the others (as far as we researched).

Does any one have an idea for the cause? A way to fix this issue?

Thank you in advance,

Roei

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Bertrand DELVALLEE Jul 19, 2017 at 08:41 AM
0

Hello,

You should try :

- To not perform A tclas operations in the same program/process than B tclas (known buffer/global variable problems)

- Perform a delimit operation (LIS9) on old entry, then INS new entry ; instead of COP

- Verify if you have to also deal with other dependent infotypes. Like 3316.

- What are auto-completion in PA30 screens (standard or from ZXPADU01/02 customer-exits) that you have to reproduce in your code

Best regards

Bertrand

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jul 19, 2017 at 08:54 AM
0

Hi,

1) I'm only doing B tclas operations in the program.

2) I tried to do delimit (LIS9) on the old entry and then INS of the new, didn't work.

3) the update I do is of the following (in the order mentioned): 0001, 0002, 0006, 0016, 0007, 9008, 0014, 9040, 0105, 4000, 0035, 0022, 4003.

4) Why PA30? does it effect my B tclas? I do make sure that all the necessary fields that the PB30 uses.

Kind regards,

Roei

Share
10 |10000 characters needed characters left characters exceeded