04-22-2014 1:36 PM
Hi all,
am using the STATUS_TEXT_EDIT FM to get the user_status but it is not cmg.
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
CLIENT = SY-MANDT
* FLG_USER_STAT = ' '
objnr = LV_OBJNR
ONLY_ACTIVE = 'X'
spras = sy-langu
* BYPASS_BUFFER = ' '
IMPORTING
* ANW_STAT_EXISTING = astex
* E_STSMA = LV_STSMA
* LINE = LV_STATUS1
USER_LINE = LV_STATUS
* STONR =
EXCEPTIONS
OBJECT_NOT_FOUND = 1
.
The code is shown above. I want the value of lv_status.
Regards,
Souparnika
04-23-2014 3:37 AM
Hello Souparnika Devi.
Which user status are your trying to fetch?
How did you fetch lv_objnr value?
Regards.
04-22-2014 2:30 PM
04-22-2014 2:34 PM
04-23-2014 3:37 AM
Hello Souparnika Devi.
Which user status are your trying to fetch?
How did you fetch lv_objnr value?
Regards.
04-23-2014 5:25 AM
Hi Arun,
am supposed to bring a pop up in cj20n t-code so for tht i need to read the user status value. wic ever user status user is selecting it can be fetched with the help of this FM. lv_objnr m fetchng it frm proj table. M able to gt tht stsma and line value also. problem is with the user_line only.
Regards,
Souparnika
04-23-2014 6:31 AM
Souparnika Devi,
You can use BAPI_BUS2001_GET_STATUS to get the user status.
Regards.
04-23-2014 7:15 AM
04-23-2014 7:35 AM
04-23-2014 7:56 AM
I mean what field i have pass to this in order to get the PSPID value.
04-23-2014 9:30 AM
You have to pass the project number. For example, we follow a specific convention like I5/9999.
It differs between implementations.
What input you give in CJ20N?
04-23-2014 9:38 AM
in my case m selecting the proj defn nly in cj20n nd m chngng the user status.
04-23-2014 9:47 AM
In CJ20n, if you press F1 on Project Def field, it will show the technical information of that field (PROJ-pspid).
You just pass PROJ-pspid to BAPI parameter PROJECT_DEFINITION.
04-25-2014 4:47 AM
What input you are giving in CJ20N tcode?
Can you paste the screenshot?
04-25-2014 5:16 AM
Hi Arun,
Thanks for the response. BAPI wic u suggested is working fine.
Regards,
Souparnika