on 07-13-2005 3:10 PM
Hi
I use the netConnector 2.0 and run the bapi Bapi_Adv_Med_Get_Variant_List.
it's working but the results in the field "Lang" of the BAPIADMVLTable is truncated to one character (instead of 2 normally e.g. "EN" become "E").
In other hand when i use the bapi with se37 transaction the tables are corrects.
What happened to the last character?
yes our systems are 4.6b version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i already tried to change the global lenght to 15 and to 2 the "lang" field and a random character apeared but not the one excepted
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
[RfcStructure(AbapName ="BAPIADMVL" , Length = 14)]
[Serializable]
public class BAPIADMVL : SAPStructure
{
/// <summary>
/// Product catalog number
/// </summary>
[RfcField(AbapName = "PRODCAT", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 10, Offset = 0)]
[XmlElement("PRODCAT", Form=XmlSchemaForm.Unqualified)]
public string Prodcat
{
get
{
return _Prodcat;
}
set
{
_Prodcat = value;
}
}
private string _Prodcat;
/// <summary>
/// Product catalog variant
/// </summary>
[RfcField(AbapName = "VARIANT", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 3, Offset = 10)]
[XmlElement("VARIANT", Form=XmlSchemaForm.Unqualified)]
public string Variant
{
get
{
return _Variant;
}
set
{
_Variant = value;
}
}
private string _Variant;
/// <summary>
/// Language keys
/// </summary>
[RfcField(AbapName = "LANGU", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 1, Offset = 13)]
[XmlElement("LANGU", Form=XmlSchemaForm.Unqualified)]
public string Langu
{
get
{
return _Langu;
}
set
{
_Langu = value;
}
}
private string _Langu;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please go to the definition of the BAPIADMVL class (in BAPIADMVL.cs / .vb) and go to the property definition of "Lang". Please paste the property defintion here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.