Extract PO header text in PO work flow item description
Hi,
I'm trying to display PO header text using standard PO workflow.
I managed to retrieve the PO header text information at the business object(SWO1). Now it is only displaying the last line of the PO header text. I define object &_WI_OBJECT_ID.POTEXT& in the work item text. POTEXT is of type VIRTUAL and with reference to table tline and field tdline.
How to make this field POTEXT multiline in the workflow work item?
For example PO header text contains:
Header testing1
Header testing2
Header testing3.
Currently, it is showing only Header testing 3. I'm not sure how to do coding in business objects for this case.
I am using 'READ_TEXT' function module, but how to display the text information in this field POTEXT?
Please advise. Thanks.
Hi Dev,
Thank you for your quick & prompt response.
The program that you have given is showing the text details but it is not showing complete text details, it is only showing 1st line of text. Please see screen shot for your reference, please suggest how to get complete text details.
Similar Messages
-
Extract PO Header Text data by SQVI
Dear All,
Is it possible to extract Po header text & item text details by SQVI? If so please provide the procedure.
I do not want to go for abap coding for retrieving that data, please suggest any other procedure which can be used to retrieve data without coding.
Regards
Rashid ImamHi Dev,
Thank you for your quick & prompt response.
The program that you have given is showing the text details but it is not showing complete text details, it is only showing 1st line of text. Please see screen shot for your reference, please suggest how to get complete text details. -
Hi,
Greetings!!
We have raised a quotation, in this quotation we have manually updated Job number (1234) and project number (9876) in header--> header text and saved the quotation.
With reference to this Quotation we raised a sales order(VA01) and here we have changed job number from 1234 to ABCD and project number from 876 to EFGHIJ and saved the sales document but system by default takes quotation job and project number only. If we go to change mode of sales document (VA02) our changes working fine.
ould you please let us know how we can overcome this issue? Or this is standard behavior or what?
Regards,
SreeHi,
Text determination configuration is done in VOTXN
check VOTXN for your text determination procedure and under access sequence check if there is any routine added -
How to copy MIRO header text to account document line item automatically
HI Experts,
I really need your help or advices , my question is as follows, thanks.
After goods receipt , I do invoice verification at t-code MIRO , and it'll produce an account document by system.
at MIRO, I key in the purchasement description on the header text column (INVFO-SGTXT) ,
and after posting , the header text only appear in account document's account payable item ,
it's blank in GR/IR and tax item.
How to do could let the GR/IR and tax item have the header text too at column BSEG-SGTXT which produced by system?
p.s.
I have try to use BADI: AC_DOCUMENT , Method: CHANGE_AFTER_CHECK
and declare a couple of parameters to check the value, as follows
DATA: WA_HEADER TYPE ACCHD,
WA_ITEM TYPE ACC_DOCUMENT-ITEM,
WA_ITEM_AMOUNTS TYPE ACC_DOCUMENT-ITEM_AMOUNTS.
WA_HEADER = IM_DOCUMENT-HEADER.
WA_ITEM = IM_DOCUMENT-ITEM.
WA_ITEM_AMOUNTS = IM_DOCUMENT-ITEM_AMOUNTS.
but, in the parameters , I don't see any column to access INVFO-SGTXT value.....
Thanks a lot in advanced.
Best Regards,
YacoaHI SAPFICO,
Thanks for your advice,
I have follow the link , and create an function model named ZSAMPLE_INTERFACE_00001025(copy from SAMPLE_INTERFACE_00001025),
and also run the setting in FIBF....
I write some code in my function , as follows, but it doesn't work after I do MIRO
and it's still blank of the account document's line item.
p.s. even make a breakpoint at the function , it doesn't stop and stay at the breakpoint when I execute MIRO, so werid....
FUNCTION ZSAMPLE_INTERFACE_00001025.
""區域介面:
*" IMPORTING
*" VALUE(I_BKDF) LIKE BKDF STRUCTURE BKDF OPTIONAL
*" TABLES
*" T_AUSZ1 STRUCTURE AUSZ1 OPTIONAL
*" T_AUSZ2 STRUCTURE AUSZ2 OPTIONAL
*" T_AUSZ3 STRUCTURE AUSZ_CLR OPTIONAL
*" T_BKP1 STRUCTURE BKP1
*" T_BKPF STRUCTURE BKPF
*" T_BSEC STRUCTURE BSEC
*" T_BSED STRUCTURE BSED
*" T_BSEG STRUCTURE BSEG
*" T_BSET STRUCTURE BSET
*" T_BSEU STRUCTURE BSEU OPTIONAL
DATA: C_SGTXT TYPE BSEG-SGTXT.
IF SY-TCODE = 'MIRO'.
READ TABLE T_BSEG INDEX 1.
C_SGTXT = T_BSEG-SGTXT.
LOOP AT T_BSEG.
IF T_BSEG-SGTXT IS INITIAL.
T_BSEG-SGTXT = C_SGTXT.
MODIFY T_BSEG.
ENDIF.
ENDLOOP.
ENDIF.
ENDFUNCTION.
Edited by: Yacoa Chen on Mar 30, 2011 9:54 AM -
ESS - Leave Administration - Work flow item
Hi experts,
My PM asked me to prepare a document on ESS i got some inputs from different threads.
Now I need an input regarding workflow item
In Leave Administration after approval of the leave employee can delete the information which was work flow id as assigned to services the id is WS1000109
Which work flow id should assign to services.
Please help me in this regardHi
There are two things
1. Workflow ID - Employee can't delete a WF ID can delete WF items
2. Workflow item - No need to assign workflow item to a service , coz this would be done by the system internally for all the modules .
Goto Extras -Workflows of this definition & execute
here you will find out the latest WF item & text for that WF
regards
durai -
Table css column-header text color not working
When setting
-fx-text-fill: red;
in a css table, it does not change the header to tex to red. Is there another value? .table-view .column-header {You have to override the following from the caspian.css:
.table-view .column-header {
-fx-text-fill: -fx-selection-bar-text;
/* TODO: for some reason, this doesn't scale. */
-fx-font-size: 1.083333em; /* 13pt - 1 more than the default font */
-fx-size: 25;
-fx-border-style: solid;
-fx-border-color:
Inner border: we have different colours along the top, right, bottom and left.
Refer to RT-12298 for the spec.
derive(-fx-base, 80%)
linear-gradient(to bottom, derive(-fx-base,80%) 20%, derive(-fx-base,-10%) 90%)
derive(-fx-base, 10%)
linear-gradient(to bottom, derive(-fx-base,80%) 20%, derive(-fx-base,-10%) 90%),
/* Outer border: */
transparent -fx-table-header-border-color -fx-table-header-border-color transparent;
-fx-border-insets: 0 1 1 0, 0 0 0 0;
-fx-border-width: 0.083333em, 0.083333em;
.table-view .column-header-background {
-fx-background-color: -fx-body-color;
-fx-padding: 0;
} -
Setting ALV Header text doesn't work
I'm trying to set different titles on my headers of the ALV table. To do this I do the following during the WDDOINIT of the COMPONENTCONTROLLER.
CALL METHOD WD_THIS->GO_ALV_EINSTELL->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMNS
RECEIVING
VALUE = lt_columns
LOOP AT lt_columns INTO ls_column.
CASE ls_column-ID.
WHEN 'SETTING_ID'.
CALL METHOD LS_COLUMN-R_COLUMN->SET_FIXED_POSITION
EXPORTING
VALUE = CL_WD_ABSTR_TABLE_COLUMN=>E_FIXED_POSITION-LEFT
CALL METHOD LS_COLUMN-R_COLUMN->SET_POSITION
EXPORTING
VALUE = '2'
CALL METHOD LS_COLUMN-R_COLUMN->GET_HEADER
RECEIVING
VALUE = lo_header
IF NOT ( lo_header IS BOUND ).
CALL METHOD LS_COLUMN-R_COLUMN->CREATE_HEADER
RECEIVING
VALUE = lo_header
ENDIF.
CALL METHOD LO_HEADER->SET_TEXT
EXPORTING
VALUE = 'Einstellung'
WHEN 'EVENT_TYPE'.
ENDCASE.
ENDLOOP.
The debugger shows me that the different titles are updated but when it gets displayed I see the old DDIC titles. Any ideas on how to fix this?I hope you want to change the name of ALV column in the display.
Try following code for the same:
DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
l_ref_interfacecontroller = wd_this->wd_cpifc_alv_table( ). " Value from the prop tab of the view
DATA: l_value TYPE REF TO cl_salv_wd_config_table.
l_value = l_ref_interfacecontroller->get_model( ).
DATA l_column TYPE REF TO cl_salv_wd_column.
DATA l_header TYPE REF TO cl_salv_wd_column_header.
l_column = l_value->if_salv_wd_column_settings~get_column( 'MATNR' ). " Name of column you want to change
l_header = l_column->get_header( ).
l_header->set_ddic_binding_field( ).
l_header->set_text( `Material Nuber` ). " Name that is to be displayed
Regards,
Saket.
Edited by: Saket Abhyankar on Jan 13, 2010 3:32 PM
Edited by: Saket Abhyankar on Jan 13, 2010 3:48 PM -
Creating Work Flow Item for inbound Idocs
Hi experts,
I'm just trying to create a work item in sap inbox when inbound idoc fails and gets the status 51 .Documentation says no need for any extra setup,it works with standard SAP tasks & Idoc system process codes which are all preconfigured.
I'm assiginig a user id in the partner profile.I do get a work item when there is syntax error in the inbound idoc segments(like wrong sequence of segments...), but not when idoc fails,due to idoc errors.Am i missing something.Users want a workitem when it fails,so they can reprocee/edit etc.Please help.
Thanks in advance,
RajjThanks for the response.I know this task and i could see a event triggered in the event log,but no work item created in my inbox.What should i do to get the work item in my inbox.should i change this task or assign this to some thing else.
Thanks,
Rajj -
Hi All,
I have a requirement wherein the Inbound IDoc with status 52 has to be prevented by flowing into workflow.
This has to be done for certain partners.
Please help.
Thanks,
JohnHi,
Execute SWe2 transaction
2. Find the workflow tempalte ID which is getting triggered.
3. And tryt to disable or un check the check box EVENT LINKAGE.
Regards
Pavan -
Using attachments in work-flow and creating custom text with key values
Hi,
I have 2 simple requirements.
1. how to attach a tcode or trigger method of business object for work-flow item. The user should be able to navigate to transaction to see data before approval or rejection.
2. I have created custom task for long text that will be displayed in the SAP inbox. How do I provide key values in this long text. I was able to do in the subject line using Substitution parameters(&Name1& etc..)
Regards
KasiI did the same thing. see details.
Created Workitem and attached a task "TS92500097". in the task, I mentioned Business Object and method to be called. I have set the binding also for this business object. the method I am calling is nothing but just "display" which is using call transaction. 2 problems here.
1. How do I show this "BusinessObject.Display" as an attachment or link in the mail.
2. how do I assign key values during exection of this attachment or link.
Regards
Kasi
2. -
SAP SCRIPT: Header text not printing - Custom Purchase Order.
Hello Experts,
I have used the standard MEDRUCK and copied to ZMEDRUCK. I want the PO header text to print in my form.
I have used subroutine-pool and called it in the form.
Here is my subroutine
FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
TABLES EKKO.
DATA: BEGIN OF header OCCURS 0,
ld_txt1(163),
ld_txt2(163),
ld_txt3(163),
END OF header.
DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
ID like THEAD-TDID,
TNAME LIKE THEAD-TDNAME,
TDOBJECT like THEAD-TDOBJECT.
DATA HTEXT LIKE EKKO-EBELN.
* HTEXT = EKKO-EBELN.
READ TABLE in_tab WITH KEY EKKO-EBELN.
if sy-subrc = 0.
TNAME = in_tab-value.
ENDIF.
TNAME = EKKO-EBELN.
*CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
*MOVE v_head_text to HNAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = 'F01'
language = 'E'
name = TNAME
object = 'EKKO'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER = TNAME
tables
lines = li_lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CLEAR out_tab.
out_tab-VALUE = TNAME.
CONDENSE out_tab-VALUE.
MODIFY out_tab TRANSPORTING VALUE WHERE NAME = 'TNAME'.
ENDFORM.
And my script in the form is
PERFORM FETCH_TABLE_DATA IN PROGRAM ZMEDRUCK_SUBP2
USING &EKKO-EBELN&
CHANGING &TNAME&
ENDPERFORMpar RECEIVED FROM M/S &TNAME&
The header text is still not flowing in my form.
What mistake i'm I doing here ?
How can I resolve this ?
Pls help !Hi,
Data is li_lines internal table. 1st you have to read the text form the internal table line by sy-tabix.
At last you have to concatenate these variable into the out tab value.
you can use the following code
ORM fetch_table_data TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
TABLES EKKO.
DATA: BEGIN OF header OCCURS 0,
ld_txt1(163),
ld_txt2(163),
ld_txt3(163),
END OF header.
DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
ID like THEAD-TDID,
TNAME LIKE THEAD-TDNAME,
TDOBJECT like THEAD-TDOBJECT.
DATA HTEXT LIKE EKKO-EBELN.
READ TABLE in_tab WITH KEY EKKO-EBELN.
if sy-subrc = 0.
TNAME = in_tab-value.
ENDIF.
ALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'F01'
language = 'E'
name = TNAME
object = 'EKKO'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = li_lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
data : f_lines TYPE i,
DESCRIBE TABLE li_lines LINES f_lines.
data: lstr type String,
lstr1 type string,
lstr2 type string,
lstr3 type string,
lstr4 type string.
read table li_lines index 1.
lstr = li_lines
condense lstr.
clear li_lines
read table li_lines index 2.
lstr1 = li_lines
condense lstr.
clear li_lines
read table li_lines index 3.
lstr2 = li_lines
condense lstr.
clear li_lines
if f_lines GT 3.
ead table li_lines index 4.
lstr3 = li_lines
condense lstr.
clear li_lines
ead table li_lines index 5.
lstr4 = li_lines
condense lstr.
clear li_lines
endif.
data : v_text type text.
concatenate lstr1 lstr2 lstr3 lstr4 into v_text separate by ' '.
CLEAR out_tab.
READ TABLE out_tab WITH KEY name = 'TNAME'.
out_tab-value = v_text
MODIFY out_tab INDEX sy-tabix.
Regards
Nayan Kumar -
PO header text in the PO report
Hi,
I try to develop a PO report & want to include the field PO header text.
Is it possible to extract the header text in a report.
If possible, can any body so kind to give me the technical specification of the PO header text.
Thanks in advance.
Regards,
sp sahuSahu,
there are n number of threads with sample coding in the forum for your question, pl just do a search..you could retrieve the po header/item texts using the fm READ_TEXT
if helpful, reward
Sathish. R -
Is it Possible to Delete a Work Flow in SAP
Is it Possible to Delete a Work Flow in SAP
If you mean a work flow item (and not the template which you already got the solution to), then the best thing to do is logically delete it, also known as cancelling. You can do that from the work item view if you have sufficient authorization.
Go to the technical view.
Switch to edit mode.
Observe the buttons that suddenly became available.
If you don't see any buttons for "delete logically" (can't recall the exact text) you don't have sufficient authorization.
2007-03-21 08:42 Message was edited by Kjetil Kilhavn:
Ahhhh... the disadvantage of using the "Previous" link to navigate the list of questions. I didn't see you had posted a new thread. But then again, if you had "Done The Right Thing" and updated your first question instead....
I suggest we share the blame on this one -
dear all,
Can i know whether can we copy the Sales order header text to sales order item text.
Description:
While creating sales order, the value which is entered in header text needs to copy to all the line items.
I have tried in text determination, which is not working. Kindly throw some light on the same
regards,
Arun prasad C RHeader text correspond to the entire document, whereas the Item text is specific to that particular line item in the sales order.
It is not posible in the standard to copy the Header Text to each of the item text. You need to maitain the text IDs in the text procedure for the item and assign the relavant text procedure to the Item category. -
Transfer document header text from billing document to FI document
Dear all,
Where do I specify that the document header text out of the billing document should be transferred to the corresponding FI document?
Currently, the FI document header text (BKPF-BKTXT) remeans blank after transfer from billing document. We need this field to be filled in, but I haven't found how to have this filled in.
In copy control from sales doc to billing doc, there is the possibility to transfer the Reference number & Assignment, but nothing about document header texts.
Some say that it would only be possible via coding, but anybody has any idea if it might be possible via standard SAP?
Many thanks!
Best regardsHi,
We also had a bit same requirement, which is to copy the billing header text to FI item text (BSEG-SGTXT). The solution we took is to use FI Substitution (t-code GGB1), so that every time a FI document created from SD... the substitution reads the billing header text and put it in the FI item text. I think the same method could be used for FI header text (BKPF-BKTXT). Below is the solution for your reference.
Prerequisite:
Document Type = 'RV' AND Reference <> '' AND
( Transaction code = 'VF01' OR Transaction code = 'VF02' OR
Transaction code = 'VF03' )
Substitution:
Using exit which coding is as below.
*& Form u900
Copy Billing Header Text to SGTXT
-->P_SGTXT FI Item Text
FORM u900 USING p_sgtxt TYPE bseg-sgtxt.
DATA: lv_name TYPE thead-tdname,
lt_line TYPE STANDARD TABLE OF tline,
lw_line TYPE tline.
lv_name = bkpf-xblnr.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'Z001'
language = sy-langu
name = lv_name
object = 'VBBK'
TABLES
lines = lt_line[]
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc EQ 0.
READ TABLE lt_line
INTO lw_line
INDEX 1.
In Billing Header Text, the sign '&' (ampersand) is automatically
added some characters so it becomes '<(>&<)>'.
The logic below is to fix that issue.
REPLACE ALL OCCURRENCES OF '<(>' IN lw_line-tdline WITH space.
REPLACE ALL OCCURRENCES OF '<)>' IN lw_line-tdline WITH space.
p_sgtxt = lw_line-tdline.
ENDIF.
ENDFORM.
Regards,
Teddy Kurniawan
Maybe you are looking for
-
BAPI_PO_CHANGE taking default values for zaro value Condition update
Hi, I am using std BAPI_PO_CHANGE for line item condition type value update. I want to update the condition value with zero, however it is picking some default value 10 $. I want to know from where it is picking that value. wa_item-po_item =
-
Photo orientation issues on ipod touch..
I was wondering if anyone else has this problem.. when I was going through my pictures zooming in and out and rotating the frame something weird happened. I guess I rotated while I zoomed and the picture actually got stuck at like 45 degrees. After a
-
DVD to MP4 programs, all non-US companies?
In the brief search I have conducted on the web, it looks like the DVD to MP4 converters are all companies from outside the United States. Are their legal issues (it seems so) that do not allow a person to rip their legally purchased DVD into a forma
-
Should I update O/S to Yosemite?
Running a Desktop Pro with 2x 2.4Ghz 6 core Xeon with 32 gb and wondering if its time to go to Yosemite. Got a new mac Air laptop and its running my main programs, Office 2011 and Adobe cloud that I am tempted to update. Anyone got any horror stories
-
Hi all, I tried developing a simple login application from one of the tutorials available on NET. I have a login.jsp page which takes the Username and password as input and the corresponding form action is done by a login Servlet. But i get the follo