Webservice IDOC field descriptions
Hi All
I define a webservice using a idoc as the interface, but the descriptions of the fields is not generated in the wsdl file. Even if I import the wsdl file into PI the descriptions is not there. Is there a way to get the descriptions of the field in the wsdl file?
Regards
Hi,
Use this code:
data: it_dfies TYPE STANDARD TABLE OF dfies.
CALL FUNCTION 'CY_GET_FIELD'
EXPORTING
field = "fieldname
langu = sy-langu
tabname = "tablename
TABLES
fieldtab = it_dfies
EXCEPTIONS
internal_error = 1
no_texts_found = 2
table_has_no_fields = 3
table_not_activ = 4
OTHERS = 5.
it_dfies will contain all information about field fieldname from table tablename.
Regards,
Marcin
Similar Messages
-
Display Long field Description in 2 lines in Header when using REUSE_ALV_HI
Hi,
I am using REUSE_ALV_HIERSEQ_LIST_DISPLAY .
I need to have 2 lines in the header to display long field descriptions like
Ex Shipment Notification Idoc or Billing Document Cancel should appear as
Shipment Notification Billing Document
Idoc Cancel
Is there a way of doing this when calling the above ALV function?
Thanks
PrashantHi Prashanta ,
We can give headers in ALV using short/medium/long text.
And this comes in one line. You can use short/medium text, if possible.
Hence , having 2 lines in the header to display long field descriptions is not possible.
Hope this helps you. -
Field Descriptions without TOP OF PAGE
Hi Experts,
I have one Z report and this was written somebody long back.
This report was normal standard report i.e just writing the table values to screen using WRITE statement.
Eventhogh there is no TOP OF PAGE event in the report, field names were displaying in the screen output with highlighted color.
As soon as WITE statement calling, program is displaying fieldnames automatically? how it possible?
Now, I modified my program by adding another field values to the screen output.
The field which I added it's not showing field name.
How can I display my field description to that output. (without adding TOP OF PAGE)
As I told you report doesn't have TOP OF PAGE event. Please help me.
Thanks
RaghuRaghu,
I'm guessing that your report is organized in a tabular form and by field description you mean column headings. There are two ways to display column headings 1) by explicitely writing the WRITE statements to output to the column headings, 2) by maintaining the standard list & column headings. (in ABAP editor follow menu path GOTO>Text Elements>List Headings.
You can disable the display of standard headings by using addition in NO STANDARD PAGE HEADING as below.
REPORT YTEST NO STANDARD PAGE HEADING
LINE-SIZE 120
LINE-COUNT 65
MESSAGE ZMSG.
Regards,
Gajendra -
English Version for field description in CO reports
Hi,
I am using a standard SAP report from CO -> example : S_ALR_87013599. However, when logon in English version, the fields description are not in English. Some other reports do not have this problem. When I logon in Chinese language, it is ok. The description will be in chinese.
Please advise how do I change the fields to English decriptions. And will it affect the chinese language after the change ?
Thanks.
Angel.Hi,
Try imporitng the reports when you are log-on in English via OKD3 transaction. This should solve the problem...
Also check your GCRS (transaction) definitions
Regards,
Eli -
Change the field description in the query report
Dear All,
I have created a querry using SQVI,It is working fine Now i want to change the field description in the querry report,Please suggest on this.Hi,
follow below steps
SQVI -> Enter Report name -> Change -> click on layout mode - > Expand tables - > double click on filed names - >
coming right side you are able see list of output fields .
Just double click on the field then going to the editable mode Description.
Thanks
Balakrishna -
Multiple lines for field description in ALV
Hi ,
Is there any way to display the field description in multiple lines in ALV grid .
Regards,
PradiptaHi pradipta,
1. No its not possible.
2. At the most, we can set the WIDTH of the
column, to ACCOMODATE the field description.
3. We cannot do WRAP as u require.
regards,
amit m. -
Regarding field description in report
HI,
I had made a report in which i am displaying the changes made to a material in a purticular month.
it is working fine but 1 field i am looking for is d description which is similar to MM04 tcode when we execute there is field called field description and i want to display it my report also.plzz help me out as it is really urgent to me..
here is d code:-
REPORT ZNEW01 no standard page heading LINE-SIZE 310.
TABLES: cdhdr,cdpos.
DATA : BEGIN OF itab OCCURS 0,
objectclas LIKE cdhdr-objectclas,
objectid LIKE cdhdr-objectid,
username LIKE cdhdr-username,
udate LIKE cdhdr-udate,
utime LIKE cdhdr-utime,
tcode LIKE cdhdr-tcode,
change_ind LIKE cdhdr-change_ind,
changenr LIKE cdhdr-changenr,
END OF itab.
DATA: BEGIN OF itab1 OCCURS 0,
OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
objectid LIKE cdpos-objectid,
changenr LIKE cdpos-changenr,
fname LIKE cdpos-fname,
chngind LIKE cdpos-chngind,
value_new LIKE cdpos-value_new,
value_old LIKE cdpos-value_old,
TABKEY LIKE CDPOS-TABKEY,
END OF itab1.
DATA : BEGIN OF it_final OCCURS 0,
objectclas LIKE cdhdr-objectclas,
objectid LIKE cdhdr-objectid,
username LIKE cdhdr-username,
udate LIKE cdhdr-udate,
utime LIKE cdhdr-utime,
tcode LIKE cdhdr-tcode,
change_ind LIKE cdhdr-change_ind,
changenr LIKE cdhdr-changenr,
fname LIKE cdpos-fname,
chngind LIKE cdpos-chngind,
value_new LIKE cdpos-value_new,
value_old LIKE cdpos-value_old,
TABKEY LIKE CDPOS-TABKEY,
end of it_final.
select-options : m_date for cdhdr-udate.
SELECT objectclas objectid username udate utime tcode change_ind changenr
FROM cdhdr
INTO TABLE itab WHERE objectclas = 'MATERIAL' AND
change_ind = 'U' AND
udate IN m_date.
IF NOT itab[] IS INITIAL.
SELECT objectclas objectid changenr fname chngind value_new value_old TABKEY
FROM cdpos
INTO TABLE itab1
FOR ALL ENTRIES IN itab
WHERE changenr = itab-changenr and chngind = itab-change_ind.
ENDIF.
LOOP AT itab1.
READ TABLE itab WITH KEY changenr = itab1-changenr.
it_final-objectid = itab-objectid.
it_final-username = itab-username.
it_final-udate = itab-udate.
it_final-utime = itab-utime.
it_final-tcode = itab-tcode.
it_final-fname = itab1-fname.
it_final-chngind = itab1-chngind.
it_final-value_old = itab1-value_old.
it_final-value_new = itab1-value_new.
it_final-TABKEY = itab1-TABKEY.
APPEND it_final.
CLEAR it_final.
ENDLOOP.
uline.
write: / 'ITEMID C.PERSON C.DATE C.TIME TCODE OLD VALUE NEW VALUE ORG.UNIT'.
uline.
loop at it_final.
write : / it_final-objectid11(11),12 it_final-username,22 it_final-udate,35 it_final-utime,45 it_final-tcode,55 it_final-value_old,94 it_final-value_new,139 it_final-tabkey21(5).
endloop.
Edited by: ric .s on Feb 21, 2008 11:48 AM
Edited by: ric .s on Feb 21, 2008 12:33 PM
Edited by: Alvaro Tejada Galindo on Feb 21, 2008 3:24 PMCASE ausg-tabname.
WHEN 'DPROW'.
MOVE indtext TO ls_alv_display_position-action.
CLEAR lv_orgunit.
CONCATENATE text-029 space ausg-tabkey(4)
INTO lv_orgunit RESPECTING BLANKS.
MOVE lv_orgunit TO ls_alv_display_position-orgunit.
MOVE text-027 TO ls_alv_display_position-description.
IF indtext NE text-013.
MOVE priod TO ls_alv_display_position-newvalue.
ELSE.
MOVE priod TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN 'DGESV'.
MOVE indtext TO ls_alv_display_position-action.
CLEAR lv_orgunit.
CONCATENATE text-029 space ausg-tabkey(4)
INTO lv_orgunit RESPECTING BLANKS.
MOVE lv_orgunit TO ls_alv_display_position-orgunit.
MOVE text-030 TO ls_alv_display_position-description.
IF indtext NE text-013.
MOVE priod TO ls_alv_display_position-newvalue.
ELSE.
MOVE priod TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN 'DUNGV'.
MOVE indtext TO ls_alv_display_position-action.
CLEAR lv_orgunit.
CONCATENATE text-029 space ausg-tabkey(4)
INTO lv_orgunit RESPECTING BLANKS.
MOVE lv_orgunit TO ls_alv_display_position-orgunit.
MOVE text-031 TO ls_alv_display_position-description.
IF indtext NE text-013.
MOVE priod TO ls_alv_display_position-newvalue.
ELSE.
MOVE priod TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN 'DMKAL'.
MOVE indtext TO ls_alv_display_position-action.
CLEAR lv_orgunit.
CONCATENATE text-029 space ausg-tabkey(4) space
text-050 space ausg-tabkey+4(4)
INTO lv_orgunit RESPECTING BLANKS.
MOVE lv_orgunit TO ls_alv_display_position-orgunit.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN 'DMAKT'.
MOVE indtext TO ls_alv_display_position-action.
MOVE text-025 TO ls_alv_display_position-description.
MOVE <key> TO ls_alv_display_position-additional_info.
IF indtext NE text-013.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
ENDIF.
WHEN 'DMARM'.
MOVE indtext TO ls_alv_display_position-action.
MOVE text-026 TO ls_alv_display_position-description.
IF indtext NE text-013.
MOVE <key> TO ls_alv_display_position-newvalue.
ELSE.
MOVE <key> TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN 'DMEAN'.
MOVE indtext TO ls_alv_display_position-action.
MOVE text-051 TO ls_alv_display_position-description.
IF indtext NE text-013.
MOVE <key> TO ls_alv_display_position-newvalue.
ELSE.
MOVE <key> TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN 'DMAEX'.
MOVE indtext TO ls_alv_display_position-action.
MOVE text-068 TO ls_alv_display_position-description.
IF indtext NE text-013.
MOVE <key> TO ls_alv_display_position-newvalue.
ELSE.
MOVE <key> TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN 'DMAPE'. "ch zu 30e
MOVE indtext TO ls_alv_display_position-action.
MOVE text-067 TO ls_alv_display_position-description.
IF indtext NE text-013.
MOVE <key> TO ls_alv_display_position-newvalue.
ELSE.
MOVE <key> TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN 'DMLAN'.
MOVE indtext TO ls_alv_display_position-action.
MOVE text-052 TO ls_alv_display_position-description.
IF indtext NE text-013.
MOVE <key> TO ls_alv_display_position-newvalue.
ELSE.
MOVE <key> TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
WHEN OTHERS.
MOVE indtext TO ls_alv_display_position-action.
CASE ausg-tabname.
WHEN 'MARA'.
MOVE text-055 TO
ls_alv_display_position-description.
WHEN 'MARC'.
MOVE text-056 TO
ls_alv_display_position-description.
WHEN 'MARD'.
MOVE text-057 TO
ls_alv_display_position-description.
WHEN 'MLGN'.
MOVE text-058 TO
ls_alv_display_position-description.
WHEN 'MLGT'.
MOVE text-059 TO
ls_alv_display_position-description.
WHEN 'MBEW'.
MOVE text-064 TO
ls_alv_display_position-description.
WHEN 'MVKE'.
MOVE text-063 TO
ls_alv_display_position-description.
include /nfm/m03a1. "/NFM/
WHEN 'MPOP'.
MOVE text-065 TO
ls_alv_display_position-description.
WHEN OTHERS.
MOVE ausg-tabname TO
ls_alv_display_position-description.
ENDCASE.
include /nfm/m03a3. "/NFM/
if ausg-tabname(6) ne '/NFM/T'. "/NFM/
write: 55 <key>. "/NFM/
endif. "/NFM/
IF indtext NE text-013.
MOVE <key> TO ls_alv_display_position-newvalue.
ELSE.
MOVE <key> TO ls_alv_display_position-oldvalue.
ENDIF.
APPEND ls_alv_display_position TO
lt_alv_display_position.
CLEAR ls_alv_display_position.
ENDCASE. -
Field description in selection screen
Hello,
Please help me by answering a silly question: what settings have to be done so that in the selection screen for a report the field description to appear instead of the technical field name?
Regards,
IleanaIf it is for a report (a custom developed one i.e. starting with Y* or Z*), the ABAP developer needs to do the setting.
(S)he needs to make the changes in SE38. Once in the ABAP Editor, Go To --> Text Elements --> Selection Texts and maintain the texts (and Activate).
If it is for SE16 (Table Display), then the reply by SAP Enjoy is correct.
If it is for a LIS (or any Information System) report, then the reply by PSantosh is correct.
Hope this helps,
Lakshman -
Hi All,
We are developing a custom application where we need to pull the field description e.g. ACTVT = Activity, BERGRU = Authorization group etc. I need to know how to link the technical name of the field to its description and get the output in a report (e.g as in report USR030 where the field description appears). Any pointers?
Many thanks
VijayaSorry, I misread your question.
This is indeed a bit trickier because it depends of the field type of the authorization field. You can find this in table AUTHX, but as there are many you cannot reasonably do any download or joining of tables, but would need to do it programmatically.
See this thread for your options: Authorisation Field Texts - Where are they defined?
There is an easy way and a hard way
Cheers,
Julius -
Are idoc fields case sensitive?
Hello, there has been an error during idoc processing. The trading partner field was filled in lowercase and this is bringing me error Message no. FB279 ' Company dp0017 is not defined'. The other idocs had DP0017 filled in and were processed fine.
Any input on this? thx.
Edited by: Antish Awootar on Jun 7, 2011 8:02 AMHi Antish,
It actually depends on the value that is stored in the IDOC, if the IDOC has company code in lower case then that is exactly how it will be used in the program for all purpose and no automatic conversion is applied. The below message is thrown in the FM - FI_COMPANY_CHECK This FM will look up the table T880 - If you check the entry in this table will be DP0017 and not dp0017. Hence it is throwing the error message.
If your question is it works fine when i try in SE37 with the FM "FI_COMPANY_CHECK" or if i input "dp0017" in WE19 or in SE11 against T880, then the reason for that is a conversion is applied automatically and it is changed to DP0017.
To answer your question "Are idoc fields case sensitive?", it depends on the context, does it retain the case when it is filled in, yes it does.
Regards,
Chen
Edited by: Chen K V on Jun 7, 2011 4:10 PM -
Hi everybody!
I want to map the value of a source field through a <b>FixValues</b> function to the target field. Unfortunately this is an IDoc field which sometimes doesn't even exist (i. e. it's not just empty - it's not even there). In this case the <b>FixValues</b> function suppresses the output, and there is <i>no</i> output - not even the <i>default</i> value of <b>FixValues</b>. However, the requirement is that I always have to generate a default output - even if the input field is empty/missing.
Ony ideas how this could be done?
Regards, JoergHi Himadri!
Thanks for the quick response! I tried to create such a que. However, it doesn't remove the SUPPRESS from the queue. Here's the code:
// Two input params: src[] and def[]
// src contains the input queue (with SUPPRESS values)
// dst contains (hopefully) only one value - the default value
int n=src.length;
result.clear();
if (n==0) {
result.addValue(def[0]);
else {
for (int i=0; i<n; i++) {
if (src<i>.equals(ResultList.SUPPRESS)) {
result.addValue(def[0]);
else {
result.addValue(src<i>);
What am I doing wrong?
Regards, Joerg -
How to map Idoc fields with external file
Hi All,
How to map Idoc fields with external file.
I want to check the settings where Idoc fields are mapped with external file.
Thanks in advance.
Regards,
Govind.If you have configured a fileport where on trigger of IDOC you are creating the file, you can look at the message type documentation and get the offset values for each field in each segment
-
Field descriptions not showing in page layout
I have custom content types with custom fields. The field types vary - text, image, user and so forth. I am building an intranet so this is a publishing site with workflow and I am using custom page layouts with a custom master page.
The issue I have is that the field controls, whilst all having descriptions, rarely show the description in the custom page layout. They are all shown correctly in EditForm.aspx so I know that they are there. However when editing a page using a custom page
layout it seems that only UserField types show the description. Below is an extract from a page layout:
<SharePointWebControls:UserField FieldName="ContentOwner" runat="server"></SharePointWebControls:UserField>
<SharePointWebControls:TextField FieldName="ContentOwnerRemark" runat="server"></SharePointWebControls:TextField>
The first field ContentOwner shows the field description. The second does not. I have tried deleting and re-adding, making fields mandatory and optional, but to no avail. If it's not a UserField it doesn't show the description.Showing names of Site Columns on a Page Layout
Thanks. That allows me to do this:
<SharePointWebControls:FieldProperty FieldName="ContentOwnerRemark" PropertyName="Description" runat="server" />
However the original question is why is it that the OOTB control only displays the description for UserField and not for other types of field in a custom page layout, whereas it shows all descriptions in EditForm.aspx. I could do what you have suggested but
it's a lot of work as I have many fields and custom page layouts, and it seems to me that having the OOTB field control on the page should display the description for all field types not just user field types. -
To Handle Special Characters(Guideu0099 ) in MATMAS IDOC fields
Need to handle special characters like Guide, as an attached superscript in MATMAS02/05 IDOC field . The field name is TDLINE in E1MTXLM segment.
As a trial run when these special characters are pasted in the TDLINE field, it throws an error that "the input field contains prohibited characters"
Please let me know if there is any workaround for this.hi
good
go through these links, i hope these ll help you to solve your problem.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFADMLO/CAGTFADMLO.pdf
http://www.erphome.net/wdb/upload/forum14_f_2908.doc
thanks
mrutyun^ -
Need to change Field Description
Hi Experts,
After did AFS implementation some fields are added in the COOIS transaction. some of those fields three fields description are showing technical name.. anyone kindly advice to resolve it.
) In T-code COOIS
the technical name S_COMB,S_GRID,S_CATG is coming while searching in Structure
J_3ACOMORD - Combined order number
J_3ASIZE- Grid Value
J_4KSCAT - Stock category
Here i need to change S_COMB as Combined Order Number..Hello
You must implement the changes described on the following note:
1661762 - Translation texts missing on Production Order Info. System
Since there are only manual changes, I'm pasting here for your convenience:
1. Execute transaction SE38
2. Enter "PPIO_ENTRY" in the "Program" field
3. Select the radio button "Text elements" and click on change button
4. Select the tab "Text symbols" and press the "Last Page" button (Ctrl+Page down)
5. Enter the following information
Sym
Text
mLen
ADD
Display AFS Additional Data
27
AFS
Selection for AFS
17
CLC
Collection
10
SEA
Season
6
THM
Theme
5
6. Select the tab "Selection Texts" and add the missing Texts for the following field names
Name
Text
P_AFSSEL
Display AFS Additional Data
P_COLLN
Collection
P_SEASN
Season
P_THEME
Theme
S_CATG
Stock Category
S_COMB
Combined Order Number
S_GRID
Grid Value
7. Save and activate
BR
Caetano
Maybe you are looking for
-
Support for Multiple Multi-Touch Screens
hello, I have written some code that implements the multi-touch and it has been working fine with just one multi-touch screen. However, someone using my program with 2 multi-touch screens hooked up is getting no input from the second device. I did
-
I'm ready to begin the training for two of my recent customers. I notice that the customer training videos are old and fuzzy and have the old old BC admin interface. Are there other resources you can point me to? These current videos would be confus
-
Not showing recent movie i rent today but older rentals is.
i recently rented a movie, it downloaded fine and i see it on my computer but it not showing up in the apple tv rentals!
-
How to create a podcast?
I'm so very confused--I've Googled and read the docs, but I can't find a solution for what I'm trying to do, which I imagine is pretty basic. I'm clearly misunderstanding something. I have a program written that goes to my organization's website and
-
ST22 timeout for all LC related transactions LIVE cache start stop working from LC10
Hi Team we are a getting a ST22 timeout for all LC related transactions LIVE cache start stop working from LC10 LC version 7.9 OS AIX SAP SCM 7 SDBVERIFY giving the following error Checking package Redist Python Checking package Loader Checking pac