How to get status codes of field?
For every document type or status field which we can see on front end, there is code which is finally stored in table.
e:g: Go to transaction /nme53n
Select any purchase req.
Select status tab from item.
See processing status field.
These processing status saves as N,B, etc in table.
I know there is way to see these codes followed by full description on front end screen itself. I think using personal settings, but dont know how to set this. Please let me know how to see status codes + description on front end.
You gui status should be implemented in the main screen which the subscreen resides, all function codes should be handled at that level. I believe you will need to set the F2 funciton code in your gui status, set the function code to PICK and then handle this function code in your PAI user command module. Should work.
subscreen cannothave their own pf-status.....so create a pf-status for a screen in which ur subscreen is called...include 'pick' or f2 as onre of the functions code for the choose option.
to differentiate the field u have to use get cursor field fldname.
if it is a table control field u have to use
get cursor field <fldaname> line <n> value <fval>
Similar Messages
-
CRM document - how to get status duration?
Dear all,
I extract data CRM -> BI using standard datasources: 0CRM_SRV_PROCESS_H, 0CRM_COMPLAINTS_I, etc
I need build a report with status duration of documents
For example, if document was processed 4 days in statuses OPEN > IN PROCESS > VALIDATION > CLOSED report should be following:
OPEN - 1 day
IN PROCESS - 2 days
VALIDATION - 1 day
Each CRM datasource has start date and last change date of the document
But there is no fields which stores date or duration of intermediate status change
Could you please give an advice - how to get status duration?
Thanks in advanceHi Oleg,
Please check whether following standard datasources could meet your requirements:
0CRM_TSS_DTRACK CRM Tracking of Document Processing Lifecycles
0CRM_TSS_PKYF Timestamp Service: Performance Key Figures
You can find the documents in transaction code SBIW, through IMG path
Settings for Application-Specific DataSources (CRM)
-> Settings for Extracting CRM Objects
-> Define Extraction to Track the Document Processing Life Cycle
-> Define Performance Key Figures for Time Stamp Service Analysis
Best Regards,
York -
How to get POF object's field value from query result
hi,all:
I want to get field value from the query result, my code is below
Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
for (Iterator iter = setResults.iterator(); iter.hasNext(); )
Contact c=(Contact)iter.next();
System.out.println ("firstame####=" + c.getFirstName());
* but I get error*
Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
at com.oracle.handson.QueryExample.query(QueryExample.java:86)
at com.oracle.handson.QueryExample.main(QueryExample.java:43)
who can tell me how to get POF object's field value from query resultHi,
If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
for (Iterator iter = setResults.iterator(); iter.hasNext(); )
Map.Entry entry = iter.next();
Contact c=(Contact)entry.getValue();
System.out.println ("firstame####=" + c.getFirstName());
}JK -
How to get function code of enter button in bdc manually
hi
i need to know how to get function code of enter button in bdc manually like in screen i want to capture techincal infor of enter buttion and itd fucntion cod ehow can i get it i mean what is the key in keyboard to display that
i want to capture enter button and for eg status button etc funtion code
pls suggest
aroraHi,
Want you need to do is go to transaction SHDB and record the bdc for the transaction you want, during transaction press the buttons for which you want the bdc code. And after this go press the back button and check the list of all the things recorded in Recorder.
And for SHDB help check this link:
http://abaplovers.blogspot.com/2008/02/recording-bdc-using-transaction-shdb.html
Hope this helps.
Regards,
Qamar. -
How to get the object class field value in CDHDR table for vendor
hi
how to get the object class field value in CDHDR table for vendorTry KRED/KRED_N as object class in CDHDR for Vendor.
-
How to get total of any field in sapscript?
Hello ,
i m making sapscript...
How to get total of any field in sapscript?Hi
Yes, you can define a variabe in your print program and pass it to the SAPScript.
LIKE:
Define L_SUM in the Global data.
DATA: L_SUM TYPE BSEG-DMBTR.
LOOP AT ITAB.
L_SUM = L_SUM + ITAB-AMOUNT.
ENDLOOP.
CALL FUNCTION 'WRITE_FORM'
WINDOW = 'MAIN'
ELEMENT = 'TOTAL'.
Now, in your SAPScript, create a text element in MAIN window
/E TOTAL
Total,, &L_SUM&.
Go through below link
http://sap-img.com/sapscripts/sapscript-how-to-calculate-totals-and-subtotals.htm
Regards,
Chandru -
Extended Idoc FIDCCP02 - getting status code 02
Hello Friends,
I am extending Idoc FIDCCP02 with an custom segment. I have followed this steps
Created Segment - Created Extended Idoc with Custom Segment created - Released both Segment and Idoc - Attached Idoc to FIDDC2 message type - Added message type to model view - maitained partner Profiles with extended idoc - created port type 'G' - Added necessary code in user exit (I am able to view data in my custom segment)
The Problem is - If I do not maintain Extended Idoc in partner profiles - I get Idoc XML created in external system with status code 03
But once I add extended idoc to the partner profiles - I get Status Code 02 with error saying Error in passing data to HTTP Port 500 internal Server error
Kindly can some body help me if I am missing some steps.
Thanks for help.Dear Vasu,
I am creating Z message type, when I am creating that idoc (I have used XML Port) its initially comes in status 30 (IDoc ready for dispatch (ALE service)).
Now when I process this idoc with tcode WE19 then it give status 02 (Error passing data to port). Please suggest where i am doing mistake.
Your help will be appreciated.
Regards, Vicky M. Khambhati -
How to get status of transaction
Hi Gurus,
can anyone tell me how to get status of the transaction in crm.
regards,hi vijay,
what kind of transaction did you want to get the status ?
for order, complaint, activity, and task, you can used function modul 'CRM_ORDER_READ' for getting status of the document.
hopes it helps
cheers -
Hi Friends,
Can u please let me know how to get PPA Code from ZZ_PPA_C.
Please help me its urgent.
Regards,
Rajiv KaushalWhat do you mean?
The restriction code would be whatever you set it to be.
There is no restriction codeunless you set it. -
How to get cliam code on officejet 6600
how to get cliam code officejet 6600
Hi there, you need to enable web services from the printer display panel once the printer is connected to the internet (wireless or ethernet). The information page that prints out when you do this contains the printers ePrint code that serves as its email address.
Hope this answers your question but post back if you're still unsure of how to enable or use ePrint on your OJ 6600.
Best
If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
I am an HP employee. -
How to get select-options type fields in module programming
i need to get ranges type of fields ( like we use select-options in reports) in module prgrming..im only gettin single entry field (like we use in paramenters)...how to get it like this
field1 ___ to ___ ->
field2 ___ to ___ ->
Thanx,
Naveen VishalHi,
report zrich_0006 .
tables: mara.
Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
module status_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
endmodule.
*& Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
endmodule.
Create Screen 100 with a subscreen area called "subscreen_1010"
Screen Flow Logic follows
*process before output.
module status_0100.
call subscreen subscreen_1010 including sy-repid '1010'.
*process after input.
call subscreen subscreen_1010 .
module user_command_0100. -
How to get status profile (STSMA) in user exit ILOM0001
Hi ABAPers,
I am currently working on user exit ILOM0001 (Check before saving a functional location) and need to get information about status profile (STSMA). I have checked parameters that is imported into this user exit (DATA_IFLO, DATA_IFLO_OLD, DATA_IFLOS) and none of them have STSMA.
Could anybody help me how to get this field STSMA into user exit ILOM0001?
Appreciate it.
Thanks
Regards
HadiDear Kolla,
Really appreciate your answer, but
I don't want to generate or make settlement receiver.
I was building a script in user exit IW010009,
And the issue is I can not capture the content of field settlement receiver.
If we want to capture screen field, ex. equnr, we can use structure CAUFVD,
when i see the technical detail in this field, the structure for settlement is DKOBR, field EMPGE, but i cannot call it on debug.
Kindly need your help on this issue. -
How to get a List of fields in view
Hello,
There are views with a lot of fields from various context nodes in the view.
Is there any way to get a good list of the fields that are used in the view?
When I use show technical details of the fields in the the configuration tab I can get details of one field only
and I can't see the whole name of the field.
What I am searching is a list of all fields in a view. like in ecc6.
Thanks,
SaraHi,
Use get_form_fields to get the list of fields in a view.
DATA: lt_event_items TYPE tihttpnvp,
ls_event_items TYPE ihttpnvp.
CALL METHOD request->get_form_fields
CHANGING
fields = lt_event_items.
(code)
table lt_event_items will have list of fileds displayed in the view. The field names will be prefixed with component_id. For example,
c18_w56_v57_v58_condrecord_struct.org node => c18_w56_v57_v58 - component_id, condrecord - context node, struct.org_node - field name
Regards,
Arun -
How to get value in custom field(Part OF BOL) in search result view.
Hi All,
I am new to CRM WEBUI and i am facing issue in populating value in one field of search result view.
Current requirement is .
On product f4 , we get search help and search result view.
one custom field need to be added in search result view ( for eg any description field).
This description field is already available in one of z relation maintained in PRODUCT root object.
Solution tried so Far:
1. We enhance one Standard Product structure and add that description field .
2. Add new field( description) in result view context node as attribute by using bol attribute.
3. Customize search result view and display that description field in result.
By doing above three steps, field is available in search result view.
but issue is we are not able to get values.
1st Approach: write code in getter and setter method . Pass the relation name and get the property of description field
in setter method, set the property.
Issue : we were not able to sort the values on this description field. so scrap this 1st approach
2nd Approach: In Event EH_Onsearch Help, we try to use collection wrapper to get current value of description
by using relation name .
We use component controller to set the value of description since searchresult view-conext node->result node is bound to one comp controller node.
but this solution also does not work..
Please advice us what approach we should use to get value in description field and sorting should also work.
Thanks in Advance.Hi Girish,
1. We enhance one Standard Product structure and add that description field .
2. Add new field( description) in result view context node as attribute by using bol attribute.
3. Customize search result view and display that description field in result.
By doing above three steps, field is available in search result view.
but issue is we are not able to get values.
1st Approach: write code in getter and setter method . Pass the relation name and get the property of description field and by using this approach we are able to get value but sorting was not working so we disable the sorting as it was not required by business.
if u need sorting on that field.
then u should go for value node approach and write code for getting value in get set method
and for sorting also , need to write code.
This is my understanding on this .
Please reward if this solution is helpful -
How to get Transaction code for SAP standard report painter in FI
Hi All -
Please let me know, How to get the transaction code for Standard SAP report painter / report writer in FI module.
These report painters are created thru GR51...
Thanks,
KannanPlease refer to [Creating Transaction Code For Report Painter Reports|http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAgQFjAA&url=http%3A%2F%2Fdap-consulting.com%2Fyahoo_site_admin%2Fassets%2Fdocs%2FReport_Painter_Reports.47142031.pdf&ei=MiWYS5ilCYeOlAfn4pCGDQ&usg=AFQjCNEZ0YO6vJ97K24MbU_NI5ROTb5vJA&sig2=Ke-svnqddqrz8RMcTuEnaw].
Maybe you are looking for
-
Authorization issue in HR for TCode HRCLM0001
Dear All, Need some quick info on this, related to Authorizations in HR. Users currently have access to HR TCode HRCLM0001. This Transaction will lead to Program RPUCLM00. Upon execution, at the toolbar (path Goto > Entitlements and Claims Details),
-
Has there been a time set on when this configuration will be tested and supported? Carl J. Collin [email protected]
-
Download an image with JS?
I´m trying to download an image from an URL with Javascript using socket. My first problem was separating the header from the body. I do it by reading line by line and if the line starts with "\n" then it seams to be the body. A problem with this is
-
My notebook is set to update Firefox automatically which it did last night. Since the update, when i open the Firefox browser, it opens up several tabs after the home page. I am also unable to copy of the page, when i do try it opens up the very same
-
Error :The function upload is not possible for this documentu2019
Hi, The users are using Solution manager Help Desk system. When a specific user tries to create a message from the satellite system, and tries to upload a document, he is unable to do so. He is getting an error message : 'The function <upload> is no