BDC to change header Text
hello friends,
need ur help.
I have made recording for changing header text
cForm name & cForm Ammout
but the fields are not recorded in recording.
is their any issue of sap script?
i get code from recording as follows.
perform open_group.
perform bdc_dynpro using 'SAPMV60A' '0101'.
perform bdc_field using 'BDC_CURSOR'
'VBRK-VBELN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'VBRK-VBELN'
'3100000384'.
perform bdc_dynpro using 'SAPMV60A' '0104'.
perform bdc_field using 'BDC_CURSOR'
'VBRK-FKART'.
perform bdc_field using 'BDC_OKCODE'
'=KFTE'.
perform bdc_dynpro using 'SAPMV60A' '6001'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 123 22'.
perform bdc_dynpro using 'SAPMV60A' '6001'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 123 22'.
perform bdc_dynpro using 'SAPMV60A' '6001'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform bdc_transaction using 'VF02'.
perform close_group.
please help me.
suggest answer.
To update text use the FM 'SAVE_TEXT'.
Similar Messages
-
How to change header text in MB02
Dear All,
We update qty of the stores acknowledgement in the MB02. However if the qty that was punched earlier has been found to be incorrect as is the scenario below:
GR: 166
Stores ack: 147
GR reversed: 166
Now we are not able to cancel the mat doc because of the diff in the stores ack.
When we go to change the stores ack in the MB02 header text the error thrown is: Qty is already updated for Mat doc.
Regards
ArpitaHi Arpita ,
Is it a Standard error ?. If yes provide the class and the error no.
In normal cases system does not take text into consideration while reversing a mat.doc unless a user exit is implemented.
Regards
Ramesh Ch -
Changing header text of column in ALV
Hello. I'm trying to change header of a column in WD ALV using this code:
lr_col = lo_value->if_salv_wd_column_settings~get_column( 'DESCRIPTION' ).
lr_header = lr_col->get_header( ).
lr_header->set_text( EXPORTING value = 'My perfect text' ).
But it doesn't work. Where was I wrong?Hi..
Add the following code after set_text
lr_header->set_prop_ddic_binding_field( ).
this will clear the binding of dataelement text with the column..
Ranganathan -
Change header text of currrency field in sap query
Hi,
I have a sap query , fetching data from VBAP, one of the feild fetched is VBAP-WAVWR(cost) , for this feild query automaticaaly fetched the currency field , which i can not see in basic list in Transaction SQ01.
I need to change the header text of this currency field which by default is 'CURR.'. TO 'COST CURR.'hello Kummr,
in sq01, you can always change the field text as you want , go to sq01 ->change-> basic list , on the right hand side box click the field of "Curr" and change.
rgds
Mu -
COPA report change Header text
Hi,
I am preparing COPA line item report. I am not able to change or add header text in the report as we do in report painter report.
The form I am using is KE94 Create and KE95 Chage.The report painter option extras-> Report Text -> header text is not available in KE95 forms.
Any Idea on how to do the changes in header text in this case.
RegdsHi Suchitra,
You can try it with KE32.
Regards, -
Hi,
Somebody has an example using IDOC's, about how change o modify the header text in PurchaseOrder?
Thanks in advance.
Regards.
Marisol.Thanks,
I found that in .xsd, It doesn't show the Dimension name , however it clears out the headers. Whatever I put in header cells from back end by modifying the xls,
<xsd:complexType name="RowAxisLayout">
<xsd:complexContent>
<xsd:extension base="AxisLayout">
<xsd:attribute name="columnOffset" type="xsd:int" use="required" />
<xsd:attribute name="showDimensionName" type="xsd:boolean" use="optional" default="true" />
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>Regards,
Sumant -
Bdc for sales header text va01
we need to write a bdc program for va01. In that we need to
upload header text also .
So please kindly tell me how to upload flat file to va01 along with
header text.And how we need to declare the flat file.
if it is not possible through bdc then tell me how to do with bapi.
thank you so much for all the repliesRecord the transaction properly for header text along with other fields properly, it will generate the code for you when you save the recording and create the Program using the Recording.
if not You can go with the BAPI,
BAPI : BAPI_SALESORDER_CREATEFROMDAT2
Table parameter ORDER_TEXT is used for the creation of the text.
Read the documentation of the BAPI. -
How to change heading text for parameter field of type date
Hi,
After creating a parameter field with the type " Date Time" when I open the report for entering the parameter then it displays the given parameter with the following text:
" Please enter Date in format "yyyy-mm-dd". "
I want to change it to some other text like as:
" You have to enter the date and time in format yyyy-mm-dd . "
Is there any way by which I can change this given header to some other text.
Let me know if anyone needs some more information in this regard so as to solve my given query soon.Hi Garrett,
Well first of all I can change only the prompt text that is user defined. I cannot change any parameter as of now whose type is let suppose Date. Since in this case the Business Object itself shows the text which is something like this " Please enter Date in format "yyyy-mm-dd". " .
Here I want to change this given text to some other format like " You have to enter the date in the format yyyy-mm-dd" or in any other manner.
Also the current Crystal Report version which I am using is 11.0.0.1282. -
Changing Header Text in Planning Sheet
Hi,
As of now we see Dimension name/Attribute and Cube name above Measures as column header in planning sheet.
Like changing column Header for Measures as 'Measures' rather than cube name.
I see user guide has some pictures on page 71, which has header as 'Measures'
I couldn't find any way to just hard code the value of header displayed.
is it possible to change column header?
Thanks,
SumantThanks,
I found that in .xsd, It doesn't show the Dimension name , however it clears out the headers. Whatever I put in header cells from back end by modifying the xls,
<xsd:complexType name="RowAxisLayout">
<xsd:complexContent>
<xsd:extension base="AxisLayout">
<xsd:attribute name="columnOffset" type="xsd:int" use="required" />
<xsd:attribute name="showDimensionName" type="xsd:boolean" use="optional" default="true" />
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>Regards,
Sumant -
Changing header text in each copy while form Printing
Hi all,
I have modified the ARE1 script form. The requirement is , the form is printed with 6 copies by default.
If the number of copies of sap script is 6, then in first copy it should print ORIGINAL in the sap script. When the second copy is getting printed, it should print DUPLICATE in the sap script. When it is third copy to be printed, it should print TRIPLICATE in the sap script-------in the sixth copy as SIXTUPLICATE.Hi Subbu,
Please try to use the pagenumber in smartform for this . If the SFSY-PAGES is two hardcode the text like DUPLICATE,if three TRIPLICATE.
Please do the hardcode at end of page only...
Regards,
Srinivas. -
Changing header title of column at runtime
Hi
I want to change the column header in an ALV table at runtime. I know how to overwrite a DDIC binding text of the column header with my own static text but I also want to know how to modify this column header text dynamically. I have a separate attribute in my context node to serve as the column header, which I can keep modifying at runtime, but the problem is to bind this attribute to the header of the column.
Thanks and regards
SukanyaHi Sukanya,
Refer to code given by Thomas in this thread: change ALV column Header
Also refer these threads: Webdynpro ALV title
Re: Change Header Text for a ALV table column
I hope it helps.
Regards
Arjun
Edited by: Arjun Thakur on Mar 26, 2009 4:41 PM -
Is there any bapi/Function module to change only header text in fb02
Hi ,
I want to change only header text in FB02 .the header text will come from a internal table.My Requirement is
1. open a document in FB02
2.change the header text of the document.
Right now i'm doing this through an BDC.but i'm looking for a BAPI /FM.
I Tried bapi_acc_gl_posting_post, fI_document_change..
is there any BAPI/FM for this???
Thanks,
ChallaYou can use SAVE_TEXT FM
Thanks
Seshu -
Bdc for sales order header text
we need to write a bdc program for va01. In that we need to
upload header text also .
So please kindly tell me how to upload flat file to va01 along with
header text.And how we need to declare the flat file.
if it is not possible through bdc then tell me how to do with bapi.
thank you so much for all the repliesHi,
Using BDC, You can not uplaod sales order header text. You can upload the header text using FM
CREATE_TEXT.
Here giving sample code. This code is written for Material master text. You change this code according to your requirement
REPORT ZMM_INSERT_LONGTEXT.
*Internal table to hold long text...
DATA:
BEGIN OF T_UPLOAD OCCURS 0,
MATNR LIKE MARA-MATNR, " Material number
ID(2) TYPE C, " Identification
LTEXT LIKE TLINE-TDLINE, " Long text
END OF T_UPLOAD,*Internal table to hold long text....
T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
W_GRUN LIKE THEAD-TDID , " To hold id
W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
" To hold object id
LV_VALUE(70). " Value to hold material number
START-OF-SELECTION.* This perform is used to upload the file
PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
PERFORM PLACE_LONGTEXT.
*& Form create_text
* This routine used to create text in MM02 transaction
* Passed the parameter w_grun to P_C_GRUN
* and lv_value to P_LV_VALUE
FORM CREATE_TEXT USING P_C_GRUN
P_LV_VALUE. DATA:
L_ID LIKE THEAD-TDID,
L_NAME(70). MOVE : P_C_GRUN TO L_ID,
P_LV_VALUE TO L_NAME. CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = L_ID
FLANGUAGE = SY-LANGU
FNAME = L_NAME
FOBJECT = W_OBJECT
* SAVE_DIRECT = 'X'
* FFORMAT = '*'
TABLES
FLINES = T_LINE
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
CLEAR LV_VALUE.
ELSE.
DELETE T_LINE INDEX 1.
ENDIF.ENDFORM. " create_text*&---------------------------------------------------------------------*
*& Form upload_file
* This routine is used to upload file
* No interface parameters are passed
FORM UPLOAD_FILE . CALL FUNCTION 'UPLOAD'
EXPORTING
* CODEPAGE = ' '
* FILENAME = ' '
FILETYPE = 'DAT'
* ITEM = ' '
* FILEMASK_MASK = ' '
* FILEMASK_TEXT = ' '
* FILETYPE_NO_CHANGE = ' '
* FILEMASK_ALL = ' '
* FILETYPE_NO_SHOW = ' '
* LINE_EXIT = ' '
* USER_FORM = ' '
* USER_PROG = ' '
* SILENT = 'S'
* IMPORTING
* FILESIZE =
* CANCEL =
* ACT_FILENAME =
* ACT_FILETYPE =
TABLES
DATA_TAB = T_UPLOAD
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. SORT T_UPLOAD BY MATNR ID.
ENDFORM. " upload_file
*& Form place_longtext
* This routine places the text in MM02 transaction
* No interface parameters are passed
FORM PLACE_LONGTEXT . LOOP AT T_UPLOAD. T_LINE-TDFORMAT = 'ST'.
T_LINE-TDLINE = T_UPLOAD-LTEXT.
APPEND T_LINE. IF T_UPLOAD-ID EQ 'BT'.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'GRUN' TO W_GRUN. "Test ID for Basic data text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IT'.
CLEAR W_GRUN.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'PRUE' TO W_GRUN. "Test ID for Inspection text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IC'.
CLEAR W_GRUN.
MOVE : T_UPLOAD-MATNR TO LV_VALUE,
'IVER' TO W_GRUN.
"Test ID for Internal comment
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF.
ENDLOOP.ENDFORM. " place_longtext -
Re: Report output header text longuage change
Hi Dear's,
Ataually my issue is am unable to change report output header field text to user specific login longuage....
I.e. if user login to ITALY/GERMANY then report output header text should be displayed on same Longuage for this can any body give me some idea
Thanks & Advance,
srinivas.
Edited by: SRINIVAS1234 on Jul 23, 2011 11:35 AMHi SRINIVAS1234,
you can close it as answered and add your personal solution just to let people know how it can be handled. You can also close questions as unanswered but this implies that your problem is still existing.
Regards
Clemens -
Troubles by changing the size of a bookmark header text Repot generation Toolkit
Hello everyone
I'm having troubles getting the size of a header text formatted into a different font size, I attach the code I'm using to get the work done.
At the end I get all I want from the report generation toolkit but the text size in the header and footer . Does Anyone have a clue?
Well the image is too small I'm getting an error when I try to post a bigger one. The thing is that the VI's used here to change the size are append report text.vi and format text.vi. The first one is used to insert text through bookmarks in the header and footer (it works just gereat) and the second one is intended to change the size of the inserted text (it doesn't work at all) I've already used shift registers in the for loop but I get the same results. The last VI is dispose report.vi
thanks in advance
Attachments:
Maquina Etdos Verifica Reporte.vi 94 KBHello Julio9,
sorry for the waiting I had to clean the block diagram up and take into account some data security issues before I could post the information you asked me to. I have to tell you that I already came out with a patch for the issue nonetheless it is not the correct way to solve it and I would appretiate if you or anyone else could help me to do it right.
Here is what I changed:
In my code at the Initialize state (within the state machine) there is the New Report.vi I opened it to get also the new report SubVI.vi opened, afterwards I selected the NI_Word.lvclass: new report subvi.vi and opened it in its code yoou can easly see the double numeric constant value for the size of the text inserted as default. I just changed it from 12 to 8 to correct the formatting. As the outcome all the text inserted through the bookmarks have the default size (8 pts).
I attached the new version of my code with all the documents you will need. Please follow these steps:
1.-Open the project named Verifica Temperaturas 2010.lvproj
2.-Run the main vi named Maquina Etdos verifica reporte 2.vi
3.-Check the option Laboratorio de Refrigeradores:
4.-Click OK
5.-Complete the information as shown:
(For Selecciona Machote pick the word document named Document.doc attached in the .zip file. For the Selecciona Archivo de temperaturas pick the Estacion1_21-02-2012.txt file also attached in the .zip file)
6.-Press Siguiente
After completing the steps you'll see how the document in created. As expected the size of the text in the header is 8 pts.
Attachments:
Verificacion_Camaras.zip 359 KB
Maybe you are looking for
-
when i got my mac mini last christmas, i was delighted at how it whizzed through tasks compared with my old powerbook. however since upgrading to snow leopard, i am seeing the BBBOD constantly. opening programs, web-based emails, loading websites, wo
-
Why do I get the error message for video chat only with a select few? :(
I've been trying for weeks trying to get video chat going to a few people with my invitation for video chat timing out and giving me the error message. At first I thought it may be the other people's systems, but they told me I was the only one in th
-
Install ERP ECC 6.0 with EHP4 and JAVA stack (usage type)
Hi all, I need to install ECC with EHP4 and also JAVA stack. I know that I have to install 2 stacks with different SID and oracle homes, firts I have to install ABAP stack and then the JAVA stack, but wich usage type should I choose for JAVA STACK? W
-
The tabs that will not respond are usually at the top of the page that give access to different sections in the website. It often will include the log in and log off tabs.
-
Error when sync Outlook Calendar
I'm having problems when trying sync my Outlook Calendar, everything else syncs ok. I get the following error, does anyone know what the solution might be? HotSync operation started for ******** on 06/24/09 14:25:14 OK Quick Install PocketMirror® 3.1