2008 Dec 12 4:34 PM
HI experts,
I just want to know can we update standard database table using update statement?
i want to update some HR table with the data from flat file using update statement. please guide me.
Regards,
Murthy.
HI experts,
I just want to know can we update standard database table using update statement?
i want to update some HR table with the data from flat file using update statement. please guide me.
Regards,
Murthy.
2008 Dec 12 4:37 PM
it is possible but its not prefered..
its always a good practice to either go with a BDC of a tr. or use Tr so update the changes... or a BAPI which suits to the requirement..
2008 Dec 12 4:58 PM
dear jay,
iam in an implementation project. During datatransfer we have ran LSMW to transfer the data to standard database table. but the database table contains some username and date fields which are system fields..so those two fields are updated by username and date who runs LSMW and LSMW runned date. so i need to update those two fields by another flatfile of data by running some report.
please guide me.
2008 Dec 12 5:02 PM
2008 Dec 12 5:07 PM
i need to update aedtm and uname fields in table pa9008 from the flatfile.
2008 Dec 12 5:14 PM
Why not you are writing A BDC for PA30 with Infotype 9008?It will Update PA9008 automatically.
Either Use FM HR_MAINTAIN_MASTERDATA
ACTIO = 'MOD'"This is for changing the Master data.
2008 Dec 12 5:26 PM
can u explain in detail? like what r the parameters to be passed to the FM?
2008 Dec 12 5:38 PM
What Fields you have in your hand(File)?
This is the Importing parameter of FM:
PERNR 00001123
MASSN
ACTIO MOD
And this is the Proposed_Values from tables parameter:
Tables Value
PROPOSED_VALUES 1 Entry"here pass INFT = '9008'For More Assistance Check FM BAPI_PTMGRATTABS_MNGCHANGE line 220 in ECC.
2008 Dec 12 5:42 PM
2008 Dec 12 5:53 PM
FM BAPI_PTMGRATTABS_MNGCHANGE line 220 in ECC,Have an entire structure with Example.
2008 Dec 12 6:00 PM
Amit,
with that FM i can directly update the database table ? remember the data is large to update.
2008 Dec 12 6:28 PM
>
> Why not you are writing A BDC for PA30 with Infotype 9008?It will Update PA9008 automatically.
> Either Use FM HR_MAINTAIN_MASTERDATA
>
ACTIO = 'MOD'"This is for changing the Master data.
Amit - will this be able to update fields that are not changeable on the screen?
Rob
2008 Dec 13 11:48 AM
Dear amit,
i do have aedtm and uname fields to be modified for particular pernr. these 3 fiels will be taken from flat file. plz guide me with the example
Regards.
2009 Jul 13 1:28 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |