User define document
hi all
Here my question is what is the business object for user define document?
please give me reply
Thanks & Regards
Amit
Hi Amit,
There's some additional information in this thread:
DI API for UDO !!!
Regards,
Niall
Similar Messages
-
Archive link : user defined document name in attachment list
Hi
I have created a content repository (OAC0), document type and had linked the doc n content rep with an SAP business object.
I am able to attach documents to business object using archive link feature.
If I attach more than one documents to an SAP business object, for same document type, all the documents are displayed with same name in the attachment list.
Is there any way by which I can show the original document name as selected by user?
Thanks in advance.
Regards
Ruhi Hirahi i have this problem myself all I know is that the original names are used for the following document types
HRIBENEFIT PREL FAX 0053 -
HRIBESCHKI PREL FAX 0021 2
HRICERTIFI PREL FAX 0024 -
HRICOLFOTO PREL FAX 0002 -
HRICONTRAC PREL FAX 0016 -
HRICONTRAD PREL FAX 0016 -
HRIDATASEC PREL FAX 0002 -
HRIDATES PREL FAX 0019 10
HRIDIPLOMA PREL FAX 0022 +
HRIEMPFOTO PREL FAX 0002 -
HRIEVALUAT PREL FAX 0025 -
HRIHEALTHI PREL FAX 0013 -
HRIMASTERD PREL FAX 0002 -
HRIPERAPPR PREL FAX 0019 10
HRIREFEREN PREL FAX 0023 -
HRIRESUME PREL FAX * -
HRISOCIALS PREL FAX 0013 -
HRISTUDID PREL FAX 0013 -
HRITAXCARD PREL FAX 0012 -
HRIVL PREL FAX 0010 +
HRIWORKPER PREL FAX 0016 -
read this thread:
Link:[A couple of things regarding GOS and ArchiveLink for attaching Business Doc;
i hope this wiil help you a least a little bit -
Manual document number in User-Defined Object
Hi Experts,
I have a user-defined object of document type. I am trying to post a document using the General Service. However, I cannot assign manual document number. There is no handwritten property available. Is it possible to assign manual document number in user-defined objects using the DI API?
Thanks.
MelvinHi,
This issue has been resolved. For the benefit of those who will be encountering this error, it was resolved by manually assigning the Handwrtten field to 'Y'. Here is the code fragment:
shipmentHeader.SetProperty("Handwrtten", 'Y')'; -
Use User Defined Tables in a Marketing Document on Row Level
Hello All,
Is there a way to use the fields from a User Defined Table in a Marketing Document on a row level such as for example Purchase Order.
If this is not possible directly, any known work-arounds?
Thanks for your effort,
gr.
FreekThanks for your idea/workaround. To be more precize, we don't want to pull information from a UDT field into a marketing document, but from the row-level we like to write information to an UDT field.
Any idea?
gr.
Freek -
Document Numbering Issue in user defined form
Dear All,
There is UDO with manageseries = true. Series and DocNum fileds are binded to database (Combobox And Edittext). I can easly get next number and assign to Docnum field while selecting series from Combobox. The problem is when i choose series diferent than default and add document i get warning message "The actual posted document number is :XXXXXXX". No matter which series i choose system always takes default one. I found other threads accourding to this issue but no solution found.
Regards,
GuruHello,
How guru. Is your problem solved? As i'm have a similar peroblem -
I have created a user form using screen painter and want to save data to my user defined table -
Document - U_OPCD
Document Rows - U_OPCD1
First i was using the SAPbobsCOM.UserTable object to save data to my usertable. But after registering it as a UDO (as i wanted document numbering series for it) i'm unable to save data using this SAPbobsCOM.UserTable object. As i'm uable to access the default fields (DocNum, DocDate, Series....) added to the table by SAP.
Can u help please? -
Badi: for user defined fields in Budget Entry Document
HI,
I am implmenting BADI for user defined field in budget entry document definatin name 'FMBW_CUSTOMER' . I have created two fields in include 'CI_FMBH' and also created a sub screen and assign this subscreen to badi. I have called get data and put data methods in PBO and PAI. like this.
<b>
PBO
create object grid1.
CALL METHOD grid1->if_ex_fmbw_customer~get_data_from_screen
importing doc_header = doc_header.</b>
<b>PAI
CALL METHOD grid1->if_ex_fmbw_customer~put_data_to_screen
EXPORTING
doc_header = doc_header
processing_mode = 'CRE'.</b>
But the system is not saving these fields in database.
What could be the problem .Hi, did you have any advance on this issue?
-
Display of document line items with user defined fields
Hi all,
I have created two user defined fields in CI_COBL structure and they are available on OBC4 screen. I maintained optinal for entry in the screen layout. I posted one document with user defined fields and saved.
Now the document is updated in BSEG table. I then display the document, and it display the doucment
But when i double click on the one of the line items system gives an error that there is some problem in customising and entries missing in Table COBM.
I checked OXK3 and see that in field information for user fields, it says entries maintained in table COBM.
But still i couldnt display my line items in detail.
Any solutions
Thanks in advance
RamYes your are looking at the correct sap note.
Things look pretty straight forward in the notes documentation.
1)Extend the VBKRED structure with the fields you want.
2)Populate thse values in the user exit in program DBKMVF02 in FORM routine USER_EXIT_FUELLEN_XVBKRED.
For extending a standard structure you need to create a zstructuree in se11 first and then append it to the standard structure.
In your case you need to extend VBKRED_EX1 structure rather than VBKRED.
Regards,
ravi -
Linking the UDO of type document to user defined field
I created the user defined field and i need to link the UDO of type document to that user defined field. How to link the UDO to user defined field.
Dear
do you mean to add a user defined field to an document type UDO? if this is the case,
1. create the UDT
2. go to Tools-> customization tools->User Defined Fields-Management, expand User Tables, add the udf to the UDT
3. register the UDT as UDO.
best regards,
xiaodan an -
Create User-defined field for Marketing Documents
I need to create a User-Defined field for Marketing Documents under Title and Rows.
I need to do it via .NET instead of manually go into SAP to create it.
Does anyone can give me idea on how to do this?Hi David,
There are examples of how to do this in the SDK samples (look for MetaDataOperations project in the DI samples).
There are also examples in the SDK help. Here's one:
Private Sub AddUserField()
'// The UserFieldsMD represents a meta-data object that allows you
'// to addremove fields from tables or change the fields' characteristics
Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
'// In any meta-data operation there should be no other object "alive"
'// but the meta-data object, otherwise the operation will fail.
'// This restriction is intended to prevent a collisions.
'// The meta-data object needs to be initialized with a
'// regular UserFields object
Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
'// When adding user tables or fields to the SAP Business One database
'// use a prefix identifying your partner name space
'// this will prevent collisions between the various partners add-ons
'// SAP's name space prefix is "BE_"
'// Set the Fields' mandatory properties
oUserFieldsMD.TableName = "OCRD" '// BP table
oUserFieldsMD.Name = "BE_UserField1"
oUserFieldsMD.Description = "A user field"
oUserFieldsMD.Type = db_Alpha '// am alphanumeric type
oUserFieldsMD.EditSize = 20
'// Add the field to the table
oUserFieldsMD.Add
End Sub
Kind Regards,
Owen -
User defined field in marketing documents
Hi All,
How to add user defined field in marketing documents using Programtically.
Thanks,
P.Suresh Kumar.Private Sub AddUserField()
'// The UserFieldsMD represents a meta-data object that allows you
'// to add\remove fields from tables or change the fields' characteristics
Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
'// In any meta-data operation there should be no other object "alive"
'// but the meta-data object, otherwise the operation will fail.
'// This restriction is intended to prevent a collisions.
'// The meta-data object needs to be initialized with a
'// regular UserFields object
Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
'// When adding user tables or fields to the SAP Business One database
'// use a prefix identifying your partner name space
'// this will prevent collisions between the various partners add-ons
'// SAP's name space prefix is "BE_"
'// Set the Fields' mandatory properties
oUserFieldsMD.TableName = "OCRD" '// BP table
oUserFieldsMD.Name = "BE_UserField1"
oUserFieldsMD.Description = "A user field"
oUserFieldsMD.Type = db_Alpha '// am alphanumeric type
oUserFieldsMD.EditSize = 20
'// Add the field to the table
oUserFieldsMD.Add
End Sub -
User-defined tagged structures in Documents
Hi, here's my situation. I'm trying to build an interface for users to create, edit, and view information that is marked up with two types of tags. The first type is structural and function pretty much identically to XML tags. Not a problem, really, if that's all I wanted. However, the second type of tags are structure-independent (i.e. can start and end anywhere) and thus don't work as part of an XML document.
Here's an example:
<Start>
Starting here...
<1>Hey, this is <A id = "blue">pretty </1>
<2>cool</A id = "blue"></2>
</Start>
the "Start" and "1" tags are the structure tags and the "A" is what I call a floating tag. My plan is to have the user perform various operations on both sets of tags, such as adding of deleting them, moving the start or end, swapping between various stored content, etc.
Anyway, I've been banging my head against the wall trying to integrate this with the StyledDocument interface, hopefully by slightly extended the DefaultStyledDocument class. I oculd run the whole thing with Positions and insertString() and delete()'s, but I feel as if there should be something that I can hook in with that let's me do this.
I've been hoping that the Element interface would be my savior here, but that seems to be getting further and further from happening the more I screw around with it.
Anyway, if you've gotten this far, thanks for your time and interest. Here are my questions:
1) Is there any way to implement the Element interface and then insert my classes into a DefaultStyledDocument?
2) Is there anyway of using the createBranchElement and createLeafElement from AbstractDocument to insert Elements into an already filled Document?
3) When using the ElementSpec methods of inserting Elements, is there any way of getting the created Elements a la the createXXXElement methods from AbstractElement?
4) After I get an Element in a Document, is there any simple way of getting it a reference to it based on position in the Document? Also, is there a programmatic way of removing it from the Document?
5) Am I totally on the wrong track here? Is there some really easy way of pulling this off that I'm just overlooking?
Again, thanks for your time,
Steve ErdmanHi Jack,
Here they hav explained clearly pls go through the link below USER DEFINED INCLUDE STRUCTURES
http://www.michaelmanagement.com/forum/uploads/20070621_164819_OSS_335065_-_Us.pdf
Datasourceenhancement
Below are the steps to enhace a data source.
log on to r/3
1..R/3sys, enter RSA7, SELECT UR DS(0FI_GL_4), SELECT DISPLAY ENTRIES,
2.Select Delta Update and Execute.
3.now u can see the records if at all they r available.
4.Now Check The Data in u2018smq1u2019 in R/3 and Execute.
5.Select ur Data source now.
6.Display Entries.
if at all any entries are there it display in the form of queues
if u find any where data , it must be scheduled to ur data target using Info packages.
Now let us see How to Enhance the Data source.
7.R/3, Enter RSA6., select ur Data source, then Click on enhance extract structure.
8. Now it populates a structure name. Like this u201CZADTFIGL_4u201D. Go with continue
9.Give the Description.
10. Under Component Give the Description of the fields u want to add Starting with ZZ
11. Under component type give the concerned Technical names OF RELEVANT FIELDS in r/3. AND u201CENTERu201D
12. SAVE
13.Give The Package go with save, request no go with continue.(or create a new request)
14. Now check and activate.
15. go back from current screen select ds and go with change. Message continue, Request no continue
16.now find ur newly added fields in ds, deselect hide flag and field only flag(check box)
17. So far u have added field to ur DS, now u need to populate Data to UR Newly Added fields by writing user exit.
Enter CMOD in R/3, give the project name , go with Create.
18. Give the Description and Save
log on to bw , rsa1-source systems, find ur ds replicate ds
Now Devolope Required fields in Bw
Add to ur communication structure,
apply the Transfer rules ,
Add to ur Target
Recreate Update rules.
Schedule the data..
Regards,
Marasa. -
Base Document and Target Document Menu for User Defined Forms
Hi Experts,
I am facing a problem regarding enabling the menu "Base Document" Menu UID="5898" and "Target Document" Menu UID="5899" . Both of these menu Items are not enabled for User Defined Form .Actually I have developed a user Defined form for Purchase Requisition that targets Purchase Order . User can Copy Line Items From Purchase Requisition to Purchase Order and I am tracking the DocEntry and LineId of PR into PO Item's using UDS . I want to Open this PR Document upon Click of BaseDocument Menu .I have tried all the options. I have used Form.enableMenu() method also . But none of those options work for this menu . I ahve also searched about this problem i this forum also but there is no soultion so far posted regarding this.
I really want to confirm whether it is possible or not using SDK for User Defined Forms . Is there any possiblity of implementing any WorkArounds and Having this feature implemented .
I am Expecting a true solutions as this Forum has so many Experienced Experts .
Thanks and Regards,
Pooja Singh.Hello Poja,
It is not possible, because the requested menus are depending on the forms, and the are not exists,
WorkAround:
add the menus to the User Defined forms, and use right click to activate them:
oForm.Menu.Add("5898", "Base Document", BoMenuType.mt_STRING, oForm.Menu.Count)
oForm.EnableMenu("5898", True)
And hanle the menu event when you clicked them and the form is your custom form.
Regards,
János -
Error while processing a user defined screen
Dear Experts,
We have developed an add on for our client in which we have a user defined screen before adding the GRPO. While adding that we are getting the error to generate this document first define the numbering series in the administration module.
this is happening only after we upgraded to the 2007 B PL 10 version. till that there was no problem. We are unable to remove and replace the UDO and UDT as we have data in it.
due to this we are unable to proceed with the GRPO.
Please help us.
thanks and regards,
Yeshwanth PrakashHi,
Please search the forum before posting a new message.
There are endless posts about that error.
Regards,
Vítor Vieira -
Issue with xsd Data type mapping for collection of user defined data type
Hi,
I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
Here is the code snippet.
sample.java
@WebMethod
public QueryPageOutput AccountQue(QueryPageInput qpInput)
public class QueryPageInput implements Serializable, Cloneable
protected Account_IO fMessage = null;
public class QueryPageOutput implements Serializable, Cloneable
protected Account_IO fMessage = null;
public class Account_IO implements Serializable, Cloneable {
protected ArrayList <AccountIC> fintObjInst = null;
public ArrayList<AccountIC>getfintObjInst()
return (ArrayList<AccountIC>)fintObjInst.clone();
public void setfintObjInst(AccountIC val)
fintObjInst = new ArrayList<AccountIC>();
fintObjInst.add(val);
Public class AccountIC
protected String Name;
protected String Desc;
public String getName()
return Name;
public void setName(String name)
Name = name;
For the sample.java code, the wsdl generated is as below:
<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions
name="SimpleService"
targetNamespace="http://example.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
>
<wsdl:types>
<xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://example.org/types"/>
<xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
</xs:schema>
<xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://examples.org"/>
<xs:complexType name="queryPageOutput">
<xs:sequence>
<xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="accountEMRIO">
<xs:sequence>
<xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
<xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
<xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
<xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
<xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
<xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="queryPageInput">
<xs:sequence>
<xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
<xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
<xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
<xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
<import namespace="http://example.org/types"/>
<xsd:complexType name="AccountQue">
<xsd:sequence>
<xsd:element name="arg0" type="ns1:queryPageInput"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="AccountQue" type="tns:AccountQue"/>
<xsd:complexType name="AccountQueResponse">
<xsd:sequence>
<xsd:element name="return" type="ns1:queryPageOutput"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
</schema>
</wsdl:types>
<wsdl:message name="AccountQueInput">
<wsdl:part name="parameters" element="tns:AccountQue"/>
</wsdl:message>
<wsdl:message name="AccountQueOutput">
<wsdl:part name="parameters" element="tns:AccountQueResponse"/>
</wsdl:message>
<wsdl:portType name="SimpleService">
<wsdl:operation name="AccountQue">
<wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
ns1:Action=""/>
<wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
ns1:Action=""/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="AccountQue">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SimpleService">
<wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
<soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
Can some one help me with this.
Thanks,
Sudha.Did you try adding the the XmlSeeAlso annotation to the webservice
@XmlSeeAlso({<package.name>.AccountIC.class})
This will add the schema for the data type (AccountIC) to the WSDL.
Hope this helps.
-Ajay -
Opening a Crystal Report in B1 8.8 in a User Defined Form representing UDO
Hi Experts,
Is it possible to open a Crystal Report from a User Defined Form representing my UDO?
I had developed a 'Vendor Quotation' UDO and its User Defined Form
I wanted to show the report while clicking the Preview menu in SAP B1 8.8 toolbar.
I have created the Crystal report and used the record selection as {@OVQT.DocEntry} = {DocKey@}
Please help
Also, is it possible to add Print layout and assign a default Print layout to this User Defined Form?
Thanks in advance
Regards
ArunHi,
I also face the same problem. I make a master type using UDO. But i want to print it.
In my opinion ( i haven't tried this way ). If we make a UDO ( master or document type ) , we will find the docentry and object field in our UDT. Both of these will connect between SAP form and Crystal report. In crystal report we select the tmsp_doclinetypelayout. It is a store procedure which will connect between SAP form and CR. Before that try to modify this SP by adding the udo object.
Fyi, if i'm not mistake dockey is connected to docentry SAP form.
Thanks
regards
bodhi86
Maybe you are looking for
-
How can I "Save" more than 1 page at a time?
Firefox 4.0.1. Safari 5.0.5. iMac OS10.6.7. Just started using Firefox. Can't figure out how to Save more than 1 page at a time. Tried to save 3pp article in NY Times, several times in several ways. No deal. Went back to Safari and did it easily. Pro
-
I can no longer paste into my google search bar after updating to mavericks
i just updated my mac to mavericks and now my google search bar does not work when content is being pasted into it. Anyone have some suggestions/quick fixes?
-
BW Authorizations - Query variable with processing mode as "customer exit"
Hi, Iam new to BW authorizations and have not yet worked on customer exit before. I was going through the documentation at various sites but I could not get the end to end description on how the query process( when using a variable for an InfoObject)
-
Itunes can't connect to Internet
Topic title Diagonistics : MicrosoftWindows 7 Ultimate Edition Service Pack 1 (Build 7601) DellInc. Studio 1535 iTunes10.3.1.55 QuickTime7.6.9 FairPlay1.11.17 AppleApplication Support 1.5.2 iPodUpdater Library 10.0d2 CDDriver 2.2.0.1 CDDriver DLL 2.1
-
How to send pdf file from iphone 5s to iphone 4s
want to send files from iphone 5s to iphone 4s, tried downloading bluthooth apps but does not send. i dont know how to do it.