2010 Sep 08 11:29 AM
HI all,
I'm getting a little problems, i need to get a business Object Key from a busobj type (example bus1065), or possibly the table where that info is remained and used on swo1.
thks
2010 Sep 08 11:47 AM
Hi,
Use function module "SWO_QUERY_KEYFIELDS" to get the key fiels of Business Object. Pass Business Object ID as the input parameter. Key field information will be available in output structure INFO.
Regards
Vinod
Hi,
Use function module "SWO_QUERY_KEYFIELDS" to get the key fiels of Business Object. Pass Business Object ID as the input parameter. Key field information will be available in output structure INFO.
Regards
Vinod
2010 Sep 08 11:47 AM
Hi,
Use function module "SWO_QUERY_KEYFIELDS" to get the key fiels of Business Object. Pass Business Object ID as the input parameter. Key field information will be available in output structure INFO.
Regards
Vinod
2010 Sep 08 12:17 PM
Hi Vino, thks for your answer, i already had found that FM, but it only worked with some BO... with bus1065 it returns nothing..
2010 Sep 08 12:28 PM
Hi,
I checked the FM for Business object BUS1065. It returned one record in structure INFO, Which is similar to the properties mentioned in SWO1.
Key field : NUMBER
Editelem : Number
Reference Struture : PAKEY
Reference field : PERNRRegards
Vinod
2010 Sep 08 11:57 AM
Check
SWW_CONTOB, SWW_CONT - Workflow table for BO
TOJTB - Master data table for BO
2010 Sep 08 11:59 AM
Hi ,
Go to trnasction SWO1>BUS1065>Display and Expand Key fields
-->and double click on the Employee abstract number
see ref table:-PAKEY
see ref field :-PERNR
Search Help :-PREM
it is available in structure SWCONTEDIT
regards,
Prabhudas
2010 Sep 08 2:41 PM
2010 Sep 08 2:42 PM
thks Vino,
is there a way to create a screen based on the structure returned from that ?
2010 Sep 09 5:06 AM
Hi,
Use Function module SWU_OBJ_KEY_GET to create a Popup Screen based on the Key fields of Business Object.
Regards
Vinod
2010 Sep 09 9:11 AM
hi vinod,
You read my mind, i'm already using that function, and i also found SWO_DIALOG_OBJECT_KEY_EDIT thats also good in some needs...
thks
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |