To display the reschedule date from MD04
Hi Gurus,
There is a current report which dispalys details of a scheduling agreement (order / due date,schd. qty,qty shipped & qty received). Now user wants to add the reschedule date field which is in MD04 to the report.
Is it possible to display the reschedule date to the report. If so, can you please guide me how to proceed further.Thanks.
Hi,
Actually rescheduling date is displayed in MRP list, The system only displays rescheduling date in the the current stock/requirements list if you trigger rescheduling with the appropriate function. As you all know MRP list is static report. Hence the reschedule date will store in the table as i have mentioned in the table MDEZ as i have mentioned in the earlier reply.T he program bname is SAPMM61R. Please join this table in your query to get rescheduling date. Thanking you.
Similar Messages
-
How to get the rescheduling date in MD04?
I need to create a report for buyers to show them the shortage of material. It will help them to determine how to reschedule the delivery of purchase orders. So, I need show the rescheduling date in MD04 on this report as the suggestion from MRP.
So, would you please help to let me known how and where I can get the rescheduling date (MDEZ-UMDAT) displayed in stock/req list?
Thanks a lot!Hi,
With the User Exits it may be possible, check the feasibility..
=============================================
Programming of additional columns (Customer Exit)
You can use Customer Exit M61X0002 to program up to three columns for the individual line display and the period totals. These columnscan be filled with additional data, which you can call in the lists using pushbuttons.
Programming of customer-specific access to the lists (reports)
By using reports RMMD07EX and RMMD07DB, you can program your own access to the collective display of the stock/requirements list.
=============================================
Regards,
R.Brahmankar -
How to display the updated data from db to user interface in sruts framewor
A beginner in this area, I have been able to read a record from a
MySQL database and populate in jsp form . Now, my goal is to
allow the user to edit the contents of the form and then update the
record in MySQL and then display the same in jsp. page
The scenario in detail
1)the data is fetched from db and displayed in non-editable format
2)Next button is clicked
3)Now in the same jsp page I view the same data from db in editable format
4)The user is allowed to change the information
5)Now update button is clicked
6)the records are updated in the db -Finished doing till this step
7)But the updated info in non - editable format to be displayed in jsp page is left pending.
Here is my code for jsp,i want know how to write an action for this,tried doing the same in java and I'm successful.but what I need is how to fetch the updated information in the user interface.
I've made both editable as well as non editable info in the same page with different actions.
pl help me,I'm a newbie
<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>
<%@ page language="java" %>
<%@ page import="java.util.ArrayList,java.util.Iterator" %>
<%@ page import="com.finocus.common.container.CustomerDetailsTest;" %>
<html:html>
<head>
<title>CUSTOMER DISPLAY</title>
</head>
<body>
<table width="100%" bgcolor="darkkhaki">
<tr>
<td><table width="100%" bgcolor="indigo">
<tr>
<td><font color="white">Display</font></td>
<td><font color="white">Update</font></td>
<td><font color="white">Verify</font></td>
<td><font color="white">Confirm</font></td>
</tr>
</table>
</td>
</tr>
<%
//Container for holding data
ArrayList list = (ArrayList)session.getAttribute("CUSTOMERDETAILS");
Iterator itr=list.iterator();
while(itr.hasNext())
CustomerDetailsTest cust = (CustomerDetailsTest) itr.next();
System.out.println("testGetCustomerDetails()-successed. retrieved CustomerDetailsTest="+cust.toString());
%>
<%
//Session for checking whether edit or non-edit mode
String pageMode = (String)session.getAttribute("CUSTOMER_PAGE_MODE");
session.removeAttribute("CUSTOMER_PAGE_MODE");
if(null==pageMode)
pageMode = "EDIT";
if(pageMode.equals("EDIT"))
//display data in the form
System.out.println("Editable mode");
%>
<html:form action="/nonedit">
<tr>
<td><table width="100%" bgcolor="darkkhaki">
<tr>
<td><b><bean:message key="label.id"/></b></td>
<td><font color="red"><%=cust.getCusId()%></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.Company"/></b>
</td><br>
<tr>
<td><bean:message key="label.cname"/></td>
<td><font color="blue"><html:text property="name" value="<%=cust.getCname()%>"/></font></td>
<td><bean:message key="label.cphone"/></td>
<td><font color="blue"><html:text property="phone" value="<%=cust.getCphone()%>"/></font></td>
</tr><br>
<tr>
<td><bean:message key="label.caddr1"/></td>
<td><font color="blue"><html:text property="address1" value="<%=cust.getCaddress1()%>"/></font></td>
<td><bean:message key="label.cemail"/></td>
<td><font color="blue"><html:text property="email" value="<%=cust.getCemail()%>"/></font></td>
</tr><br>
<tr>
<td><bean:message key="label.caddr2"/></td>
<td><font color="blue"><html:text property="address2" value="<%=cust.getCaddress2()%>"/></font></td>
<td><bean:message key="label.cfax"/></td>
<td><font color="blue"><html:text property="fax" value="<%=cust.getCfax()%>"/></font></td>
</tr><br>
<tr>
<td><bean:message key="label.ccity"/></td>
<td><font color="blue"><html:text property="city" value="<%=cust.getCcity()%>"/></font></td>
<td><bean:message key="label.czip"/></td>
<td><font color="blue"><html:text property="zip" value="<%=cust.getZip()%>"/></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.cstate"/></b></td>
<td><font color="red"><html:text property="state" value="<%=cust.getCstate()%>"/></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.Admin"/></b>
</td><br>
<tr>
<td><b><bean:message key="label.AAname"/></b></td>
<td><font color="red"><html:text property="adminname" value="<%=cust.getAname()%>"/></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AAemail"/></b></td>
<td><font color="red"><html:text property="adminemail" value="<%=cust.getAemail()%>"/></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AAphone"/></b></td>
<td><font color="red"><html:text property="adminphone" value="<%=cust.getAphone()%>"/></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.User"/></b>
</td><br>
<tr>
<td><b><bean:message key="label.AUname"/></b></td>
<td><font color="red"><html:text property="adminusername" value="<%=cust.getUname()%>"/></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AUemail"/></b></td>
<td><font color="red"><html:text property="adminuseremail" value="<%=cust.getUemail()%>"/></font></td>
</tr><br>
<tr align="center">
<td><html:cancel value="Cancel"/>
<html:submit value="Next"/></td>
</tr>
</html:form>
<%
}else
//display data in the text
System.out.println("Non-Editable mode");
%>
<html:form action="/edit">
<tr>
<td><table width="100%" bgcolor="darkkhaki">
<tr>
<td><b><bean:message key="label.id"/></b></td>
<td><font color="red"><%=cust.getCusId()%></font></td>
<td><b><bean:message key="label.status"/></b></td>
<td><font color="red"><%=cust.getStatus() %></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.Company"/></b>
</td><br>
<tr>
<td><bean:message key="label.cname"/></td>
<td><font color="blue"><%=cust.getCname()%></font></td>
<td><bean:message key="label.cphone"/></td>
<td><font color="blue"><%=cust.getCphone()%></font></td>
</tr><br>
<tr>
<td><bean:message key="label.caddr1"/></td>
<td><font color="blue"><%=cust.getCaddress1()%></font></td>
<td><bean:message key="label.cemail"/></td>
<td><font color="blue"><%=cust.getCemail()%></font></td>
</tr><br>
<tr>
<td><bean:message key="label.caddr2"/></td>
<td><font color="blue"><%=cust.getCaddress2()%></font></td>
<td><bean:message key="label.cfax"/></td>
<td><font color="blue"><%=cust.getCfax()%></font></td>
</tr><br>
<tr>
<td><bean:message key="label.ccity"/></td>
<td><font color="blue"><%=cust.getCcity()%></font></td>
<td><bean:message key="label.czip"/></td>
<td><font color="blue"><%=cust.getZip()%></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.cstate"/></b></td>
<td><font color="red"><%=cust.getCstate()%></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.Admin"/></b>
</td><br>
<tr>
<td><b><bean:message key="label.AAname"/></b></td>
<td><font color="red"><%=cust.getAname()%></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AAemail"/></b></td>
<td><font color="red"><%=cust.getAemail()%></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AAphone"/></b></td>
<td><font color="red"><%=cust.getAphone()%></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.User"/></b>
</td><br>
<tr>
<td><b><bean:message key="label.AUname"/></b></td>
<td><font color="red"><%=cust.getUname()%></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AUemail"/></b></td>
<td><font color="red"><%=cust.getUemail()%></font></td>
</tr><br>
<tr align="center">
<td><html:submit value="Update"/></td>
</tr>
</html:form>
<%
%>
<%
%>
</table>
</td>
</tr>
</table>
</body>
</html:html>u r using action classes. so after calling the insert method in Action Class to a dao... the next statement should be retrieve statement. so at the time of updating first it will get updated.. the next statement it will execute is retrieve and then set these details in VO or FORM and show it on JSP
Message was edited by:
leo_michael -
Gorgeous Hello All,
Has anyone encountered the below-said show- stopper. Another BIG TIME help required, will help me in tremendous fashion.
Am using Adobe RoboHelp, Version 10 and IE version being 10.
In my local machine :
1.)I have completed my technical writing courtesy Design editor
2.)Generating chm File : View -> Pods –> Single Source Layouts -> Right Click on Microsoft HTML Help -> Tagged Set as Primary Layout
3.)Generating Primary Layout : File -> Generate -> Primary Layout (Microsoft HTML Help)…
4.)Viewing Primary Layout : File -> View -> Primary Layout
Everything works FANTASTICALLY till here with the required output (as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary and with the data contents)
Show Stopper, At my Application Server :
5.)I copy the entire robohelp project folder from my local machine to my application Server path
6.)My Application has been developed in ASP .NET, Version 4.0.
7.)Help link has been created in this application wherein here the file name of < >.chm has been linked in the code to be read from the Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\
8.)I login into my above-said application -> click on the Help page -> Displays the required structure /buttons as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary
a.)Clicking on any of the Books or Topics appearing beneath Contents : The System prompts out with error cautionary message called “ Navigation to the webpage was cancelled. What you can try: Retype the address ”
*** This is a huge SHOW-STOPPER. I spent plenty of hours on this, but unable to deciper with a solution at all) ***
( Note : Am able to directly open and read the required data contents by Clicking on any of the Books or Topics appearing beneath Contents from Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\ < >.chm )
Why is the RoboHelp not displaying the required data contents of <>.chm when linked as Help in my Application ?
Cheese – Vipin NambiarIf you looked at the error message and searched the forum, you should find the answer as this is a problem that started in 2005. You should not run CHM files from a server and cannot without editing the users registry. See the page below.
http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm
All along your questions have been based on webhelp, why suddenly are we going go CHMs.
See Snippets on my site for the correct form of help to use in different scenarios.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Display the system date automatically in the parameter at runtime
Post Author: sandeepsanadi
CA Forum: Crystal Reports
Hi,
While running a report, I want to display the current system date as a default date in the "From Date" parameter, without selecting the current date from the calendar.
Please let me know if someone knows how to get this.
Thanks in anticipation.
SandeepPost Author: sandeepsanadi
CA Forum: Crystal Reports
No.... This does not work. We had tried this before putting our question on the forum, but does not work. -
How we will display the header data and item data seperately in lists
how we will display the header data and item data seperately in lists
REPORT z_alv_list_block.
TYPE-POOLS: slis. " ALV Global types
SELECTION-SCREEN :
SKIP,
BEGIN OF LINE,
COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
PARAMETERS p_max(2) TYPE n DEFAULT '02' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
DATA:
1st Table
BEGIN OF gt_kna1 OCCURS 0, " Data displayed
kunnr LIKE kna1-kunnr, " Customer number
ernam LIKE kna1-ernam, " Name of Person who Created
erdat LIKE kna1-erdat, " Creation date
name1 LIKE kna1-name1, " Name 1
END OF gt_kna1,
2nd Table
BEGIN OF gt_mara OCCURS 0,
ernam LIKE mara-ernam, " Name of Person who Created
matnr LIKE mara-matnr, " Material number
ersda LIKE mara-e rsda, " Creation date
brgew LIKE mara-brgew, " Gross weight
END OF gt_mara,
3rd Table
BEGIN OF gt_vbak OCCURS 0,
vkorg LIKE vbak-vkorg, " Sales organization
kunnr LIKE vbak-kunnr, " Sold-to party
vbeln LIKE vbak-vbeln, " Sales document
netwr LIKE vbak-netwr, " Net Value of the Sales Order
waerk LIKE vbak-waerk, " SD document currency
END OF gt_vbak.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
START-OF-SELECTION.
Read data
SELECT * FROM kna1
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_kna1.
SELECT * FROM mara
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_mara.
SELECT * FROM vbak
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'.
PERFORM list_append TABLES gt_kna1
USING '1'
'GT_KNA1'.
PERFORM list_append TABLES gt_mara
USING '2'
'GT_MARA'.
PERFORM list_append TABLES gt_vbak
USING '3'
'GT_VBAK'.
PERFORM f_list_display.
FORM USER_COMMAND *
FORM user_command USING i_ucomm LIKE sy-ucomm
is_selfield TYPE slis_selfield. "#EC CALLED
CASE i_ucomm.
WHEN '&IC1'. " Pick
CASE is_selfield-tabname.
WHEN 'GT_MARA'.
WHEN 'GT_KNA1'.
WHEN 'GT_VBAK'.
READ TABLE gt_vbak INDEX is_selfield-tabindex.
IF sy-subrc EQ 0.
Sales order number
SET PARAMETER ID 'AUN' FIELD gt_vbak-vbeln.
Display Sales Order
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. " USER_COMMAND
----< /div>
Form list_append
FORM list_append TABLES ut_table
USING u_no TYPE char1
u_tabname TYPE slis_tabname.
Macro definition
DEFINE m_fieldcat.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = &2.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
ls_sort-fieldname = &1.
ls_sort-up = 'X'.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA :
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
ls_sort TYPE slis_sortinfo_alv,
lt_sort TYPE slis_t_sortinfo_alv. " Sort table
DATA:
lt_events TYPE slis_t_event,
ls_event TYPE slis_alv_event,
ls_layout TYPE slis_layout_alv.
ls_layout-group_change_edit = 'X'.
ls_layout-colwidth_optimize = 'X'.
ls_layout-zebra = 'X'.
ls_layout-detail_popup = 'X'.
ls_layout-get_selinfos = 'X'.
ls_layout-max_linesize = '200'.
CASE u_no.
WHEN '1'.
Build field catalog and sort table
m_fieldcat 'KUNNR' 'KNA1'.
m_fieldcat 'ERNAM' 'KNA1'.
m_fieldcat 'ERDAT' 'KNA1'.
m_fieldcat 'NAME1' 'KNA1'.
m_sort 'KUNNR'.
WHEN '2'.
m_fieldcat 'MATNR' 'MARA'.
m_fieldcat 'ERNAM' 'MARA'.
m_fieldcat 'ERSDA' 'MARA'.
m_fieldcat 'BRGEW' 'MARA'.
m_sort 'MATNR'.
WHEN '3'.
m_fieldcat 'VBELN' 'VBAK'.
m_fieldcat 'VKORG' 'VBAK'.
m_fieldcat 'KUNNR' 'VBAK'.
m_fieldcat 'NETWR' 'VBAK'.
m_fieldcat 'WAERK' 'VBAK'.
m_sort 'VBELN'.
ENDCASE.
IF u_no CA '13'.
MOVE 'TOP_OF_PAGE' TO ls_event-name.
CONCATENATE 'TOP_OF_PAGE' u_no INTO ls_event-form.
APPEND ls_event TO lt_events.
ELSE.
MOVE 'TOP_OF_LIST' TO ls_event-name.
CONCATENATE 'TOP_OF_LIST' u_no INTO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = lt_fieldcat
is_layout = ls_layout
i_tabname = u_tabname
it_events = lt_events
it_sort = lt_sort
i_text =
TABLES
t_outtab = ut_table
EXCEPTIONS
program_error = 1
maximum_of_appends_reached = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " LIST_APPEND
Form f_list_display
FORM f_list_display.
DATA ls_print TYPE slis_print_alv.
ls_print-no_print_selinfos = 'X'. " Display no selection infos
ls_print-no_print_listinfos = 'X'. " Display no listinfos
ls_print-reserve_lines = 2. " Lines reserved for end of page
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
is_print = ls_print
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_LIST_DISPLAY
FORM top_of_page1 *
FORM top_of_page1. "#EC CALLED
PERFORM top_of_page.
ENDFORM.
FORM top_of_page3 *
FORM top_of_page3. "#EC CALLED
PERFORM top_of_page.
ENDFORM.
FORM top_of_page *
FORM top_of_page.
ULINE.
WRITE : sy-uname, sy-title(56) CENTERED, sy-datum.
ULINE.
ENDFORM.
FORM top_of_list2 *
FORM top_of_list2. "#EC CALLED
WRITE 'TOP OF LIST2'.
ENDFORM.
END OF PROGRAM Z_ALV_LIST_BLOCK *********************** -
How can I display the CREATED date of an acrobat file in Windows Explorer (Win 7)?
I want to display the Created date is shown in Document Properties in Windows Explorer, here's the field I want to see in Explorer:
Try this pdf file, the help file from this page:
https://helpx.adobe.com/acrobat.html
Download this file and see what you see in Windows Exploer
http://helpx.adobe.com/en/pdf/acrobat_reference.pdf
Compare dates on the Internal Acrobat Properties and those displayed in Windows Explorer:
Here's what Windows Says: -
Auto display the last data in array
How can I auto display the new data in array without the scroll bar?
If i understand you, you want show last data of array.
You have use property node: IndexVals. You write there indexes of array frome there you want show the data. -
Exception & Rescheduling date in MD04
Hi all,
Can anyone explain what is exception in MD04 screen.PR generated automatically for the unconfirmed schedule line quantities in the sales order.The exception 30 is automatically proposed by the system.How is it?
Please expalin the rescheduling date also
Regards
ManoHi,
MRP Message30 = Plan process according to schedule.
This means that all the requirements as calculated during the MRP run are satisfactory and that the process can continue.
What to do:
Proceed with the process; i.e. convert the planned order and purchase requisitions.
Regards -
Hello SAP Guru,
in MD04 (Stock Req. List) system showing the Rescheduling date.
Where I will get previous Rescheduling date for same material.
Is system maintains any change document for Rescheduling date after every MRP Run for same material.
Pls suggest any SAP tables or any Function Module...?
Thanks in advance..!!!Dear
Please Follow this link
[Rescheduling data in MD04 - What table is it in?;
With Regards
Pushpalas -
Report that can display the installation date of an application or program
Hi,
Would like to ask if anyone knows a built-in report in SCCM 2012 that can display the installation date of an application or program, either it was through deployment with SCCM or through manual installation?
Thanks in advance!Got this to give me the report that I wanted but eliminating some entry on the SQL Query that
Peter van der Woude gave. Here's the Query I used to display the computer name, name of software, date of installation and day since installation of the software.
SELECT TOP (100) PERCENT
dbo.v_R_System.Name0,
dbo.v_GS_ADD_REMOVE_PROGRAMS.DisplayName0,
dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0,
DATEDIFF(Day, CONVERT(date,dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0), GETDATE()) AS [days since installed]
FROM
dbo.v_R_System INNER JOIN
dbo.v_GS_ADD_REMOVE_PROGRAMS ON
dbo.v_R_System.ResourceID = dbo.v_GS_ADD_REMOVE_PROGRAMS.ResourceID
WHERE
(SELECT ISDATE(dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0)) = 1
GROUP BY
dbo.v_R_System.Name0,
dbo.v_GS_ADD_REMOVE_PROGRAMS.DisplayName0,
dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0,
DATEDIFF(Day, CONVERT(date,dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0), GETDATE())
Thanks
Peter van der Woude! -
Not able to get the Qualification data from BAPI
Hi all,
I am using a BAPI (BAPI_JOBREQUIRE_GETLIST) to get the qualifiaction data for requirement profile. It's working fine earlier but I did not get the qualification data from this BAPI, although the data is there in DB against this requirement profile.
Can someone suggest me why I am getting this issue. I have looked into SDN and in BAPI documentation and found as below:
"You require authorization (structural authorization) to read the Requirements subprofile."
I am having the same User ID as I had before (when I getting back the correct data), so I don't think it should be authorization issue.
Can someone help me out in this issue please.
Thanks,
Sanket SethiHi Shiva,
It does not going to these includes at all. Message comes out with successfully done. The BApi is calling RHPP_COMMON_QUALI_READ inside, but this will not return any data. But if will call any qualification object ID, this BAPI will come up with data.
So the QP type LO profile will not come up with any kind of data, but if we pass the OTYPE as Q and pass any Qualification object ID then the data will be returned.
Is there any relationship or some other thing is missing? Any idea.
Thanks,
Sanket Sethi -
TO Display the row data as column in ALV
Hi experts ,
Need to display the row data in ALV as column.
The column of an ALV has the fieldnames of a table , this needs to be displayed as row data , that is as single row.
How can this can be achieved?Hi,
Actually it is not possible to disaply in multiple lines.
https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D50%26threadID%3D49517%26messageID%3D506378%23506378
https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D50%26threadID%3D41133%26messageID%3D403371%23403371
This problem was discussed many times in this forum, u can search for more results. -
How to display the header data on different position in alv report
hi all,
how to display the header data on different position in alv report.
for example ,
customer name
xxxx xxxx
vendor name street
xxxx xxxx xxxxx
pls help me .hi
as per my understanding you need to trnasfer header internal table data to pdf..
please check the following links for internal table to pdf..
Convertion of Internal table data to PDF
This link is related to ur issue
Re: how to insert the calling of the FM: OTF to PDF
Thanks -
How to get the complete data from Webdynpro using a RFC
hi guys,
A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in the form. Then the user have to input some fields in the form and he have press the submit button. My problem is here, when the user is going to press the submit button that form will be converted to a stream (binary) of data and it is sent to one of the import parameter used in the RFC.
I have created a RFC and created a import parameter of data type XSTRING, since i want to see what exactly R3 is receiving from web dynpro i am writing this contant in the sever as a text file. When i saw that text file i cant see the complete data.
And when i searched in R3 the capacity of xstring is 1024 CHAR, so i dont know how to capture the entire data from webdynpro into my R3.
I give the code what i worte please tell me am i missing anything in my code, or is there any data type which can hold more than 500kb of data which is coming from webdynpro.
FUNCTION ZSEND_MAIL_ATTACHMENT.
""Local Interface:
*" IMPORTING
*" VALUE(OUT_PLACE_LEVEL) TYPE XSTRING OPTIONAL
*" VALUE(BIN_DATA) TYPE INDX_CLUST OPTIONAL
*" TABLES
*" IT_MESSAGE STRUCTURE SOLISTI1
Data Declaration
DATA: gd_cnt TYPE i,
gd_sent_all(1) TYPE c,
gd_error TYPE sy-subrc,
tab_lines LIKE sy-tabix.
Structure Declaration
DATA : BEGIN OF it_file OCCURS 0,
row(255),
END OF it_file.
DATA : BEGIN OF i_split OCCURS 0,
row(50),
END OF i_split.
Internal Table Declaration
data : it_receivers like table of SOMLRECI1 with header line."occurs 0.
DATA : objbin LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE. "sOLIX
DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
data : wa_receiver like table of SOMLRECI1 with header line.
data : it_receiver like table of SOMLRECI1 with header line.
data : v_bin_data like SOLISTI1 occurs 0 with header line.
DATA : gd_doc_data LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
*data bin_data1 like table of solix with header line.
REFRESH : objbin, it_packing_list, it_receivers, wa_receiver.
CLEAR : objbin, it_packing_list, wa_receiver, it_receivers.
DATA V_SUBJECT(255) VALUE 'HI'.
gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SENDFILE'.
gd_doc_data-obj_descr = v_subject.
gd_doc_data-sensitivty = 'O'.
APPEND GD_DOC_DATA.
Appending The Internal Table it_packing_list
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
it_packing_list-doc_type = 'RAW'.
it_packing_list-body_num = tab_lines.
APPEND it_packing_list.
*CALL FUNCTION 'GUI_UPLOAD'
*EXPORTING
*filename = V_FILE_PATH
*filetype = 'BIN'
*TABLES
*data_tab = BIN_DATA.
move bin_data to v_bin_data.
append v_bin_data.
*move soli to bin_data.
LOOP AT V_BIN_DATA into objbin.
MOVE v_bin_data TO objbin-line.
APPEND objbin.
ENDLOOP.
CLEAR it_packing_list.
DESCRIBE TABLE objbin LINES tab_lines.
it_packing_list-transf_bin = 'X'.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
it_packing_list-doc_type = 'PDF'.
it_packing_list-body_num = tab_lines.
it_packing_list-doc_size = tab_lines * 255.
APPEND it_packing_list.
data file(255) value '/tmp/bali.txt'.
*Appending The Internal Table it_receivers
close dataset '/tmp/bali.txt'.
open dataset '/tmp/bali.txt' for output in text mode encoding default.
if sy-subrc = 0.
loop at objbin.
transfer objbin to '/tmp/bali.txt'.
endloop.
else.
write 'hi'.
close dataset '/tmp/bali.txt'.
endif.
it_receiver-receiver = '[email protected]'.
it_receiver-rec_type = 'U'.
it_receiver-com_type = 'INT'.
APPEND wa_receiver.
move wa_receiver[] to it_receiver[].
append it_receiver.
*Move wa_receiver[] to it_receivers[].
Clear it_receivers.
if i_OUT_PLACE_LEVEL NE 0.
loop at it_receivers into wa_receiver.
loop at it_receivers into wa_receiver.
**Function Module To Post The Message To Externa Mail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = gd_doc_data
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_packing_list
CONTENTS_TXT = objbin
receivers = it_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
clear wa_receiver.
ENDFUNCTION.You have to convert your long string to a table of shorter strings.
There may be other ways, but one possibility is to use a loop to process you string.
while (there is something left)
put the next e.g. 1024 characters in a new row of your table
endwhile
If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right
Maybe you are looking for
-
Please help me with the app; I don't know what I a...
Help me idk what I'm doing Subject/title expanded from "Help."
-
Archiving MM_EKKO (Purchasing documents with attachments)
We would like to start archiving MM_EKKO Purchasing documents. The units have been attaching items, quotes for example, to the purchasing documents. The attachments currently exist within the R/3 data base. If we archive MM_EKKO items the attachments
-
Logic Remote connectivity issues after updating to iOS 8 (solved!)
Has anyone else has been experiencing connectivity issues with Logic Remote after updating to iOS 8? After updating to iOS 8 I could no longer connect so I sent a feedback report to Apple and got a response that cleared up my problem immediately: Nav
-
Movies stop then spped up to catch up with sound help me
movie picture keep stoping then speeds up to catch up with the sound while im watching movies on itunes. help!!!!
-
hi everybody we applied BI_CONTENT patch to BI server but some objects are missing i.e. ORPA-MC04,ORPA C04. can you please suggest where can we find this objects and is any other patch needs to apply? thanxs deepak