cancel
Showing results for 
Search instead for 
Did you mean: 

Update BSEG table for PERNR

Former Member
0 Kudos

Hi,

How to update PERNR Field BSEG Table?

My scenario is to update the (Personnel Number ) PERNR Field in FB50 Transaction.

I get the following fields details from a third party system

Document Information

o I_BUKRS (Company Code) u2013 example: 0010

o I_BELNR (Document Number) u2013 example: 1700006041

o I_GJAHR (Fiscal Year) u2013 example: 2008

u2022 Final Approver ID

o I_PERNR (Personnel No.) u2013 example U0050049

For all line items of the document (represented by the key (I_BUKRS, I_BELNR, I_GJAHR)) need to update the BSEG-PERNR field in FB50.

Please let me know if you have any ideas like BAPI's or any alternative.

Thanks & Regards,

Satya

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Can you please let me know the answer. I'm still facing the issue to update the Bseg table

Former Member
0 Kudos

Hi,

Get all the line item records from the table bseg, then use the modify statement for all the records you got with transporting for which items you want to change the pernr.

Former Member
0 Kudos

>

> Hi,

>

> Get all the line item records from the table bseg, then use the modify statement for all the records you got with transporting for which items you want to change the pernr.

This is a very bad idea that can lead to data inconsistency. Don't do it.

Rob

former_member181962
Active Contributor
0 Kudos

Try using the bapi BAPI_ACC_GL_POSTING_POST

Regards,

Ravi

Former Member
0 Kudos

Hi

Try to use below the FM's

FMUDBSEGH_UPDATE

FMUDBSEG_UPDATE

G_BKPF_BSEG_UPDATE

before to that you need to read data from FM READ_BSEG. then update.

hope it helps you

Thanks!

Edited by: Prasanth Maddela on Apr 21, 2009 6:26 PM