Length of vendor
how can we increase the lenght of vendor
Hi Prem,
You can increase the length of name field: LFA1-NAME1 by going to se12 giving going to LFA1 database table in chnage mode & incresing the length from 35 to 60 e.g. But this requires access key.
Dont increase the lenght unless very important.
Also look at below link:
http://help.sap.com/saphelp_45b/helpdata/en/35/b0ec5787a62488e10000009b38f9b7/content.htm
Hope this helps.
Please assign points as way to say thanks
Similar Messages
-
Display full length of vendor name in report !
Dear all,
as i know, we can enter up to 50 chars into Vendor name field in Vendor maintain screen (FK01).
But, when i check in Vendor balance (FK10N), Line item display (FBL1N) only 35 chars of Vendor name is displayed.
please help to show me how to show full length (50 chars) on those reports or which report should i use to see full length of Vendor name !?
many thanks !As per my knowledge you can enter only upto 40 characters in name field in Vendor maintain screen (FK01).
The same will also show up in FK10N and FBL1N -
Increase of Field length. & vendor data @ sales documents
Dear all,
a. I want to increase the Sales employee - Remarks (field) length from 50 characters to 200 characters.
Can we increase the length of standard field's without using SDK? If yes, tell me how to do?
b. I am creating 2 UDF's @ marketing documents. - Title level
At first UDF - I want to see all the vendor master data (vendor codes) by formatted search
At the secound field - the address of the relevant Ship to r bill to address of vendor has to be filled down - as soon as i selected the vendorcode on the above field.
Can we map the UDF's as per the above requirement - with out using SDK & by using formatted search.
If - we can do with formatted search - help me of how to do & send me the query.
Thanks & Regards
ganeshGanesh,
The SAP database field lengths cannot be changed.
Reg the Formatted Search of Vendor Codes for the first UDF. The SQL would be like
SELECT T0.CARDCODE FROM [DBO\].[OCRD\] T0 WHERE T0.CARDTYPE = 'S'
YES, it is possible to trigger the FMS on the second UDF when the Vendor Code is filled in the firt UDF.
I am not clear with what you mean by the following
At the secound field - the address of the relevant Ship to r bill to address of vendor has to be filled down - as soon as i selected the vendorcode on the above field.
The Address information is in CRD1 table and you can use the first UDF's values in the WHERE clause of the SELECT statement in your second FMS
example:
SELECT T0.STREET, T0.CITY, .... FROM [DBO\].[CRD1\] T0 WHERE T0.CARDCODE = $\[ORDR.U_USERFIELD] AND T0.ADRESTYPE = 'B'
CHANGE U_USERFIELD1 with the name of your Vendor Code UDF
T0.ADRESTYPE = 'B' ..........FOR BILLING ADDRESS
T0.ADRESTYPE = 'S' ..........FOR SHIPPING ADDRESS
Suda -
Hi All,
How can i extend the length of Vendor Bank account number up to 20 Digits character over the SPRO.which max length in that field is 18 digit
Could any one help me out in this case...
Rgds,
HendroAre the changes being brought in only the prefix for that vendor and to reflect the same in table LFBK and see the field in Lifnr getting updated with the new Prefix value .
then check this Fm ..
BAPI_VENDOR_EDIT
May be can write a bdc for that particular vendor(s) in XK02 or can proceed with LSMW.
Im not sure clear with what transaction you are trying to change the prefix value cause u need to maintain that range for the vendor in the settings Spro.
regards,
vijay. -
Need to select vendor nos starting with 2
Hello All,
In the selection-screen the user enters vendor no as 2*.I need to select all vendor no details starting from 2.its not working when i use 'WHERE lifnr LIKE '2%' ' in select query.Please let me know ur inputs.
Thanks,
Rakesh.Hi Rakesh,
In addition to what Mr. Srinivas has said, I would suggest you to use OVERLAY option to append '0' to the vendor number.
Suppose if the vendor number is 12345 you have to append it with 0000012345
if the vendor number is 8546325 you have to append it with 0008546325
This indicates that you can not always hard code the number of zeroes as '00002%' , since the length of vendor number varies.
The question you have asked seems a bit tricky and i guess will involve some analysis to be done to achieve the results
Code Snippet
DATA: l_lifnr TYPE lifnr,
l_lifnr_temp TYPE lifnr.
l_lifnr_temp = '10093586'.
SHIFT l_lifnr_temp RIGHT DELETING TRAILING space.
OVERLAY l_lifnr_temp WITH '0000000000'.
SELECT lifnr
INTO l_lifnr
FROM bseg
WHERE lifnr = l_lifnr_temp.
ENDSELECT.
IF NOT l_lifnr IS INITIAL.
WRITE l_lifnr.
ENDIF.
Hope this helps.
Regards,
Farheen -
Plzzzzzzzzzz recover the error i have tried alot
plzz guys this is third time i m sending this code
try to correct it. i m not getting the error. it giving
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
the code is
<html>
<head>
<%@ page language="java" import="java.sql.*" %>
<body>
<h3><font color ="#800080"><center><Entry Before Repairs</center></FONT></h3>
<BODY BGCOLOR="#B0C4DE">
<style type="text/css">
body, td, th {
font-family: verdana;
font-size:13pt;
font-color:#800080;
th {
text-align: center;
h1 {
font-size: 150%;
text-align: center;
</style>
<form action="new1.jsp" method="POST" name="new.jsp">
<table width="45%">
<tr>
<td width="12%"><font color="#800080"><h5>SNo.</h5></font</td>
<td width="18%">
<input type="TEXT" name="sno"/>
</td>
<td width="16"><font color="#800080"><h5>Nature</h5></font</td>
<td width="52">
<select name="nature">
<option value="">Laptop</option>
<option value="">PC</option>
<option value="">Printer</option>
<option value="">Monitor</option>
<option value="">Peripherals</option>
</select>
</td>
<tr>
<td width="18"><font color="#800080"><h5>Description</h5></font</td>
<td width="18">
<textarea cols="20" rows="5" name="desc" /></textarea>
</td>
<td width="78"><font color="#800080"><h5>Serial No.</h5></font</td>
<td width="68">
<input type="TEXT" name="ser_no" />
</td>
<tr>
<td width="78"><font color="#800080"><h5>Gatepass</h5></font</td>
<td width="68">
<input type="TEXT" name="gatepass" />
</td>
<td width="78"><font color="#800080"><h5>Probem</h5></font</td>
<td width="68">
<textarea cols="20" rows="5" name="problem" /></textarea>
</td>
<tr>
<td width="78"><font color="#800080"><h5>Vendor</h5></font</td>
<td width="68">
<select name="vendor">
<%
Connection con = null;
Statement stmt = null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:database");
stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("select * from vendor");
if(rs != null)
while(rs.next()) {
String venname = rs.getString("ven_name");
%>
<option selected><%= venname %></option>
<%
%>
</select></td>
<td width="78"><font color="#800080"><h5>Return Status</h5></font</td>
<td width="68">
<select name="ret_sts">
<option value="">Yes</option>
<option value="">No</option>
</td>
</tr>
<tr>
<td width="78"><font color="#800080"><h5>source</h5></font</td>
<td width="68">
<select name="source">
<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:database");
stmt = con.createStatement();
rs = stmt.executeQuery("select * from location");
if(rs != null)
while(rs.next()) {
String locname = rs.getString("loc_name");
%>
<option selected><%= locname %></option>
<%
%>
</select></td>
<td width="78"><font color="#800080"><h5>Designation</h5></font</td>
<td width="68">
<select name="desi">
<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:database");
stmt = con.createStatement();
rs = stmt.executeQuery("select * from location");
if(rs != null)
while(rs.next()) {
String locname = rs.getString("loc_name");
%>
<option selected><%= locname %></option>
<%
%>
</select></td>
</tr>
<tr>
<td width="78"><font color="#800080"><h5>Employee No.</h5></font</td>
<td width="68">
<input type="TEXT" name="emp_no" />
</td>
<td width="78"><font color="#800080"><h5>Employee Name</h5></font</td>
<td width="68">
<input type="TEXT" name="emp_name" />
</td>
</tr>
<tr>
<td width="78"><font color="#800080"><h5>Date Out Source</h5></font</td>
<td width="68">
<input type= "text" name="dos">
</td>
<td width="78"><font color="#800080"><h5>Date in Designation</h5></font</td>
<td width="78">
<input type="text" name="did">
</td>
</tr>
<tr>
<form action="new1.jsp" method="post" name="new.jsp" id="<h5>submit</h5>">
<td><BUTTON name="post" type="submit"><h5><font color="#800080">SUBMIT</font><h5></BUTTON></td>
</form>
</tr>
</body>
</html>new1.jsp is
<html>
<%@ page language="java" import="java.sql.*" %>
<body>
<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
int sno =Integer.parseInt(request.getParameter("sno"));
String nature = request.getParameter("nature");
String desc = request.getParameter("desc");
String ser_no = request.getParameter("ser_no");
int gatepass =Integer.parseInt(request.getParameter("gatepass"));
String problem = request.getParameter("problem");
String vendor = request.getParameter("vendor");
String ret_sts= request.getParameter("ret_sts");
String source = request.getParameter("source");
String desi = request.getParameter("desi");
int emp_no =Integer.parseInt(request.getParameter("emp_no"));
String emp_name = request.getParameter("emp_name");
String dos = request.getParameter("dos");
String did = request.getParameter("did");
Connection con = null;
Statement stmt = null;
con=DriverManager.getConnection("jdbc:odbc:database");
stmt = con.createStatement();
int rowsAffected = stmt.executeUpdate("INSERT INTO br(sno, nature, desc, ser_no, gatepass, problem, vendor, ret_sts,
source, desi, emp_no, emp_name, dos, did) values('" + sno + "'," + nature + ",'" + desc + "','"
+ ser_no + "',,'" + gatepass + "','" + problem + "'," + vendor + "," + ret_sts + "," + source + "," +
desi + ",'" + emp_no + "','" + emp_name + "','" + dos + "','" + did + "')");
if(rowsAffected == 1)
%>
<h1>success</h1>
<%
else
%>
<h1>failed</h1>
<%
stmt.close();
con.close();
%>
</body>
</html>plz help me
regardshi
i m not getting the desired output. can u plz help me.
i have correct the error but don't know where is the error
can u plz check the other code i have used to insert record. its also not working
<%@ page session="false" %>
<html>
<body>
<%@ page language="java" import="java.sql.*" %>
<body bgcolor="#FFE4E1">
<font color="#A0522D"><h1>Appllication</h1></font</td>
<table width="45%">
<tr>
<td width="12%"><font color="#800080"><h5>SNo.</h5></font</td>
<td width="18%">
<input type="TEXT" name="sno"/>
</td>
<td width="16"><font color="#800080"><h5>Nature</h5></font</td>
<td width="52">
<select name="nature">
<option value="Laptop">Laptop</option>
<option value="PC">PC</option>
<option value="Printer">Printer</option>
<option value="Monitor">Monitor</option>
<option value="Peripherals">Peripherals</option>
</select>
</td>
<tr>
<td width="18"><font color="#800080"><h5>Description</h5></font</td>
<td width="18">
<textarea cols="20" rows="5" name="desc" /></textarea>
</td>
<td width="78"><font color="#800080"><h5>Serial No.</h5></font</td>
<td width="68">
<input type="TEXT" name="ser_no" />
</td>
<tr>
<td width="78"><font color="#800080"><h5>Gatepass</h5></font</td>
<td width="68">
<input type="TEXT" name="gatepass" />
</td>
<td width="78"><font color="#800080"><h5>Probem</h5></font</td>
<td width="68">
<textarea cols="20" rows="5" name="problem" /></textarea>
</td>
<tr>
<td width="78"><font color="#800080"><h5>Vendor</h5></font</td>
<td width="68">
<select name="vendor">
<%
Connection con = null;
Statement stmt = null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:database");
stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("select * from vendor");
if(rs != null)
while(rs.next()) {
String venname = rs.getString("ven_name");
%>
<option selected><%= venname %></option>
<%
%>
</select></td>
<td width="78"><font color="#800080"><h5>Return Status</h5></font</td>
<td width="68">
<select name="ret_sts">
<option value="yes">Yes</option>
<option value="no">No</option>
</td>
</tr>
<tr>
<td width="78"><font color="#800080"><h5>source</h5></font</td>
<td width="68">
<select name="source">
<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:database");
stmt = con.createStatement();
rs = stmt.executeQuery("select * from location");
if(rs != null)
while(rs.next()) {
String locname = rs.getString("loc_name");
%>
<option selected><%= locname %></option>
<%
%>
</select></td>
<td width="78"><font color="#800080"><h5>Designation</h5></font</td>
<td width="68">
<select name="desi">
<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:database");
stmt = con.createStatement();
rs = stmt.executeQuery("select * from location");
if(rs != null)
while(rs.next()) {
String locname = rs.getString("loc_name");
%>
<option selected><%= locname %></option>
<%
%>
</select></td>
</tr>
<tr>
<td width="78"><font color="#800080"><h5>Employee No.</h5></font</td>
<td width="68">
<input type="TEXT" name="emp_no" />
</td>
<td width="78"><font color="#800080"><h5>Employee Name</h5></font</td>
<td width="68">
<input type="TEXT" name="emp_name" />
</td>
</tr>
<tr>
<td width="78"><font color="#800080"><h5>Date Out Source</h5></font</td>
<td width="68">
<input type= "text" name="dos">
</td>
<td width="78"><font color="#800080"><h5>Date in Designation</h5></font</td>
<td width="78">
<input type="text" name="did">
</td>
</tr>
<p>
<tr>
<form action="ent2.jsp" method="post" name="app1.jsp" id="<h3>submit</h3>">
<td><BUTTON name="post" type="submit"><h3><font color="#A0522D">SUBMIT</font><h3></BUTTON></td>
</form>
</tr>
</p>
<td><BUTTON name="reset" type="Reset"><h3><font color="AQ522D">RESET</font></h3></BUTTON></td>
</form>
</body>
</html>ent2.jsp is
<html>
<head>
<title> Application</title>
</head>
<body>
<%@ page language="java" import="java.sql.*" %>
<body bgcolor="#FFE4E1">
<%
int sno =Integer.parseInt(request.getParameter("sno"));
String nature = request.getParameter("nature");
String desc = request.getParameter("desc");
String ser_no = request.getParameter("ser_no");
int gatepass = Integer.parseInt(request.getParameter("gatepass"));
String problem = request.getParameter("problem");
String vendor = request.getParameter("vendor");
String ret_sts = request.getParameter("ret_sts");
String source = request.getParameter("source");
String desi = request.getParameter("desi");
int emp_no = Integer.parseInt(request.getParameter("gatepass"));
String emp_name = request.getParameter("emp_name");
String dos = request.getParameter("dos");
String did = request.getParameter("did");
Connection con = null;
Statement stmt = null;
PreparedStatement ps = null;
ResultSet rs = null;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:database");
String sql = "SELECT * FROM br WHERE sno like ?";
ps = con.prepareStatement(sql);
ps.setString(1, "%" + sno + "%");
rs = ps.executeQuery();
if(!rs.next())
String sq;
sq = INSERT INTO br(sno, nature, desc, ser_no, gatepass, problem, vendor, ret_sts, source, desi,
emp_no, emp_name, dos, did) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)
ps = con.prepareStatement(sq);
stmt = con.createStatement();
boolean proceed = false;
if(nature != null && desc != null && ser_no != null && problem != null && vendor != null && ret_sts
!= null && source != null && desi != null && emp_name != null && dos != null && did != null)
if(nature.length() > 0 && desc.length() > 0 && ser_no.length() > 0 && problem.length() > 0 &&
vendor.length() > 0 && ret_sts.length() > 0 && source.length() > 0 && desi.length() > 0 &&
emp_name.length() > 0 && dos.length() > 0 && did.length() > 0)
proceed = true;
if(proceed) {
ps.setInt(1,sno);
ps.setString(2,nature);
ps.setString(3,desc);
ps.setString(4,ser_no);
ps.setInt(5,gatepass);
ps.setString(6,problem);
ps.setString(7,vendor);
ps.setString(8,ret_sts);
ps.setString(9,source);
ps.setString(10,desi);
ps.setInt(11,emp_no);
ps.setString(12,emp_name);
ps.setString(13,dos);
ps.setString(14,did);
ps.executeUpdate();
%>
<font color="#A0522D"><h2>Record submitted!</h2></font</td>
<%
else
%>
<font color="#A0522D"><h2>Record Already exist!</h2></font</td>
<%
} catch (SQLException e) {
out.println(e.getMessage());
} catch (ClassNotFoundException e) {
out.println(e.getMessage());
} finally {
try {
if(rs != null) {
rs.close();
rs = null;
if(stmt != null) {
stmt.close();
stmt = null;
if(ps != null) {
ps.close();
ps = null;
if(con != null) {
con.close();
con = null;
} catch (SQLException e) {}
%>
<form action="app1.jsp" method="post" name="ent2.jsp" id="<h4>NEXT!</h4>">
<td><BUTTON name="post" type="submit"><h4><font color="#A0522D"> NEXT!</font></h4></BUTTON></td>
<p>
</body>
</html>its giving error like
C:\tomcat\Tomcat 4.1\work\Standalone\localhost\jsp\ent2_jsp.java:83: ';' expected
sq = INSERT INTO br(sno,nature,desc,ser_no,gatepass,problem,vendor,ret_sts,source,desi,
^
1 error
plz try to solve this error
regards -
Pack and unpack Radius VSA attributes
Hi
As far as I know there are some methods to pack radius VSA attributes. Here are:
As the part of Cisco-AVPair
26 - VSA
Length
9 - Vendor ID
1 - Vendor Type (Cisco-AVPair Attribute ID)
Attribute Name=Value
In the Vendor Specific attribute ("throught attribute ID")
26 - VSALength
9 - Vendor ID
2 - Vendor Type (Attribute ID)
Vendor Length
Attribute Name=Value
In the Vendor Specific attribute ("throught attribute ID")
26 - VSA
Length
9 - Vendor ID
2 - Vendor Type (Attribute ID)
Value
i.e. with attribute name and witout.
How to understand which attribute needs attribute name in value string?
For example:
26|Length|9|2|Vendor Length|1|h323-incoming-conf-id=82b5fc8cd6f411dfa3c6080027716a9a
26|Length|9|2|Vendor Length|35|h323-incoming-conf-id=82b5fc8cd6f411dfa3c6080027716a9a
26|Length|9|2|Vendor Length|35|82b5fc8cd6f411dfa3c6080027716a9a
which of the methods is right?Hi,
For the specific VSA you used in the example (h323-incoming-conf-id), (1) is the correct encoding, since Cisco VSA vendor type 1 (also more commonly referred to as cisco AV Pair) is always encoded in strings with the format of "attribute=value". This applies to other cisco VSAs that use string encoding as well. For VSA's that don't use string encoding, eg., fax-pages (vendor type 5, encoding integer), it typically doesn't include the value. You should be able to check that against the vendor dictionary to confirm. Please also see:
http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdrdefs.html
Thanks,
Wen -
I have a JDO class which has a composite key
package com.yodlee.yde.persistence.configuration;
import java.util.List;
public class ConfigSession {
private String id;
private Long configId;
private String aSession;
private Long length;
private Long lastAccess;
private java.util.Date createDate;
private Long source;
private String sessionData;
private Long dbSessionId;
private Config configOfConfigId;
public ConfigSession() {
public String getId() {
return id;
public void setId(String id) {
this.id = id;
public Long getConfigId() {
return configId;
public void setConfigId(Long configId) {
this.configId = configId;
public String getASession() {
return aSession;
public void setASession(String aSession) {
this.aSession = aSession;
public Long getLength() {
return length;
public void setLength(Long length) {
this.length = length;
public Long getLastAccess() {
return lastAccess;
public void setLastAccess(Long lastAccess) {
this.lastAccess = lastAccess;
public java.util.Date getCreateDate() {
return createDate;
public void setCreateDate(java.util.Date createDate) {
this.createDate = createDate;
public Long getSource() {
return source;
public void setSource(Long source) {
this.source = source;
public String getSessionData() {
return sessionData;
public void setSessionData(String sessionData) {
this.sessionData = sessionData;
public Long getDbSessionId() {
return dbSessionId;
public void setDbSessionId(Long dbSessionId) {
this.dbSessionId = dbSessionId;
public Config getConfigOfConfigId() {
return configOfConfigId;
public void setConfigOfConfigId(Config configOfConfigId) {
this.configOfConfigId = configOfConfigId;
here is the package definition for it
<class name="ConfigSession">
<extension vendor-name="tt" key="table" value="COB_SESSIONS"/>
<extension vendor-name="tt" key="pk-column" value="ID"/>
<extension vendor-name="tt" key="pk-column" value="COBRAND_ID"/>
<extension vendor-name="tt" key="lock-column" value="none"/>
<extension vendor-name="tt" key="class-column" value="none"/>
<field name="id">
<extension vendor-name="tt" key="data-column" value="ID"/>
</field>
<field name="configId">
<extension vendor-name="tt" key="data-column"
value="COBRAND_ID"/>
</field>
<field name="aSession">
<extension vendor-name="tt" key="data-column"
value="A_SESSION"/>
</field>
<field name="length">
<extension vendor-name="tt" key="data-column"
value="LENGTH"/>
</field>
<field name="lastAccess">
<extension vendor-name="tt" key="data-column"
value="LAST_ACCESS"/>
</field>
<field name="createDate">
<extension vendor-name="tt" key="data-column"
value="CREATE_DATE"/>
</field>
<field name="source">
<extension vendor-name="tt" key="data-column"
value="SOURCE"/>
</field>
<field name="sessionData">
<extension vendor-name="tt" key="data-column"
value="SESSION_DATA"/>
</field>
<field name="dbSessionId">
<extension vendor-name="tt" key="data-column"
value="DB_SESSION_ID"/>
</field>
<field name="configOfConfigId">
<extension vendor-name="tt" key="data-column"
value="COBRAND_ID"/>
</field>
</class>
when i add a new object instance.. i.e an insert into the table, i get this
error.
javax.jdo.JDODataStoreException: [SQL=INSERT INTO COB_SESSIONS (COBRAND_ID,
SESSION_DATA, ID, DB_SESSION_ID, LAST_ACCESS, LENGTH, COBRAND_ID,
CREATE_DATE, COBRAND_ID, A_SESSION, SOURCE) VALUES (4, NULL, 'id 6', NULL,
NULL, NULL, 150, NULL, NULL, NULL, NULL)] ORA-00957: duplicate column name
NestedThrowables:
com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO
COB_SESSIONS (COBRAND_ID, SESSION_DATA, ID, DB_SESSION_ID, LAST_ACCESS,
LENGTH, COBRAND_ID, CREATE_DATE, COBRAND_ID, A_SESSION, SOURCE) VALUES (4,
NULL, 'id 6', NULL, NULL, NULL, 150, NULL, NULL, NULL, NULL)] ORA-00957:
duplicate column name
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.insert(JDBCStoreMana
ger.java:302)
at
com.solarmetric.kodo.runtime.StateManagerImpl.storeFields(StateManagerImpl.j
ava:1136)
at com.solarmetric.kodo.runtime.PNewState.flush(PNewState.java:37)
at
com.solarmetric.kodo.runtime.StateManagerImpl.flush(StateManagerImpl.java:33
4)
at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManager
Impl.java:337)
at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManage
rImpl.java:245)
at TestConfigSession.main(TestConfigSession.java:51)
Obviously, the field cobrand_id is repeating.
Can you help me out with this?
Thanks,
SushantoIt works. I changed the metadata.
But, on an inverse collection, The JDO returns an error. there seems to be a
basic error in defining the referencing. Can somebody help me out here?
javax.jdo.JDODataStoreException: [SQL=SELECT
COBRAND.CONFIGFEATURECOLLECTIONFORCONX FROM COBRAND WHERE COBRAND.COBRAND_ID
= 1] ORA-00904: invalid column name
NestedThrowables:
com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=SELECT
COBRAND.CONFIGFEATURECOLLECTIONFORCONX FROM COBRAND WHERE COBRAND.COBRAND_ID
= 1] ORA-00904: invalid column name
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManage
r.java:247)
at
com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java
:580)
at
com.yodlee.yde.persistence.configuration.Config.jdoGetcom_yodlee_yde_persist
ence_configuration_Config_configFeatureCollectionForConfigId(Config.java)
at
com.yodlee.yde.persistence.configuration.Config.getConfigFeatureCollectionFo
rConfigId(Config.java:173)
at TestConfig.main(TestConfig.java:35)
The metadata concerned here is as follows:
<class name="Config" identity-type="application"
objectid-class="Config$Oid">
<extension vendor-name="tt" key="table" value="COBRAND"/>
<extension vendor-name="tt" key="lock-column" value="none"/>
<extension vendor-name="tt" key="class-column" value="none"/>
<field name="configId" primary-key="true">
<extension vendor-name="tt" key="data-column"
value="COBRAND_ID"/>
</field>
<field name="name">
<extension vendor-name="tt" key="data-column" value="NAME"/>
</field>
<field name="templateRootDir">
<extension vendor-name="tt" key="data-column"
value="TEMPLATE_ROOT_DIR"/>
</field>
<field name="loginName">
<extension vendor-name="tt" key="data-column"
value="LOGIN_NAME"/>
</field>
<field name="loginNameAsucase">
<extension vendor-name="tt" key="data-column"
value="LOGIN_NAME_ASUCASE"/>
</field>
<field name="password">
<extension vendor-name="tt" key="data-column"
value="PASSWORD"/>
</field>
<field name="loginFromYodlee">
<extension vendor-name="tt" key="data-column"
value="LOGIN_FROM_YODLEE"/>
</field>
<field name="useSiteFiltering">
<extension vendor-name="tt" key="data-column"
value="USE_SITE_FILTERING"/>
</field>
<field name="configLevel">
<extension vendor-name="tt" key="data-column"
value="COBRAND_LEVEL"/>
</field>
<field name="sessionId">
<extension vendor-name="tt" key="data-column"
value="SESSION_ID"/>
</field>
<field name="regInfoToUrl">
<extension vendor-name="tt" key="data-column"
value="REG_INFO_TO_URL"/>
</field>
<field name="host">
<extension vendor-name="tt" key="data-column" value="HOST"/>
</field>
<field name="updatePrefId">
<extension vendor-name="tt" key="data-column"
value="UPDATE_PREF_ID"/>
</field>
<field name="configParamCollectionForConfigId">
<collection element-type="ConfigParam"/>
<extension vendor-name="tt" key="inverse" value="configOfConfigId"/>
</field>
<field name="configMemCollectionForConfigId">
<collection element-type="ConfigMem"/>
<extension vendor-name="tt" key="inverse" value="configOfConfigId"/>
</field>
<field name="configFeatureCollectionForConfigId">
<collection element-type="ConfigFeature"/>
<extension vendor-name="tt" key="inverse" value="configId"/>
</field>
<field name="configSessionCollectionForConfigId">
<collection element-type="ConfigSession"/>
<extension vendor-name="tt" key="inverse" value="configOfConfigId"/>
</field>
</class>
<class name="ConfigFeature" identity-type="application"
objectid-class="ConfigFeature$Oid">
<extension vendor-name="tt" key="table" value="COB_FEATURE"/>
<extension vendor-name="tt" key="lock-column" value="none"/>
<extension vendor-name="tt" key="class-column" value="none"/>
<field name="configId" primary-key="true">
<extension vendor-name="tt" key="data-column"
value="COBRAND_ID"/>
</field>
<field name="featureId" primary-key="true">
<extension vendor-name="tt" key="data-column"
value="FEATURE_ID"/>
</field>
</class>
can you please help me out with this one?
Thanks,
Sushanto
"A. Abram White" <[email protected]> wrote in message
news:[email protected]...
Actually your problem is that you're not telling Kodo that you're using
application identity. The default behavior for persistent classes is to
use datastore identity, meaning the JDO implementation generates its own
unique id for each instance, one that is independent of the values of the
fields of your object.
In your case, the primary key is composed of 2 fields that exist in your
object; hence you want to use application identity. This involves
several changes to your JDO metadata. See the relevant jdo and user
guide documentation for details.
It may be possible to 'hack' it and use datastore identity but map the
primary key column to a field of your class, but this is not recommended,
and in any case will not work for compound primary keys. -
WDS PXE DHCP, Clients on different subnet
Hello,
We are having a lot of trouble trying to get pxe imaging working from our WDS server on different subnets. We have an existing Zenworking imaging setup working as of right now, but WDS is causing more issues than I care to troubleshoot. I have read
blog after blog, forum post after forum post and everyone says just install it and it works! I guess we have run into some sort of problem that nobody else has.
Enviroment:
2x DC's, Server 2012 R2, both run DNS, 10.5.0.101, 10.5.0.102
1x DHCP Server, 2012 R2, 10.5.0.105
1x WDS Server, 2012 R2, 10.5.0.41
If I put a client on the same subnet as all of the servers it seems to work, except for the fact that it takes a while for the client to get an IP and continue to load wdsnbp.com. I would say around 20-30 seconds. In our zenworks enviroment it takes
no more than 1 second to get an IP. As for the dhcp server itself, clients receive normal dhcp offers instantly. So that part is working properly.
Now when I try an access the WDS pxe server from a different subnet other than the one that all of the servers are on, noting that I do have the ip helper address setup on our layer 3 switch:
interface Vlan2025
ip address 10.200.20.1 255.255.255.0
ip helper-address 10.5.0.105
ip helper-address 10.5.0.41
It always says failed to receive boot file. But as I said earlier, clients in windows receive dhcp leases from 10.5.0.105 without issue.
Setting the client options in the DHCP server with options 66 and 67 works sortof, but we found that it was unreliable and often finicky. Like having the system repeatedly ask to press f12, and even if you did press f12 it would still ask to press f12
again.
So I continued to do a wirehark packet capture on the port where the device was trying to get the dhcp/pxe info from the DHCP / WDS servers. The first packet here is from the DHCP server and the second is from the WDS server.
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet (0x01)
Hardware address length: 6
Hops: 0
Transaction ID: 0xd6c565d2
Seconds elapsed: 0
Bootp flags: 0x8000 (Broadcast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 10.200.20.117 (10.200.20.117)
Next server IP address: 10.5.0.105 (10.5.0.105)
Relay agent IP address: 10.200.20.1 (10.200.20.1)
Client MAC address: Hewlett-_c5:65:d2 (78:e7:d1:c5:65:d2)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (53) DHCP Message Type
Length: 1
DHCP: Offer (2)
Option: (1) Subnet Mask
Length: 4
Subnet Mask: 255.255.255.0 (255.255.255.0)
Option: (58) Renewal Time Value
Length: 4
Renewal Time Value: (21600s) 6 hours
Option: (59) Rebinding Time Value
Length: 4
Rebinding Time Value: (37800s) 10 hours, 30 minutes
Option: (51) IP Address Lease Time
Length: 4
IP Address Lease Time: (43200s) 12 hours
Option: (54) DHCP Server Identifier
Length: 4
DHCP Server Identifier: 10.5.0.105 (10.5.0.105)
Option: (3) Router
Length: 4
Router: 10.200.20.1 (10.200.20.1)
Option: (6) Domain Name Server
Length: 8
Domain Name Server: 10.5.0.101 (10.5.0.101)
Domain Name Server: 10.5.0.102 (10.5.0.102)
Option: (15) Domain Name
Length: 8
Domain Name: domain.com
Option: (255) End
Option End: 255
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet (0x01)
Hardware address length: 6
Hops: 0
Transaction ID: 0xd2c565d2
Seconds elapsed: 4
Bootp flags: 0x8000 (Broadcast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 10.5.0.41 (10.5.0.41)
Relay agent IP address: 10.200.20.1 (10.200.20.1)
Client MAC address: Hewlett-_c5:65:d2 (78:e7:d1:c5:65:d2)
Client hardware address padding: 00000000000000000000
Server host name: wds1.domain.com
Boot file name not given
Magic cookie: DHCP
Option: (54) DHCP Server Identifier
Length: 4
DHCP Server Identifier: 10.5.0.41 (10.5.0.41)
Option: (97) UUID/GUID-based Client Identifier
Length: 17
Client Identifier (UUID): eb8daa31-8e62-11df-bbd8-d1c565d278e7
Option: (60) Vendor class identifier
Length: 9
Vendor class identifier: PXEClient
Option: (53) DHCP Message Type
Length: 1
DHCP: Offer (2)
Option: (255) End
Option End: 255
What I find interesting is that the WDS server is not handing out a boot file name:
"Boot file name not given"
Could this be the reason why we receive the no boot file received error when trying to boot a client into pxe?
The other thing that I noticed was that the WDS server is also responding with the:
" Option: (60) Vendor class identifier
Length: 9
Vendor class identifier: PXEClient
Why would it be responding with this, when the dhcp is on a separate server. Is this option only if you have DHCP and WDS on the same server?
Any help would be appreciated as there has been too much time already spent on getting nowhere.
Thanks,
Dan.Dan,
10 months later and not one reply... I'm having the same issue, did you ever figure this out? DHCP server is my Cisco Switch, WDS/PXE is on another network. The WDS and PXE is working fine as I can do so from the same network as the WDS/PXE
server. I can also get the WDS/PXE to work if I have a MS DHCP server on a different network and populate the option 66 and option 67. I cannot get this to work using Cisco ip helper-address for some reason.
Thanks, -
CATT - vendor/customer master address field length over
Dear all,
when use CATT to record vendor/customer master,the address some fields length are over recorded field length(ex. ADDR1_DATA-NAME4,ADDR1_DATA-STR_SUPPL3...etc)
is there any config in CATT to solve this kind of problem?When you are doing your LSMW batch input recording, on selection screen (where you specify the sales org, distribution channel, division, account group, etc) please put a flag on "Use central address management" checkbox (SAPMF02D 0100 > USE_ZAV).
In this case you should be able to see and fill the desired fields. -
Hello experts,
I had a small doubt.
While going thro Vendor replication errors in SLG1, I see that many errors like postal code length, geocodes not mainatained etc are repeating..
We have tried syncing the two with know tables/config many times, but something new pops up each time.
My question here is that, do we have any report/config that needs to be scheduled/done to bring in the supporting config entries from ECC to SRM.
Any help/lead would be of great help.
Thank you.Hi Aarvi,
There is a table comparision method which you can sync up from your dev system, create a transport and move through your production systems.
Thank You,
DV -
Name field in FK01 vendor master creation/ table LFA1 lengths are different
Hi Experts,
We have an issue with FK01 vendor master creation.
The vendor Name field in FK01 has length of 40 char, however in Vendor Master table LFA1 field Name1 has length 35 char.
So when the user inputs a name of 40 char in FK01 it does get truncated in LFA1 table.
Guyz any idea how we can handle this scenerio.
Need your help.
Thanks
Jaif.Please undesratnd the desciption I have given.
The issue is with FK01, when u create vendor in FK01, If you use a name of 40 char length in the NAME field.
After creating the vendor if you check the vendor in LFA1 table you'll find the name truncated to 35 char length in the NAME1 field.
How can we solve this problem. Is there any BADI/User exit available to fix it.
Thanks
Jaif -
Tax Code1(STCD1 for Vendor) Field Length Customizing based on Country
Hi ,
I want the TAX Code1(STCD1) info that when we create a vendor through Tcode XK01(With Control Checkbox), we get Tax Code1 field on the next screen,here based on the Vendor Country the lengths are defined. Now My Question is that :-
If Length of STCD1 field is defined through Customizing, then where exactly it is done.Please help me out.
If it is already fixed based on Country(Pre-defined) then its what about other countries which are not mentioned in F1 help of this list. I understand it is 16 Characters only.But need Confirmation.
~ManojThe length is defined in the IMG by country. Depending on which version of SAP you are on the path names may be slightly different. But, this is the path I know:
SAP Netweaver - General Settings - Set Countries - Set Country Specific Checks. You will need to click on each country you expect to have a vendor set up and change the length for tax code 1.
Monique -
Custom purchase requsitionto vendor open and cleared payment report
dear all i develop report but i cant ableto show in that open amount and cleared amount of vender in that report so please see this report and feedback me for logic to show open and clear amount of vendor purchase orderwise or vendorwise
report zpo_purchase_history no standard page heading message-id 00.
TABLES : bsik, bsak, lfa1, lfb1, skb1, t001, bapifvdexp_vzzbepp.
type-pools:slis,ICON.
types :begin of ty_po,
banfn type eban-banfn,
"Purchase Requisition Number
bnfpo type eban-bnfpo,
"Item Number of Purchase Requisition
ekgrp type eban-ekgrp, "Purchasing Group
badat type eban-badat,
"Requisition (Request) Date
menge type eban-menge,
KNTTP TYPE EBAN-KNTTP,
PSTYP type eban-PSTYP,
"Purchase Requisition Quantity
meins type eban-meins,
"Purchase Requisition Unit of Measure
lifnr type ekko-lifnr, "Vendor Account Number
bedat type ekko-bedat, "Purchasing Document Date
ebeln type ekpo-ebeln,
"Purchasing Document Number
ebelp type ekpo-ebelp,
"Item Number of Purchasing Document
matkl type ekpo-matkl, "Material Group
mtart type ekpo-mtart, "Material Type
matnr type ekpo-matnr, "Material Number
txz01 type ekpo-txz01, "Short Text
menge1 type ekpo-menge, "Purchase Order Quantity
meins1 type ekpo-meins,
"Purchase Order Unit of Measure
balqty type ekpo-menge, "Balance Quantity
netpr type ekpo-netpr,
"Net Price in Purchasing Document
peinh type ekpo-peinh, "Price Unit
mblnr type mseg-mblnr,
"Number of Material Document
zeile type mseg-zeile, "Item in Material Document
menge2 type mseg-menge, "GR Quantity
meins2 type mseg-meins, "GR Unit of Measure
werks type mseg-werks, "Plant
charg type mseg-charg, "Batch
belnr type rbkp-belnr,
"Document Number of an Invoice Document
bldat type ekbe-bldat, "Document Date in Document
belnr_b type rbkp-belnr,
SHKZG type ekbe-SHKZG , "Debit/Credit Indicator
DMBTR type bsik-dmbtr, "Amount in Local Currency
DMBTR_C type bsAk-dmbtr, "Amount in Local Currency
thick(10) type c, "Thickness
width(10) type c, "Width
length(10) type c, "Length
grade(10) type c, "Grade
BELNR_d type bseg-belnr,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey,
RMWWR type rbkp-RMWWR,
WMWST1 type rbkp-WMWST1,
end of ty_po.
types :begin of ty_ekko,
ebeln type ekko-ebeln,
lifnr type ekko-lifnr,
bedat type ekko-bedat,
end of ty_ekko.
types:begin of ty_ekpo,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp,
matnr type ekpo-matnr,
txz01 type ekpo-txz01,
menge type ekpo-menge,
meins type ekpo-meins,
netpr type ekpo-netpr,
peinh type ekpo-peinh,
banfn type ekpo-banfn,
bnfpo type ekpo-bnfpo,
mtart type ekpo-mtart,
end of ty_ekpo.
types :begin of ty_eban,
banfn type eban-banfn,
bnfpo type eban-bnfpo,
matnr type eban-matnr,
menge type eban-menge,
meins type eban-meins,
end of ty_eban.
types : begin of ty_ekbe,
ebeln type ekbe-ebeln,
ebelp type ekbe-ebelp,
belnr type ekbe-belnr,
bldat type ekbe-bldat,
gjahr type ekbe-gjahr,
buzei type ekbe-buzei,
matnr type ekbe-matnr,
DMBTR type ekbe-dmbtr,
shkzg type ekbe-shkzg,
end of ty_ekbe.
types : begin of ty_mseg,
mblnr type mseg-mblnr,
mjahr type mseg-mjahr,
zeile type mseg-zeile,
menge type mseg-menge,
meins type mseg-meins,
ebeln type mseg-ebeln,
ebelp type mseg-ebelp,
matnr type mseg-matnr,
werks type mseg-werks,
charg type mseg-charg,
end of ty_mseg.
types : begin of ty_rbkp,
belnr type rbkp-belnr,
gjahr type rbkp-gjahr,
bldat type rbkp-bldat,
lifnr type rbkp-lifnr,
ZUONR type rbkp-ZUONR,
RMWWR type rbkp-RMWWR,
WMWST1 type rbkp-WMWST1,
end of ty_rbkp.
types : begin of ty_bseg,
bukrs type bseg-bukrs,
belnr type bseg-belnr,
gjahr type bseg-gjahr,
buzei type bseg-buzei,
valut type bseg-valut,
wrbtr type bseg-wrbtr ,
augbl type bseg-augbl,
matnr type bseg-matnr,
lifnr type bseg-lifnr,
ebeln type bseg-ebeln,
end of ty_bseg.
types : begin of ty_rseg,
belnr type rseg-belnr,
gjahr type rseg-gjahr,
ebeln type rseg-ebeln,
ebelp type rseg-ebelp,
matnr type rseg-matnr,
bukrs type rseg-bukrs,
end of ty_rseg.
types : begin of ty_bsik,
belnr type bsik-belnr,
buzei type bsik-buzei,
DMBTR type bsik-DMBTR,
budat type bsik-budat,
shkzg type bsik-shkzg,
ebeln type bsik-ebeln,
lifnr type bsik-lifnr,
end of ty_bsik.
types : begin of ty_bsak,
belnr type bsak-belnr,
lifnr type bsak-lifnr,
ebeln type bsak-ebeln,
DMBTR_C type bsak-DMBTR,
ZUONR type bsak-ZUONR,
end of ty_bsak.
types: begin of ty_bkpf,
BELNR type bkpf-belnr,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey,
end of ty_bkpf.
data: it_po type standard table of ty_po,
it_ekko type standard table of ty_ekko,
it_ekpo type standard table of ty_ekpo,
it_eban type standard table of ty_eban,
it_ekbe type standard table of ty_ekbe,
it_mseg type standard table of ty_mseg,
it_rbkp type standard table of ty_rbkp,
it_rseg type standard table of ty_rseg,
it_bseg type standard table of ty_bseg,
it_bsik type STANDARD TABLE OF ty_bsik with header line,
it_bsak type STANDARD TABLE OF ty_bsak,
it_bkpf type standard table of ty_bkpf,
wa_po type ty_po,
wa_ekko type ty_ekko,
wa_ekpo type ty_ekpo,
wa_eban type ty_eban,
wa_mseg type ty_mseg,
wa_rbkp type ty_rbkp,
wa_rseg type ty_rseg,
wa_bseg type ty_bseg,
wa_ekbe type ty_ekbe,
wa_bsik type ty_bsik,
wa_bsak type ty_bsak,
wa_bkpf type ty_bkpf.
data: it_fcat type slis_t_fieldcat_alv,
it_lshead type slis_t_listheader,
it_sort type slis_t_sortinfo_alv,
wa_fcat type slis_fieldcat_alv,
wa_lshead type slis_listheader,
wa_layout type slis_layout_alv,
wa_sort type slis_sortinfo_alv.
data :it_cl_data like table of clobjdat,
wa_cl_data like clobjdat.
data: values(10) type n.
data: value1(4) type N.
data: c_matkl type ekpo-matkl,
c_matnr type ekpo-matnr,
c_ekgrp type eban-ekgrp,
c_badat type eban-badat,
c_index type sy-tabix,
c_grmenge type mseg-erfmg,
c_low(10) type c,
c_high(10) type c,
c_date type string,
c_bukrs type ekko-bukrs,
c_WERKS type eban-WERKS.
data: gd_date(10).
DATA: V_EVENTS TYPE SLIS_T_EVENT,
WA_EVENT TYPE SLIS_ALV_EVENT.
*********Selection screen variables*********
selection-screen:begin of block b1 with frame title text-001.
select-options: s_bukrs for c_bukrs DEFAULT 'bmp1',
s_WERKS for c_WERKS,
s_matnr for c_matnr DEFAULT 'rm-01',
s_matkl for c_matkl ,
s_badat for c_badat ,"obligatory,
s_ekgrp for c_ekgrp.
parameters: ch_bal as checkbox.
selection-screen:end of block b1.
*initialization.
* PERFORM EVENT_CALL.
* PERFORM POPULATE_EVENT.
start-of-selection.
PERFORM EVENT_CALL.
PERFORM POPULATE_EVENT.
perform getdata.
perform setdata.
perform fieldcat.
perform display.
*& Form GETDATA
form getdata .
select a~BANFN
a~bnfpo
a~ekgrp
a~badat
a~KNTTP
a~PSTYP
b~ebeln
b~ebelp
b~matkl
b~matnr
b~bukrs
into corresponding fields of table it_po
from eban as a inner join ekpo as b
on a~banfn = b~banfn and
a~bnfpo = b~bnfpo AND
A~KNTTP = B~KNTTP and
a~PSTYP = b~PSTYP
where a~badat in s_badat and
a~ekgrp in s_ekgrp and
a~WERKS in s_WERKS and
b~matnr in s_matnr and
b~matkl in s_matkl and
b~bukrs in s_bukrs and
b~loekz <> 'L' and
a~loekz <> 'X'.
if it_po[] is not initial.
select ebeln
ebelp
matnr
txz01
menge
meins
netpr
peinh
banfn
bnfpo
mtart
from ekpo into table it_ekpo
for all entries in it_po
where ebeln = it_po-ebeln and
ebelp = it_po-ebelp and
loekz <> 'L'.
select banfn
bnfpo
matnr
menge
meins
from eban into table it_eban
for all entries in it_po
where banfn = it_po-banfn and
bnfpo = it_po-bnfpo and
loekz <> 'X'.
if it_ekpo[] is not initial.
select ebeln
lifnr
bedat
from ekko into table it_ekko
for all entries in it_ekpo
where ebeln = it_ekpo-ebeln.
select ebeln
ebelp
belnr
bldat
gjahr
buzei
matnr
DMBTR
shkzg
from ekbe into table it_ekbe
for all entries in it_ekpo
where ebeln = it_ekpo-ebeln and
ebelp = it_ekpo-ebelp .
*if it_ekbe-shkzg = 'H'.
**ekbe-dmbtr = ekbe-dmbtr * -1.
**ekbe-menge = ekbe-menge * -1.
*endif.
* select belnr
* gjahr
* ebeln
* ebelp
* from bseg into table it_bseg
* for all entries in it_ekpo
* where ebeln = it_ekpo-ebeln and
* ebelp = it_ekpo-ebelp.
select belnr
gjahr
ebeln
ebelp
matnr
bukrs
from rseg into table it_rseg
for all entries in it_ekpo
where ebeln = it_ekpo-ebeln and
ebelp = it_ekpo-ebelp.
endif.
if it_ekbe[] is not initial.
select mblnr
mjahr
zeile
menge
meins
ebeln
ebelp
matnr
werks
charg
from mseg into table it_mseg
for all entries in it_ekbe
where mblnr = it_ekbe-belnr and
mjahr = it_ekbe-gjahr and
zeile = it_ekbe-buzei and
bwart = '101'.
endif.
if it_rseg[] is not initial.
select belnr
gjahr
bldat
lifnr
ZUONR
RMWWR
WMWST1
from rbkp into table it_rbkp
for all entries in it_rseg
where belnr = it_rseg-belnr.
endif.
*if it_rseg[] is not initial.
* SELECT bukrs
* belnr
* gjahr
* buzei
* valut
* wrbtr
* augbl
* matnr
* lifnr
* ebeln
* INTO TABLE it_bseg
* FROM bseg
* FOR ALL ENTRIES IN it_rseg
* WHERE bukrs = it_rseg-bukrs and ebeln = it_rseg-ebeln and mwskz = ''.
*endif.
*loop at it_BKPF into wa_BKPF.
* values = wa_rbkp-belnr.
* value1 = wa_rbkp-gjahr.
data: aekey_1 type string .
*CONCATENATE values value1 into aekey_1.
* if it_BSEG[] is not initial.
*MESSAGE aekey_1 type 'I'.
SELECT single belnr xblnr awkey into wa_bkpf
from bkpf
where awkey = aekey_1.
SELECT SINGLe belnr
buzei
dmbtr
budat
shkzg
ebeln
lifnr
FROM bsik
INTO CORRESPONDING FIELDS OF wa_bsik
*FOR ALL ENTRIES IN it_bseg
WHERE
bukrs in s_bukrs and
lifnr = wa_rbkp-lifnr
and
*AND gjahr = it_bseg-gjahr
* AND
belnr = wa_bkpf-belnr.
insert wa_bsik into table it_bsik.
CLEAR wa_bsik.
CLEAR it_bsik.
*endloop.
* and ebeln = it_bseg-ebeln .
* select BELNR
** SHKZG
** DMBTR
* from bkpf into table it_bkpf
* for ALL ENTRIES IN it_rbkp
* where belnr = it_rbkp-belnr.
* ENDif.
IF IT_bseg[] IS NOT INITIAL.
select belnr
LIFNR
ebeln
DMBTR
ZUONR
from bsik into table it_bsik
for all entries in it_bseg
where belnr = it_bseg-belnr.
select belnr
LIFNR
ebeln
DMBTR
ZUONR
from bsak into table it_bsak
for all entries in it_bseg
where belnr = it_bseg-belnr.
ENDIF.
else.
message s002.
leave list-processing.
endif.
endform. " GETDATA
*& Form SETDATA
form setdata .
clear wa_po.
loop at it_po into wa_po.
c_index = sy-tabix.
********Calculate PR Quantity**********
clear wa_eban.
read table it_eban into wa_eban
with key banfn = wa_po-banfn
bnfpo = wa_po-bnfpo.
if sy-subrc eq 0.
move:wa_eban-menge to wa_po-menge,
wa_eban-meins to wa_po-meins.
endif.
********Calculate PO Quantity**********
clear wa_ekpo.
read table it_ekpo into wa_ekpo
with key banfn = wa_po-banfn
bnfpo = wa_po-bnfpo .
if sy-subrc eq 0.
move:wa_ekpo-txz01 to wa_po-txz01,
wa_ekpo-netpr to wa_po-netpr,
wa_ekpo-peinh to wa_po-peinh,
wa_ekpo-mtart to wa_po-mtart,
wa_ekpo-menge to wa_po-menge1,
wa_ekpo-meins to wa_po-meins1.
endif.
********Calculate Balance Quantity******
clear wa_mseg.
loop at it_mseg into wa_mseg
where ebeln = wa_po-ebeln and
ebelp = wa_po-ebelp.
c_grmenge = c_grmenge + wa_mseg-menge.
endloop.
move:wa_mseg-mblnr to wa_po-mblnr,
c_grmenge to wa_po-menge2,
wa_mseg-meins to wa_po-meins2,
wa_mseg-werks to wa_po-werks,
wa_mseg-charg to wa_po-charg.
wa_po-balqty = wa_eban-menge - c_grmenge.
clear : wa_rseg,wa_rbkp.
read table it_rseg into wa_rseg with key
ebeln = wa_mseg-ebeln
ebelp = wa_mseg-ebelp.
read table it_rbkp into wa_rbkp
with key belnr = wa_rseg-belnr
gjahr = wa_rseg-gjahr.
if sy-subrc eq 0.
move : wa_rbkp-belnr to wa_po-belnr,
wa_rbkp-bldat to wa_po-bldat,
wa_rbkp-RMWWR to wa_po-RMWWR,
WA_RBKP-WMWST1 TO WA_PO-WMWST1.
endif.
read table it_bseg into wa_bseg with key
ebeln = wa_rseg-ebeln
bukrs = wa_rseg-bukrs.
if sy-subrc eq 0.
move wa_bseg-belnr to wa_po-belnr_d.
endif.
* read table it_bkpf into wa_bkpf
* with key belnr = wa_ekbe-belnr.
* read table it_bseg into wa_bseg
* with key belnr = wa_bkpf-belnr.
CLEAR wa_bsik.
clear it_bsik.
read table it_bsik into wa_bsik
with key belnr = wa_bkpf-belnr.
* if wa_bsik-shkzg = 'H'.
* wa_bsik-DMBTR = wa_bsik-DMBTR * 1.
* endif.
if sy-subrc eq 0.
move : wa_bsik-belnr to wa_po-belnr,
wa_bsik-DMBTR to wa_po-DMBTR.
endif.
* clear wa_bsik.
* read table it_bsik into wa_bsik
* with key belnr = wa_bseg-belnr.
* if sy-subrc eq 0.
* move : wa_bsik-DMBTR to wa_po-DMBTR.
* endif.
*clear wa_bsak.
* read table it_bsak into wa_bsak
* with key belnr = wa_bseg-belnr.
* if sy-subrc eq 0.
* move : wa_bsak-DMBTR_C to wa_po-DMBTR_C.
* endif.
*clear : wa_rbkp.
*loop at it_bsik into wa_bsik.
*read table it_bsik into wa_bsik with key belnr = wa_rbkp-belnr.
*if sy-subrc eq 0.
* move : wa_bsik-DMBTR to wa_po-DMBTR.
* endif.
*endloop.
*********Assign Vendor,PO Date*********
clear wa_ekko.
read table it_ekko into wa_ekko
with key ebeln = wa_po-ebeln.
if sy-subrc eq 0.
move:wa_ekko-lifnr to wa_po-lifnr,
wa_ekko-bedat to wa_po-bedat.
endif.
*clear wa_ekko.
*read table it_ekko into wa_ekko
*with key lifnr = wa_po-lifnr.
*if sy-subrc eq 0.
* move: wa_bsik-DMBTR to wa_po-DMBTR.
* endif.
* call function 'ZSD_BATCH_CLASSIFICATION_DATA'
* exporting
** ch_charg = wa_po-charg
* ch_matnr = wa_po-matnr
* ch_werks = wa_po-werks
* tables
* cl_data = it_cl_data
** I_SEL_CHARACTERISTIC =
loop at it_cl_data into wa_cl_data.
if wa_cl_data-ausp1 ne '?'.
if wa_cl_data-atnam eq 'THICKNESS'.
move wa_cl_data-ausp1 to wa_po-thick.
elseif wa_cl_data-atnam eq 'LENGTH'.
move wa_cl_data-ausp1 to wa_po-length.
elseif wa_cl_data-atnam eq 'WIDTH'.
move wa_cl_data-ausp1 to wa_po-width.
elseif wa_cl_data-atnam eq 'GRADE'.
move wa_cl_data-ausp1 to wa_po-grade.
endif.
endif.
endloop.
modify it_po from wa_po index c_index.
clear :c_grmenge,wa_po,wa_ekpo,wa_mseg,c_index.
endloop.
endform. " SETDATA
*& Form FIELDCAT
* text
* --> p1 text
* <-- p2 text
form fieldcat .
perform buildfields using '1' 'BANFN' 'IT_PO' 'PR Number' '' ''.
* perform buildfields using '2' 'BNFPO' 'IT_PO' 'PR Item Number' '' ''.
perform buildfields using '2' 'KNTTP' 'IT_PO' 'A/c Assignment Cat' '' ''.
perform buildfields using '2' 'PSTYP' 'IT_PO' 'Item Cat' '' ''.
perform buildfields using '3' 'EKGRP' 'IT_PO' 'Purchase Group' '' ''.
perform buildfields using '4' 'BADAT' 'IT_PO' 'Request Date' '' ''.
perform buildfields using '5' 'MENGE' 'IT_PO' 'PR Quantity' 'X' ''.
perform buildfields using '6' 'MEINS' 'IT_PO' 'PR Unit' '' ''.
perform buildfields using '7' 'LIFNR' 'IT_PO' 'Vendor Number' '' ''.
perform buildfields using '8' 'EBELN' 'IT_PO' 'Purchasing Doc No' '' '' .
perform buildfields using '9' 'BEDAT' 'IT_PO' 'PO Date' '' ''.
perform buildfields using '10' 'MTART' 'IT_PO' 'Material Type' '' ''.
perform buildfields using '11' 'MATKL' 'IT_PO' 'Material Group' '' ''.
perform buildfields using '12' 'MATNR' 'IT_PO' 'Material Number' '' ''.
perform buildfields using '13' 'TXZ01' 'IT_PO' 'Material Desc' '' ''.
perform buildfields using '18' 'MENGE1' 'IT_PO' 'PO Quantity' 'X' ''.
perform buildfields using '19' 'MEINS' 'IT_PO' 'PO Unit' '' ''.
perform buildfields using '20' 'NETPR' 'IT_PO' 'Net Price' '' ''.
perform buildfields using '21' 'PEINH' 'IT_PO' 'Price Unit' '' ''.
perform buildfields using '22' 'MBLNR' 'IT_PO' 'GR Number' '' ''.
perform buildfields using '23' 'MENGE2' 'IT_PO' 'GR Quantity' 'X' ''.
perform buildfields using '24' 'MEINS2' 'IT_PO' 'GR Unit' '' ''.
perform buildfields using '25' 'BELNR' 'IT_PO' 'Invoice doc. number' '' ''.
perform buildfields using '26' 'BLDAT' 'IT_PO' 'Invoice Date' '' ''.
* perform buildfields using '26' 'BELNR_D' 'IT_POP' 'A/C Doc. No.' '' ''.
* perform buildfields using '26' 'AUGBL' 'IT_PO' 'Clearing Doc No.' '' ''.
perform buildfields using '26' 'DMBTR' 'IT_PO' 'OPEN AMOUNT' '' ''.
perform buildfields using '26' 'DMBTR' 'IT_PO' 'clear AMOUNT' '' ''.
* perform buildfields using '26' 'DMBTR_C' 'IT_PO' 'Clear balance' '' ''.
if ch_bal = 'X'.
perform buildfields using '27' 'BALQTY' 'IT_PO' 'Balance Quantity'
'X' ''.
endif.
perform buildfields using '26' 'WMWST1' 'IT_PO' 'TOTAL TAX ADDED' 'X' ''.
perform buildfields using '26' 'RMWWR' 'IT_PO' 'TOTAL AMOUNT IN INVOICE' 'X' ''.
endform. " FIELDCAT
*& Form BUILDFIELDS
* text
* -->P_0449 text
* -->P_0450 text
* -->P_0451 text
* -->P_0452 text
form buildfields using value(p_col_pos) like sy-cucol
value(p_fldname) type slis_fieldname
value(p_tabname) type slis_tabname
value(p_reptext) like dd03p-reptext
value(p_do_sum) type char1
value(hotspot) type char1.
wa_fcat-col_pos = p_col_pos.
wa_fcat-fieldname = p_fldname.
wa_fcat-tabname = p_tabname.
wa_fcat-reptext_ddic = p_reptext.
wa_fcat-do_sum = p_do_sum.
wa_fcat-hotspot = hotspot.
append wa_fcat to it_fcat.
clear wa_fcat.
endform. " BUILDFIELDS
*& Form DISPLAY
form display .
clear wa_layout.
wa_layout-zebra = 'X'.
wa_layout-colwidth_optimize = 'X'.
* wa_layout-box_fieldname = 'SEL'.
* wa_layout-edit = 'X'.
perform build_sort using 'BANFN' '1' 'X'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = sy-cprog
* I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND '
i_callback_top_of_page = 'TOP_OF_PAGE'
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
i_background_id = 'ALV_BACKGROUND'
* I_GRID_TITLE =
* I_GRID_SETTINGS =
is_layout = wa_layout
it_fieldcat = it_fcat
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
it_sort = it_sort
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
I_SAVE = 'A'
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_po[]
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. " DISPLAY
*& Form top_of_page
* text
form top_of_page. "#EC *
**********Create report header*********
refresh it_lshead.
clear wa_lshead.
**********To display date in header*********
* write: s_badat-low to c_low dd/mm/yyyy,s_badat-high to c_high
* dd/mm/yyyy.
* if s_badat-high is initial.
* concatenate 'Dated on' c_low into c_date separated by space.
* else.
* concatenate 'Dated between' c_low 'and' c_high into c_date separated
* by space.
* endif.
wa_lshead-typ = 'H'.
wa_lshead-info = 'PR To Payment History'.
* 'Pending Indents History -We had a requirement to retrieve "aging of receiveables" by customer. Basically, it goes thru each record and depending on the due date places the amounts in the following buckets (example). 0-30 day Overdue, 31-60 days Overdue, 61-90 days overdue, 30+ days overdue, 60+ days overdue) etc all the way to 6+ years overdue.
There are also cooresponding buckets for coming due analysis. For example, what is: 0-30 days coming due, 31-60 days coming due, 30+ days coming due, etc...
To do this, first I needed to be able be able to produce an open items statement at any given time in the past. Now, this seems impossible because of how the items go from open to cleared all the time. And an item that was open one month ago, may not be open anymore.
What I did was first remove any selections on item status. Then compare the posting date with teh key date in the past, if the posting date is less than or equal to the key date, keep the record.
Then compare the clearing date with the key date. First, keep all that are #. (This keeps all records still open from that posting date/key date)
Then, add another check for all items that were cleared after the key date (GT Key Date). This gives you the open items on that date.
Hope that makes sense. Let me know if you want clarification.
/smw -
Vendor Master Extraction from Legacy
Hi guys,
We have 2 different legacy systems here (4.5b and 4.6c) and I am trying to extract the vendor master from both of them and integrate them into the new mysap2004.
What is the best way to extract the vendor master along with the address , punchasing doc, bank details, partner functions,etc ? Any sample program for vendor master extraction is most welcome. Here is my extract layout.
ADDRESS
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
SZA1_D0100 Title (TITLE_MEDI) CHAR/30 Not used
ADDR1_DATA Name (NAME1) CHAR/40 Bring values over as is.
ADDR1_DATA Name (NAME 2) CHAR/40 Bring values over as is.
ADDR1_DATA Name (NAME 3) CHAR/40 Bring values over as is.
ADDR1_DATA Name (NAME 4) CHAR/40 Bring values over as is.
ADDR1_DATA Search Term 1 (SORT1) CHAR/20 Convert to HPC methodology.
O-First 8 char. of vendor name
R- First 8 char. of vendor name
B- First 8 char. of vendor name
ADDR1_DATA Search Term 2 (SORT2) CHAR/20 Bring values over as is.
ADDR1_DATA Street/House Number
(Street) CHAR/60 Bring values over as is.
ADDR1_DATA House Number
(HOUSE_NUM1) CHAR/10 Bring values over as is.
ADDR1_DATA Building (number or code)
(BUILDING) CHAR/20 Bring values over as is.
ADDR1_DATA Room or apartment number
(ROOMNUMBER) CHAR/10 Bring values over as is.
ADDR1_DATA Floor in building
(FLOOR) CHAR/10 Bring values over as is.
ADDR1_DATA c/o name
(NAME_CO) CHAR/40 Bring values over as is.
ADDR1_DATA Street 2
(STR_SUPPL1) CHAR/40 Bring values over as is.
ADDR1_DATA Street 3
(STR_SUPPL2) CHAR/40 Bring values over as is.
ADDR1_DATA Street 4
(STR_SUPPL3) CHAR/40 Bring values over as is.
ADDR1_DATA Street 5
(LOCATION) CHAR/40 Bring values over as is.
ADDR1_DATA City
(CITY1) CHAR/40 Bring values over as is.
ADDR1_DATA District
(CITY2) CHAR/40 Bring values over as is.
ADDR1_DATA City (different from postal city)
HOME_CITY CHAR/40 Bring values over as is.
ADDR1_DATA City postal code
(POST_CODE1) CHAR/10 Zip Code. Bring values over as is.
ADDR1_DATA Country
(COUNTRY) CHAR/3 Bring values over as is.
ADDR1_DATA Region (State, Province, County)
(REGION) CHAR/3 E.g., NJ New Jersey, CO Colorado, etc. Bring values over as is.
ADDR1_DATA Time Zone
(TIME_ZONE) CHAR/6 Bring values over as is.
ADDR1_DATA Transportation Zone
(TRANSPZONE) CHAR/10 Bring values over as is.
ADDR1_DATA Regional Structure Group
(REGIOGROUP) CHAR/8 Bring values over as is.
ADDR1_DATA P. O. Box
(PO_BOX) CHAR/10 Bring values over as is.
ADDR1_DATA P.O. Box Postal Code
(POST_CODE2) CHAR/10 Bring values over as is.
ADDR1_DATA Language Key
(LANGU) LANG/1 Bring values over as is.
SZA1_D0100 Telephone
(TEL_NUMBER) CHAR/30 Bring values over as is.
SZA1_D0100 Telephone Number Extension
(TEL_EXTENS) CHAR/10 Bring values over as is.
SZA1_D0100 Fax
(FAX_NUMBER) CHAR/30 Bring values over as is.
SZA1_D0100 Fax Extension Number
(FAX_EXTENS) CHAR/10 Bring values over as is.
SZA1_D0100 E-mail
(SMTP_ADDR) CHAR/240 Bring values over as is.
ADDR1_DATA Standard Communication Type
(DEFLT_COMM) CHAR/3 Bring values over as is.
ADDR1_DATA Data Line
(EXTENSION1) CHAR/40 Not used. Do not bring over field values.
Note: This field will be available to populate with other data during the conversion.
ADDR1_DATA Telebox
(EXTENSION2 CHAR/40 Not used. Do not bring over field values.
Note: This field will be available to populate with other data during the conversion.
ADDR1_DATA Comments
(REMARK) CHAR/50 Bring values over as is.
CONTROL
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
LFA1 Customer
(KUNNR) CHAR/10 Bring values over as is.
LFA1 Authorization
(BEGRU) CHAR/4 It is to be determined if this field will be used in the future. If yes, bring values over as is from HPC and populate with vendor account group code for Foods.
LFA1 Trading Partner
(VBUND) CHAR/6 Bring values over as is.
LFA1 Group Key
(KONZS) CHAR/10 Not used
LFA1 Tax Code 1
(STCD1) CHAR/16 Bring values over as is.
LFA1 Tax Code 2
(STCD2) CHAR/11 Bring values over as is.
LFA1 Fiscal Address
(FISKN) CHAR/10 Bring values over as is.
LFA1 Jurisdiction Code
(TXJCD) CHAR/15 Bring values over as is.
LFA1 VAT Registration No.
(STCEG) CHAR/20 Bring values over as is.
LFA1 Tax Office
(FISKU) CHAR/10 Bring values over as is.
LFA1 Tax Number
(STENR) CHAR/18 Bring values over as is.
LFA1 Industry
(BRSCH) CHAR/4 Bring values over as is.
LFA1 Train Station
(BAHNS) CHAR/25 Not used.
LFA1 Transportation Zone
(LZONE) CHAR/10 Bring values over as is.
LFA1 Actual QM Sys.
(QSSYS) CHAR/4 Bring values over as is.
LFA1 QM System To
(QSSYSDAT) DATS/8 Bring values over as is.
LFA1 DAK
(J_1FDAK) CHAR/8 Bring values over as is.
PAYMENT TRANSACTIONS
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
LFBK Bank Country Key
(BANKS) CHAR/3 Bring values over as is.
LFBK Bank Key
(BANKL) CHAR/15 Bring values over as is.
LFBK Bank Account
(BANKN) CHAR/18 Bring values over as is.
BNKA Bank Name
(BANKA) CHAR/60 Foods - Bring values over as is.
HPC Populate with Bank Account Number
LFA1 Alternative Payee
(LNRZA) CHAR/10 Bring values over as is.
LFA1 Individual Spec.
(XZEMP) CHAR/1 Bring values over as is.
LFA1 Spec. Per. Reference
(XLFZA) CHAR/1 Bring values over as is.
ACCOUNTING INFORMATION ACCOUNTING
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
LFB1 Recon. Account
(AKONT) CHAR/10 Bring values over as is.
LFB1 Sort Key
(ZUAWA) CHAR/3 Bring values over as is.
LFB1 Head Office
(LNRZE) CHAR/10 Bring values over as is.
LFB1 Authorization
(BEGRU) CHAR/4 Bring values over as is.
LFB1 Cash Mgmnt Group
(FDGRV) CHAR/10 Bring values over as is.
LFB1 Release Group
(FRGRP) CHAR/4 Bring values over as is.
LFB1 Minority Indicator
(MINDK) CHAR/3 Bring values over as is.
LFB1 Certification Date
(CERDT)
DATS/8 Bring values over as is.
LFB1 Interest Indicator
(VZSKZ) CHAR/2 Bring values over as is.
LFB1 Last Key Date
(ZINDT) DATS/8 Bring values over as is.
LFB1 Interest Cycle
(ZINRT) NUMC/2 Bring values over as is.
LFB1 Last Interest Run
(DATLZ) DATS/8 Bring values over as is.
LFB1 Withholding Tax Code
(QSSKZ) CHAR /2 Bring values over as is.
LFB1 Withholding Tax Country
(QLAND) CHAR /3 Bring values over as is.
LFB1 Recipient Type
(QSREC) CHAR /2 Bring values over as is.
LFB1 Exemption Number
(QSZNR) CHAR /10 Bring values over as is.
LFB1 Valid Until
(QSZDT) DATS/8 Bring values over as is.
LFB1 Exemption Authority
(QSBGR) CHAR /1 Bring values over as is.
LFB1 Previous Account No.
(ALTKN) CHAR /10 Do not bring over existing values. Will populate during vendor conversion when legacy vendor number is replaced by a new vendor number.
LFB1 Personnel Number
(PERNR) NUMC/8 Bring values over as is.
PAYMENT TRANSACTIONS ACCOUNTING
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
LFB1 Payment Terms
(ZTERM) CHAR/4 Refer to data mapping spreadsheet later in this spec.
LFB1 Tolerance Group
(TOGRU) CHAR/4 Bring values over as is.
LFB1 Credit Memo Terms
(GUZTE) CHAR/4 Bring values over as is.
LFB1 Chk. Double Inv.
(REPRF) CHAR/1 Bring values over as is.
LFB1 Chk. Cashing Time
(KULTG) DEC/3 Bring values over as is.
LFB1 Payment Methods
(ZWELS) CHAR/10 Refer to data mapping spreadsheet later in this spec.
LFB1 Alternate Payee
(LNRZB) CHAR/10 Bring values over as is.
LFB1 Individual Payment
(XPORE) CHAR/1 Bring values over as is.
LFB1 Bill of Exchange Limit
(WEBTR) CURR/13
Decimal/2 9999999999999.99 Bring values over as is.
LFB1 Payment Advance By EDI
(XEDIP) CHAR/1 Bring values over as is.
LFB1 Payment Block
(ZAHLS) CHAR/1 Bring values over as is.
LFB1 House Bank
(HBKID) CHAR/5 Not used. Do not bring forward existing values.
LFB1 Grouping Key
(ZGRUP) CHAR/2 Bring values over as is.
LFB1 Payment Method Supplement
(UZAWE) CHAR/2 Bring values over as is.
LFB1 Alternate Payee Indicator
(XLFZB) CHAR/1 Bring values over as is.
LFB1 Tolerance Group
(TOGRR) CHAR/4 Bring values over as is.
CORRESPONDENCE ACCOUNTING
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
LFB5 Dunning Procedure
(MAHNA) CHAR/4 Bring values over as is.
LFB5 Dunning Recipient
(LFRMA) CHAR/10 Bring values over as is.
LFB5 Last Dunned
(MADAT) DATS/8 Bring values over as is.
LFB5 Dunning Clerk
(BUSAB) CHAR/2 Bring values over as is.
LFB5 Dunning Block
(MANSP) CHAR/1 Bring values over as is.
LFB5 Legal Dunning Proceedings
(GMVDT) DATS/8 Bring values over as is.
LFB5 Dunning Level
(MAHNS) NUMC/1 Bring values over as is.
LFB1 Grouping Key
(MGRUP) CHAR/2 Bring values over as is.
LFB1 Local Processing
(XDEZV) CHAR/1 Bring values over as is.
LFB1 Acct. Clerk
(BUSAB) CHAR/2 Bring values over as is.
LFB1 Account with Vendor
(EIKTO) CHAR/12 Bring values over as is.
LFB1 Clerk at Vendor
(ZSABE) CHAR/15 Bring values over as is.
LFB1 Acct. Clk. Tel. No.
(TLFNS) CHAR/30 Bring values over as is.
LFB1 Clerks Fax
(TLFXS) CHAR/31 Bring values over as is.
LFB1 Clerks Internet
(INTAD) CHAR/130 Bring values over as is.
LFB1 Account Memo
(KVERM) CHAR/30 Bring values over as is.
PURCHASING DATA
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
LFM1 Order Currency
(WAERS) CUKY/5 Bring values over as is.
LFM1 Terms of Payment
(ZTERM) CHAR/4 Refer to data mapping spreadsheet later in this spec.
LFM1 Incoterms (Part 1)
(INCO1) CHAR/3 Refer to data mapping spreadsheet later in this spec.
LFM1 Incoterms (Part 2)
(INCO2)
CHAR/28 Bring values over as is.
LFM1 Minimum Order Value
(MINBW) CURR/13
Decimal/2 9999999999999.99 Bring values over as is.
LFM1 Schema group, vendor
(KALSK) CHAR/2 Bring values over as is.
LFM1 Pricing Date Cat.
(MEPRF) CHAR/1 Bring values over as is.
LFM1 Order Optim. Rest
(BOPNR) CHAR/4 Bring values over as is.
LFM1 Salesperson
(VERKF) CHAR/30 Bring values over as is.
LFM1 Telephone
(TELF1) CHAR/16 Bring values over as is.
LFM1 Acc. With Vendor
(EIKTO) CHAR/12 Bring values over as is.
LFM1 GR. Based Inv. Verif.
(WEBRE) CHAR/1 Bring values over as is.
LFM1 Auto.Eval. GR Setmt. Del.
(XERSY) CHAR/1 Bring values over as is.
LFM1 Auto.Eval. GR Setmt. Ret.
(XERSR) CHAR/1 Bring values over as is.
LFM1 Acknowledgement Reqd.
(KZABS) CHAR/1 Bring values over as is.
LFM1 Automatic Purchase Order
(KZAUT) CHAR/1 Bring values over as is.
LFM1 Subsequent Settlement
(BOLRE) CHAR/1 Bring values over as is.
LFM1 Subseq. Sett. Index
(BOIND) CHAR/1 Bring values over as is.
LFM1 B. Vol.Comp./Ag. Nec.
(UMSAE) CHAR/1 Bring values over as is.
LFM1 Doc. Index Active
(BLIND) CHAR/1 Bring values over as is.
LFM1 Returns Vendor
(KZRET) CHAR/1 Bring values over as is.
LFM1 Srv.-Based Inv. Ver.
(LEBRE) CHAR/1 Bring values over as is.
LFM1 ABC Indicator
(LFABC) CHAR/1 Bring values over as is.
LFM1 Mode Of Transport-Border
(EXPVZ) CHAR/1 Bring values over as is.
LFM1 Office of Entry
(ZOLLA) CHAR/6 Bring values over as is.
LFM1 Sort Criterion
(SKRIT) CHAR/1 Bring values over as is.
LFM1 PROACT Control Prof.
(PAPRF) CHAR/4 Bring values over as is.
LFM1 Revaluation Allowed
(XNBWY) CHAR/1 Bring values over as is.
LFM1 Grant Discount In Kind
(NRGEW) CHAR/1 Bring values over as is.
LFM1 Relevant for Price Determination
(PRFRE) CHAR/1 Bring values over as is.
LFM1 Relevant for Agency Business
(AGREL) CHAR/1 Bring values over as is.
LFM1 Shipping Conditions
(VSBED) CHAR/2 Bring values over as is.
LFM1 Purchasing Group
(EKGRP) CHAR/3 Bring values over as is.
LFM1 Planned Delivery Time
(PLIFZ) DEC/3 Bring values over as is.
LFM1 Confirmation Control
(BSTAE) CHAR/4 Bring values over as is.
LFM1 Unit of Measure Group
(MEGRU) CHAR/4 Bring values over as is.
LFM1 Rounding Profile
(RDPRF) CHAR/4 Bring values over as is.
LFM1 Price Marking Agreed
(LIPRE) CHAR/2 Bring values over as is.
LFM1 Rack jobbing service agreed
(LISER) CHAR/1 Bring values over as is.
LFM1 Order entry by vendor
(LIBES) CHAR/1 Bring values over as is.
LFM1 Serv. Level
(VENSL) DEC/4
Decimal/1 Bring values over as is.
PARTNER FUNCTIONS
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
WYT3 Partner Function
(PARVW) CHAR/2 Bring values over as is.
WRF02K Number (Partner)
(GPARN) CHAR/10 Map to new partner number in vendor correlation table.
ALTERNATE DATA
(Purchasing Data)
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
LFM2 Order Currency
(WAERS) CUKY/5 Bring values over as is.
LFM2 Terms of Payment
(ZTERM) CHAR/4 Refer to data mapping spreadsheet later in this spec.
LFM2 Incoterms (Part 1)
(INCO1) CHAR/3 Refer to data mapping spreadsheet later in this spec.
LFM2 Incoterms (Part 2)
(INCO2)
CHAR/28 Bring values over as is.
LFM2 Minimum Order Value
(MINBW) CURR/13
Decimal/2 Bring values over as is.
LFM2 Schema group, vendor
(KALSK) CHAR/2 Bring values over as is.
LFM2 Pricing Date Cat.
(MEPRF) CHAR/1 Bring values over as is.
LFM2 Order Optim. Rest
(BOPNR) CHAR/4 Bring values over as is.
LFM2 Salesperson
(VERKF) CHAR/30 Bring values over as is.
LFM2 Telephone
(TELF1) CHAR/16 Bring values over as is.
LFM2 Acc. With Vendor
(EIKTO) CHAR/12 Bring values over as is.
LFM2 GR. Based Inv. Verif.
(WEBRE) CHAR/1 Bring values over as is.
LFM2 Auto.Eval. GR Setmt. Del.
(XERSY) CHAR/1 Bring values over as is.
LFM2 Auto.Eval. GR Setmt. Ret.
(XERSR) CHAR/1 Bring values over as is.
LFM2 Acknowledgement Reqd.
(KZABS) CHAR/1 Bring values over as is.
LFM2 Automatic Purchase Order
(KZAUT) CHAR/1 Bring values over as is.
LFM2 Subsequent Settlement
(BOLRE) CHAR/1 Bring values over as is.
LFM2 Subseq. Sett. Index
(BOIND) CHAR/1 Bring values over as is.
LFM2 B. Vol.Comp./Ag. Nec.
(UMSAE) CHAR/1 Bring values over as is.
LFM2 Doc. Index Active
(BLIND) CHAR/1 Bring values over as is.
LFM2 Returns Vendor
(KZRET) CHAR/1 Bring values over as is.
LFM2 Srv.-Based Inv. Ver.
(LEBRE) CHAR/1 Bring values over as is.
LFM2 ABC Indicator
(LFABC) CHAR/1 Bring values over as is.
LFM2 Mode Of Transport-Border
(EXPVZ) CHAR/1 Bring values over as is.
LFM2 Office of Entry
(ZOLLA) CHAR/6 Bring values over as is.
LFM2 Sort Criterion
(SKRIT) CHAR/1 Bring values over as is.
LFM2 PROACT Control Prof.
(PAPRF) CHAR/4 Bring values over as is.
LFM2 Revaluation Allowed
(XNBWY) CHAR/1 Bring values over as is.
LFM2 Grant Discount In Kind
(NRGEW) CHAR/1 Bring values over as is.
LFM2 Relevant for Price Determination
(PRFRE) CHAR/1 Bring values over as is.
LFM2 Relevant for Agency Business
(AGREL) CHAR/1 Bring values over as is.
LFM2 Shipping Conditions
(VSBED) CHAR/2 Bring values over as is.
LFM2 Purchasing Group
(EKGRP) CHAR/3 Bring values over as is.
LFM2 Planned Delivery Time
(PLIFZ) DEC/3 Bring values over as is.
LFM2 Confirmation Control
(BSTAE) CHAR/4 Bring values over as is.
LFM2 Unit of Measure Group
(MEGRU) CHAR/4 Bring values over as is.
LFM2 Rounding Profile
(RDPRF) CHAR/4 Bring values over as is.
LFM2 Price Marking Agreed
(LIPRE) CHAR/2 Bring values over as is.
LFM2 Rack jobbing service agreed
(LISER) CHAR/1 Bring values over as is.
LFM2 Order entry by vendor
(LIBES) CHAR/1 Bring values over as is.
LFM2 Serv. Level
(VENSL) DEC/4
Decimal/1 Bring values over as is.
ALTERNATE DATA
(Partner Functions)
Source File /Table Name Field Name Field Type / Length Format Rule / Logic
WYT3 Partner Function
(PARVW) CHAR/2 Bring values over as is.
WRF02K Number (Partner)
(GPARN) CHAR/10 Map to new partner number in vendor correlation table.Hi Shareen,
Have you looked Master Data Distribution (ALE) for Vendor since your legacy system are SAP?
Please check t/code BD14 (Send Vendor Master Data) and BD15 (Get Vendor Master Data).
Hope this will give you an idea.
Regards,
Ferry Lianto
Maybe you are looking for
-
ITunes Encountered a problem and needs to close on startup
Hi - I'm running the latest version of iTunes (7.1.1.5) on a desktop computer with Windows XP (SP2) and I've had no problems with it up until today. After using iTunes fine yesterday, I tried to open it up today and I get a Windows error message sayi
-
Hi Gurus, Please help me in configuring the APP in such a way where i can save the DME file, so that it can be uploaded to bank site. I want to understand the configuration and process flow. What kind of payment term and program it uses? Please rever
-
Tablespace 0% free - Oracle / NT
My client copies are failing due to lack of tablespace room. IN DB02 I have the following info: Total number 6 Total size/kb 152.750.080 Total free/kb 2.607.104 1 %
-
How to change combobox backgroundcolor in flex4
hi i am working on flex 4 application in which i need to customize my combobox.please let me know how to change the background color of combobox.is there any way? Thanks in advance Vineet osho
-
My iPad 2 will not connect to my Time Capsule
My iPad 2 will not connect to my Time Capsule. Both my Macbook and iPhone4 are connected. It finds the Wifi network, but will not log on. Any idea why?