Customisation SAPB1-2005
hi all,
iam new in SAP B1-2005 ,here we started Customisation of SAPB1 my modules are like thisie
1.)Purchasing A/P ->
1.1)Goods Receipt P.O -->Step1)In this i had to modify the Menu Item to be changed as "Material Inward Receipt"(Requirement).
Where iam confusing that like when i press the in sapb1 present main menu ie Menu item-"2036"-Goods Receipt P.O its event message is comming but,that Menu item name is not Changing i return my code like this
SBO_Application.Menus.Item("").String = "&Material Inward Receipt" is this correct way or n't?? plz respond this Requirement asap with Clear information??
Regards
ANAND
hi anand,
Do one thing, go to "Goods Receipt P.O "
perss control and double click...
u can change the label. this is easiest way..
if satisfied reward points...
nirdesh
Similar Messages
-
SAPB1 2005 B in windows 2008 server
Hi Friends,
SAPB1 2005 B & 2007B Is it working on Windows 2008 server, i have seen in sizing guide given by SAP, but in that they are not given abour 2008 server family...
anybody help me .....
VenkatSorry, I haven't tried it. Maybe someone in forum can give you the result who may try it. And SAP hasn't officially anounced the support of Windows 2008 yet.
It is MS's responsibility to keep the compatibility of OS. Mostly it should work fine for B1 in window 2008, but no garantee...
Regards,
-yatsea -
XL Reporter for Patch level 42 SAPB1 2005 b
Hi all,
from where to get XL Reporter and Copy Express Add On for patch lvel 42.
Thanks,
NeetuI Think there are some problems with your SUserID.
Iam able to see the Updates in following path
Updates for SAP Business One->SAP Business One 2005->SAP BUSINESS ONE 2005 B
I get the following links
SAP BUSINESS ONE 2005 B
B1 ADD-ON - BC SETS 2005 SP01
Win32
B1 ADD-ON - BRANCH CONS.BR 2.0
Win32
B1 ADD-ON - COPY EXPRESS 05SP1
Win32
B1 ADD-ON - FIXED ASSETS 05SP1
Win32
B1 ADD-ON - OUTLOOK INT. 05SP1
Win32
B1 ADD-ON - PAYMT ENGINE 05SP1
Win32
B1 ADD-ON - XL REPORTER 05SP1
Win32
SAP BUSINESS ONE 2005 B
Win32
SAP BUSINESS ONE ADD-ON 05SP1
Win32 -
Hi,
i created the UDO object and Table as "document"
i want to see all the data in Grid. and i want to update data in that grid itself.
atlast i want to press "update" button it will update in the database.
for this, i took SDK Sample example. ""Matrix and Datasources"
but data is not getting updated in that database. why? Data is not getting save.
but after pressing UPDATE , " operation completed successfully" message is comming. but data is not stored in database. plz help me.
plz help me asap.
regards
RavikumarHi Ravikumar,
<b>Please be more specific in the subjects of your posts!!!!</b>
Datasources ARE only "Sources" - not "Sinks" in general.
You have to specify the (UDO or B1) object type for the form.
...and the Grid (as discussed I think a couple of times in this Forum) does not work with UDOs (so far...); you will have to use DI API to save the data...
Please(!) check out the E-learning here and the information available in SDK Helpcenter (Tutorial, HowTos etc).
...and don't be confused by the " operation completed successfully" message...
HTH,
Frank -
Delete Last Row in Matrix on SBO 2005
Hi,
Im using SAPB1 2005 SP1 with B1DE.
I've seen a post that indicates that the following code should delete a row from a matrix (even the last row) when using SBO 2005
I still find that all rows except last row of matrix are removed from the database.
<b>How do I delete the last row from the Del button event handler????</b>
I'm using
<i> [B1Listener(BoEventTypes.et_CLICK, false)]
public virtual void OnAfterClick(ItemEvent pVal)
bool ActionSuccess = pVal.ActionSuccess;
Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);
Item item = form.Items.Item("del");
Button button = ((Button)(item.Specific));
// ADD YOUR ACTION CODE HERE ...
int row;
Matrix oMtx = (Matrix)form.Items.Item("mtx_0").Specific;
DBDataSource oDBDS = (DBDataSource)form.DataSources.DBDataSources.Item("@SD_POOLCONTRCT_LINE");
row = oMtx.GetNextSelectedRow(0, BoOrderType.ot_SelectionOrder);
oMtx.DeleteRow(row);
if (oMtx.RowCount == 0)
oDBDS.RemoveRecord(0);
if ((form.Mode != BoFormMode.fm_ADD_MODE) | (form.Mode != BoFormMode.fm_UPDATE_MODE))
form.Mode = BoFormMode.fm_UPDATE_MODE;
}</i>Hi Ben,
[B1Listener(BoEventTypes.et_CLICK, false)]
public virtual void OnAfterClick(ItemEvent pVal)
bool ActionSuccess = pVal.ActionSuccess;
Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);
Item item = form.Items.Item("del");
Button button = ((Button)(item.Specific));
// ADD YOUR ACTION CODE HERE ...
int row;
Matrix oMtx = (Matrix)form.Items.Item("mtx_0").Specific;
DBDataSource oDBDS = (DBDataSource)form.DataSources.DBDataSources.Item("@SD_POOLCONTRCT_LINE");
Rest of your code will remain same.
I am making the modification here. I am using the RowCount property that gives me the address of the last row of the matrix.
<b>row = oMtx.RowCount;</b>
Every time this will return you the last row and that row will be deleted.
<b>row = oMtx.RowCount;</b>
oMtx.DeleteRow(row);
if (oMtx.RowCount == 0)
oDBDS.RemoveRecord(0);
if ((form.Mode != BoFormMode.fm_ADD_MODE) | (form.Mode != BoFormMode.fm_UPDATE_MODE))
form.Mode = BoFormMode.fm_UPDATE_MODE;
Regards,
Prashant -
Updating and Loading a Matrix Row with Mix of DB and Non DB fields
Hi
I'm using SAPB1 2005 SP1 PL14 with B1DE 1.3
I have a matrix on a form that was generated by the UDO Form Generator. The Matrix contains data associated from a Document Lines table.
The underlying table and (therefor the matrix as well) only had 1 user field (column)
I've added a set of additional (read only) columns to the matrix together with supporting non db user datasources for each column. I've bound the new columns to the user datasources.
The new columns are only informational and should display data associated with the actual db field (column) in the matrix.
I require assistance / advice with 2 requirements:
<i>Requirement 1.
When loading the matrix, I'd like the non DB columns to be populated with data associated with the actual DB field.</i>
<i>Requirement 2.
When Adding / Updating the actual DB field in the matrix, I'd like the Non DB columns to be populated with the assocaited data.</i>
I've managed to get requirement 2 working by using a matrix onValidate Event. (not sure if this is the best approach?)
Any idea how I can achieve requirement 1 ?
Cheers,
BenHi Trinidad,
Putting the additaional columns in the table will result in me storing redundant info in the specific table.
The values are already stored in other related tables and I'd just like to display them as additional info fields.
.Ben -
Problem in document number auto generation
Dear All,
I have created a screen in this screen,i want to generate a auto generate number
for that i have write a code but when am executing the program in VS2005,the form was loaded in SAPB1 2005,But am not getting the auto generate number in the particular coloumn.
It shows an error like pbject reference not set to an instance of an object
the code is,
Private Sub DCNumber()
Try
oForm = SBO_Application.Forms.Item("FormEditor")
Dim oRs As SAPbobsCOM.Recordset
oRs = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
oRs.DoQuery("Select DocNum IS NULL THEN '1' ELSE DocNum+1 from @SCDC")
Dim Auto As String = oRs.Fields.Item(0).Value
oForm.Freeze(True)
oForm.Items.Item("25").Specific.Value = Auto
oForm.Freeze(False)
Catch ex As Exception
SBO_Application.StatusBar.SetText(ex.Message)
End Try
End Sub
I call this function in,
Public Sub New()
MyBase.New()
SetApplication()
' Load the Tab Order form
LoadFromXML("SCDC.srf")
oForm = SBO_Application.Forms.Item("FormEditor")
oForm.Visible = True
DCNumber()
End SubYou could use Aslam's answer but then in one row and use it in a formatted search..
select ISNULL(MAX(DocNum),0) +1 from @SCDC
I think the error is in this line:
Dim oRs As SAPbobsCOM.Recordset
oRs = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Should be:
Dim oRs As SAPbobsCOM.Recordset
oRs = (SAPbobsCOM.Recordset) ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Or in:
Dim Auto As String = oRs.Fields.Item(0).Value
Dim Auto As String = oRs.Fields.Item(0).Value.ToString()
But you can set a breakpoint and debug your code, then it's possible to see where is trown the error..
HTH
Regards Teun
Edited by: Teun Aben on Apr 15, 2009 10:42 PM -
Upgrading from sap pl35 to sap pl49
hello sap experts
I want to upgrade from sapb1 2005 pl35 to sapb1 2005 pl49 can any explain briefly how to upgrade in step by step
regards
JennyJenny,
If I understand you correctly, you are talking about 2005A upgrade. However, 2005A support has been stopped back to July. Why do you not upgrade to 2007A instead?
By the way, this question should belong to System Administration forum.
Thanks,
Gordon -
Hi, I had to re-install MS SQL 2005 and SAPB1 2005 A and server tools from the beginning. I have now just attached my company database and at first glance it seems to work ok. I am wondering, do I need to restore the old SBO-Common database, overwriting the new one created in the re-install? Is that important/necessary? Thanks, Tom
Hi Tom..........
If you re installed SAP and newly generated SBO Common tehn you no need to replace old SBO common.
But if you have been working with any of the addons then i guess you shoud replace it with Old SBO Common DB else you have to configure your addon in newly generated SBO Common DB.........
Regards,
Rahul -
How to block inventory at sales order level
Hi to all,
i am using sapb1 2005 pl36 i want to block invetory at sales order level means what i want, if any user create sales order of item1 if instock qty of that item1 is 10 and commited is 10 then availabale inventory is 0 nos .means sales order should not posted it should be block at sales order level.so how it can possible .if it possible through addon pls send code of perticular.i will await for positive reply .
Regards,
VishalVishal,
You can use Application_FormDataEvent to block the add.
Private Sub Application_FormDataEvent(ByRef args As SAPbouiCOM.BusinessObjectInfo, ByRef bubbleEvent As Boolean) Handles MyApplication.FormDataEvent
If args.BeforeAction Then
Select Case args.EventType
Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD
' get document form
Dim form = MyApplication.Forms.Item(args.FormUID)
' get docucment matrix
Dim matrix = DirectCast(form.Items.Item("38"), SAPbouiCOM.Matrix)
For row = 1 To matrix.RowCount
' get ItemCode
Dim ItemCode = DirectCast(matrix.Columns.Item("1").Cells.Item(row).Specific, SAPbouiCOM.EditText).String
' Do a query on inventory or use Company object
' If a line is not allowed block adding the order:
bubbleEvent = False ' order is now blocked!!
Next row
End Select
End If
End Sub -
MySAP ERP 2005 - ESS Customisation in the backend system
Hi,
i try to customize the ess scenarios in the backend but i cant find any documentation about this. Is there somewhere a description about the customisation steps?
best regards,
KaiHi Ron,
Yes, you can, and how to merge after upgrading is described within the attachement of SAP note 872892, please check it out!
> insert the new CustomWD in the portal on the right place
Just by creating new Web Dynpro iViews within the portal, referencing your new developed WD application, see http://help.sap.com/saphelp_nw04/helpdata/en/fb/d0673f19299d51e10000000a114084/frameset.htm
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
hi all,
iam new in SAP B1-2005 ,here we started Customisation of SAPB1 my modules are like thisie
1.)Purchasing A/P ->
1.1)Goods Receipt P.O -->Step1)In this i had to modify the Menu Item to be changed as "Material Inward Receipt"(Requirement).
Step2)"Qty Accepted" and "Qty Rejected" fields are to be added after "Quantity" field.
Step3) "Qty Accepted" is to be update in the stock table instead of "Quantity".i had doubt regarding this requirement how is it possible update this field.But, in checked in this Database their is no such like table(stock) in SBODemo_India can u tell me where it is Find.
1.2)Purchase Order-->step1)Presently "Delivery date" field is in the main form ie it belongs to POR1(table) how can i shift this field to grid Can u suggest me which code i have to get where i had to modify in Code. Mainly we are doing only for Maintanence one code ie i am too hard to where to modify in that predefined code.
1.2)Purchase Orde (New Requirement)-->Auto generation of Purchase Order. If the Stock for any "Item" falls below the minimum level, a Purchase Order to be generated on the name of the "Supplier" who narmally supplies those items.
1.3)Purchase Order - Report-->step1) we have to modify the report regarding the Client supplied the format. we have to modify in that format.Can u suggest which report tables ie predefined tables to change the extra fields to get.
Regards
anandHi Anand,
1. Goods Receipt P.O
Go to Administration -->System Initialization -->Document Numering --> Click Change Name --> You can very few menu item names. One of that is Goods Receipt P.O
2. Change the name of existing Quantity field as Quantity Accepted by use Ctr+double click. Add user defined field for other fields. Use the formated search for calculations.
3. Delivery date field: I am able to get your thread
4. Purchase order report: By using Print layout designer you can achieve this.
I hope this will help you.
Venkatesan G. -
Last Prices is not working in SAPB1 2007
Hi all,
I just upgrade my sapb1 from version 2005 patch 36 to version 2007 patch 37. I found that the last prices feature, is not function in SAPB1 version 2007. Anyone have face it before?
Regards
WongHi Wong,
I'm using pl 38 & it works fine. You can call the report up from 2 different locations:
1.) From the SAP Business One Main Menu, choose Inventory-> Inventory Reports -> Last Prices Report .
2.) In a sales or purchasing document, place the cursor in the Unit Price field and press Ctrl + Tab. The values are copied automatically from the document.
To generate the report, enter the necessary information and choose Refresh.
Please be careful about your selection criteria, e.g. if you have selected a specific BP & you have not traded with this BP before with this item, there will be no data displayed.
All the best,
Kerstin -
Regarding Error handling and customisation in RFC, Idocs and Proxy
Hi,
I wanted to compare RFC, Proxy and Idocs on the basis of the amount of customisation required in ECC when sending data from ECC to XI using the above stated means and also the error handling provided in these methods.
Please let me know in detail if possible.
Regards,
SampadaHi ,
Check this blog to know when to use which adapter:
/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
we use proxy in sap 6.0 version or higher.
Basically used for adapter less communication
& very high volume of data has to be transfered.
Step for Configuration fo IDOC in R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (IDX1)
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Load Meta Data for IDOC (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
SAP R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
In SLD System Landscape Directory
TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
Ts for Third Party (Logical system):-
BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
BS for Third Party (Logical system):-Enter the XI logical system name.
In Transaction SALE
Define and Assign the logical system name.
Regards,
Vinod. -
How to make and use customised DataSource
Hi Gurus. If we are not making cubes for Inventory etc for which DS is already available, how can we create data sources in order to load the desired data in BW.means if Database fields are entirely different
kind regards
rajeshHi,
Customised extractors are called Generic extracters.
Usage:
1. When the standard extractors are not supporting the extraction what you need. If SAP does not have a standard extractor for your need to get data from R3, you would have to go for generic extractor.
2. If you create a custom object say by combining certain base tables in R3 say custom tables ZTAB1 and ZTAB2. These two tables are not SAP provided tables and there will not be any standard extractors. So cases like this you will have to go for generic extractors.
3. FI-SL requires generic extractors.
How:
You have to use RSO2 transaction and you can also set delta based on, one of the three characteristics such as timestamp, calday or pointer (a sequence no).
once you create it and activate it. The extractor will be available in ROOSOURCE - (table in R3 where all the data sources are available).
Steps
Log on sap R/3.
Step 1. create a table or view for generic extraction in se11.
Step 2. Goto t-code RSO2
Step 3. Here u have to decide whether to extract transaction data or master data attributes or texts.
Step 4. suppose if u have opted for transaction data,then give name in the column ex:ztd_m(data source name)
Step 5. select create button,this will take u to another screen.
Step 6. Here u have to decide from which application component u r extacting data.Ex: SD,MM,..
Step 7. in this screen u have to fill short disciption,medium,long( these r mandatory).
Step 8. then U have to Table name or view name which u have created in se11.
Step 9. I f u want to maintain generic delta then u can select generic delta in top left hand side corner.
Step 10. in next screen u have to give some field which is primary key.
step 11. here u to specify whether time stamp or cal day or numeric pointer depending on u r requirement.
step 12. then u have to specify whether new status for changed records or additive delta.
If u choose additive delta ,then u have to load data to infocube or ods object.
If u choose new status for changed records, then u to load data to ods object only.
Step 13. then save it.
Step 14. then logon to sap bw ,then replicate the data source then as usuall.
Refer:
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Generic Extraction with Table, View, FM & Infoset
Creating a datasource for generic extraction
Generic Extraction
Customer and Generic extraction difference ?
generic extraction
Re: Generic extractors
generic extraction
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-db
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b0
http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.h
http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Re: Generic Extractor - Delta
Thanks,
JituK
Maybe you are looking for
-
why does it tell me my ipad is synched with another itunes library and wants to erase the thing when I want to synch it? I haven't synched it with any other mac but my own.
-
Owb 11.2.0.3 changing the name of a mapping is not reflected in the process
We're just in the phase of migrating from OWB 10.1 to 11.2.0.3. So far so good but of course there are some bugs in the latest version. One of the more annoying problems is the following. We could see a process flow with several mappings after the mi
-
Imported slide show into PE11 and some pics rotated unexpectedly, How can get back to horizontal?
-
Hi All, I wanted to know is the connection to close the JCO should be handled in the program or the system will handle since I am using the JCO connection handled by content admin with JCo Pool Configuration. <b>I am seeing in SAP backend all the se
-
WANTED: Digital I/O Mod
Anybody have one they're not using? It's the dongle with a /8" mini-plug and a black and yellow-green dongle that has 2 coax and 2 toslink connectors. I "misplaced" mine and I now need it.... it came with my Optical Digital I/O 2. Help!!!