How to use CFL in Business Partners Master in Find Mode
Hi,
I have a problem in Business Partners Master Form. I need add conditions in Choose From List in Find Mode when I set an asterisk in the CardCode TextField for filtering the businnes partners list.
When I capture the et_CHOOSE_FROM_LIST itemEvent in BeforeAction, I can't get the ChooseFromList ID for adding the conditions in the ChooseFromList Object.
Sample Code:
Public Sub ItemEvent(ByVal FormUID As String, pVal As SAPbouiCOM.IItemEvent, BubbleEvent As Boolean)
Select Case pVal.EventType
Case et_CHOOSE_FROM_LIST:
Dim lcflE As SAPbouiCOM.ChooseFromListEvent
Dim id As String
Set lcflE = pVal
id = lcflE.ChooseFromListUID -> The ID is "-1"
End If
End Sub
Thank's in advance
Best Regards
Hello Rafea,
if you can't get it via lcflE.ChooseFromListUID -> The ID is "-1",I guess you need to know choosefromlist UID by test one by one with oForm.ChooseFromLists.Item(i). Or you can save the fom as xml then chech the CFL UID.
If pVal.FormType = 139 And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
If pVal.ItemUID = "4" Then
If pVal.InnerEvent And pVal.Before_Action Then
BubbleEvent = False
Dim oForm As SAPbouiCOM.Form
oForm = SBO_Application.Forms.Item(FormUID)
Dim oCons As SAPbouiCOM.Conditions
Dim oCFL As SAPbouiCOM.ChooseFromList
'oCFL = oCFLs.Add(oCFLCreationParams)
oCFL = oForm.ChooseFromLists.Item("2")
oCons = oCFL.GetConditions()
'Note: Add the condition only once.
If 0 = oCons.Count Then
Dim oCon As SAPbouiCOM.Condition
oCon = oCons.Add()
oCon.Alias = "Cardcode"
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
oCon.CondVal = "C0001"
'Set your own condition here instead of the system conditions
oCFL.SetConditions(oCons)
End If
BubbleEvent = True
End If
End If
End If
Kind Regards
-Yatsea
Similar Messages
-
How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA
Hi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendarHi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendar -
How to use search term2 in customer master record
hi
how to use search term2 in customer master record. can anyone tell me plz
thanks
monicaHi,
Search Term 2
Label used for search helps.
Only uppercase letters are stored in this field. Your entries are converted automatically to uppercase letters.
There are two of these fields for search terms. These fields can be used independently of each other.
Procedure
You can use your own criteria for entering the search term.
Example
You can enter the main part of the name or an organizational ID.
For example, for the company "Hechinger & Sons", you could enter "Hechinger" as the first search term.
The second search term could then be the name ID you use within your company, to help you identify your data later.
Please check out the following link:
http://help.sap.com/saphelp_47x200/helpdata/EN/01/a9b331455711d182b40000e829fbfe/frameset.htm
Hope this helps.
Please assign points as a way to say thanks.
Regards, -
What is the use of factoring indicator in Business partners master data
Hi All,
I am the biginner to SAP B1.please help me.I am creating the businee partners master data in that general tab factioring indicatior is there.what is need for that?Hi,
Please refer to Note No. [593657|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=593657]
Symptom
What is the factoring indicator?
Other terms
factoring indicator, factoring, indicator, business partner, master
data,
Reason and Prerequisites
Solution
Factoring indicator
The factoring indicator is used in Reporting => Accounting Reports => General Ledger.
If a factoring indicator has been defined for a Business Partner, it
will be entered automatically into each Journal Entry that will be
posted for this BP.
In Reporting => Accounting Reports => General Ledger, you can
click on the "Expanded" pushbutton, check the "Indicator" button, select "From" and "To" and the system will only display the transactions which include the selected indicator.
This field is for the so-called subrogation, which means
demands to BPs are sold to the bank.
Through this field you can allocate an assignment code to
a Business Partner, this code can be used in an accounting reports.
This functionality is only intended for Austria.
Also, following information from the Online Help (F1)
Factoring Indicator
Assign a factoring indicator for the business partner. Note that both code and name are displayed.
This indicator is automatically inserted as default value in the invoice. The factoring indicator may be displayed in the account statements.
Choose to open a Choose From List window displaying the indicators that have been defined. Choose New to define new ones.
The indicator is only displayed after activating the field Indicator in Personal Settings.
Regards,
Jitin
SAP Business One Forum Team -
How to setup Budget for Business Partners
Hi
Is there a way to set up budjet for Business Partners.
For example for clients we are expecting to do cirtain amount of sales.
and for vendors how much we are planning to spend during the finantial year.
We are using SAP 2005.
Thanks
SanjayaHi Sanjaya,
The budget function in B1 is only applied to GL accounts. There is no BP budget function out of the box..
Thank,
Gordon -
How to use series in business graphic ui element
Hi All,
How to use the series in business graphic ui element? my requirement is i have to display the sales in selected months in graph(these values dont know at design time).
Regards
SrikanthHi,
Use the dynamic node and bind this node to the BG source node and series nodes.
Create a node and bind this node to the BG source and the value that you want to shown in series has to be bound to that attribute of the node and similarly with the category.
Check out for the dynamic node creation and bind this node to the BG.
Regards,
Lekha. -
How to use Resever Field for Customer Master
Hi
My Client Requirement. Price should be determine with Sales ORG, Distribution channel, Division, Districts, Talukas and Villages.
But Talukas and villages are not available in SAP standard systems.
Is it possible to use reserver field in Customer Master for this purpose?
If it is ok then please give suggestion how to use this reserve fields.
Thanks in Advance
MadhuHello,
the system-behavior that you describe is standard behaviour, because
the fields which you are describe (village and ..) doesn't exist in structure KOMG.
For using this field in the field catalog you can proceed like this:
1. create a new field for example ZZvillage...
2. add the new field in the table T681F for the application 'V' and the
usage 'A'
3. add the field to the include-structure KOMKAZ
4. fill the new fields in the userexit for pricing
(Pricing_Prepare_TKOMK (TKOMP)
I hope that the information are helpful for you.
regards
Claudia -
How to use AppStore in business environment
Hi Community,
I've a few questions about the usage of the AppStore in business environments.
We have round about 25 Macs in our office.
Nobody of our users have an AppleAccount or an Apple-ID.
Not every Mac have an internet connection.
Nobody own a credit card from the company.
Okay, I have an Apple-ID but only for my own personal usage combined with my own personal and private credit card. But I don't want to pay the company bills with my credit card. Can I create an Apple Account for business usage without having a credit card from the company? Like Amazon, where we have a business account and where we pay our bills by direct debit. This works fine, is there a possibility to pay in AppStore by direct debit?
Next problem is that most of our Macs doesn't have an Internet connection. We are working for some government agencies and therefore we have strong limitations. How can we install software on these machines? Is it possible to download software on my Mac (with Internet connection), with the AppleAccount I addressed in the point above and put this installer on one of these machines?
If this is possible, how can I install a software on more of these machines without an Internet connection? How will the system verify if the licence is still valid and not registered by another machine?
For example we need Xcode on every machine and I download Xcode from Apples AppStore, do I have to download it as often as I need the software or only download it one time, what is useful because otherwise we would wasting bandwidth. What I've to do in such a case? Pay 10 times, download only one time and install it 10 times? And maybe I will get it for free because of my Apple Developers account, how can I pay with my business account for the others? If it is free, I've no other possibilities.
Another example, we are downloading a Lion Installer for multiple machines, how does the target system (without Internet connection) verify that the target hardware originally was shipped with Lion (because reinstalling the operating system for example) and doesn't need a bought licence? Otherwise the opposite scenario is, we want to install Lion on a machine where we have to buy a licence. How can I respect this differences when I have only one "master administration machine" who is allowed to download and buy software?
Can I use a Mac in future without an Internet connection?
Maybe someone can bring some light into this dark and cold prospect.
Thanks in advance & bye TomAt the moment there is now way you can get Volume Licensing for Mac OS X outside US (at least none that I've been able to find).
This subject is also discussed HERE and, until now, no user or Apple official has been able to give us an answer to this question.
Hopefully they care enough about their customers to, at least, give us a time interval until Mac OS X Lion will be available for businesses outside US. -
How to use a existing Business Service in IDoc-File Scenario
Hi Experts,
I am new to XI.
I am working on a IDoc to File scenario where in i am importing the CREMAS.CREMAS03 IDoc from the R/3 System.
When i try to create a Business Service in Configuration Scenario Object in Integartion Directory, i get a message saying "SAP system ID ER1 and client 800 already exist in service | CLNT800ER1".
Can i reuse this Business Servie in my Configuration Object?
If yes, can you please guide me How to go about it?
Thanks for the effort.
Cheers
Gaurav RaghavU may directly use it.
Just select the business service wherever required. It is not necessary that the Business Service is present in ur configuration scenario. But if u still want it, u may add it using "Add to Scenario" option from other configuration scenario or from Objects tab
Regards,
Prateek -
How to use BRF in Business Transaction?
Hi Experts,
In a business transaction, for example there is the field Last name. I need to apply a BRF in order to check if the field is initial or not. Can anyone suggest how can the link between the field in the business transaction and the BRF object be done?
Thanks a lot in advance
TMHello
Please check this [LINK|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30965164-efea-2b10-b7a7-f762d1688b78&overridelayout=true] . It would be helpful to you.
Thanks
Viquar Iqbal -
How to use WBS element in Asset master data upload
Dear All
Does any body know how to treat field WBS element in Asset master during upload.
Field POSNR in table ANLA is of 8 characters, but WBS element which is entered in asst master is more than 8 char.
I vaguely remember tht with wbs system internally assign a different number.
Has anybody come across this issue?
Please help
Thanks
SanjeevThere are in the asset 2 fields for PS
One is filled when you do an settlement from an WBS (is not possible to fill in)
The other one you found in the the tab time dependend like cost center.
This field is available when you have assign the possibilety to do depreciation to an WBS.
Paul -
How to use a BW Time-dependent Master Data with a UNX
Hello All,
I would like to use a BW master data which is time-dependant with WebIntelligence.
My WebI query is based on a universe (not on a Bex Query). It seems that a relational universe des not support time dependent object.
Has someone found a work-around to use these objects with an UNX ?
BI platform = BI4.0 SP4.
Thanks a lot.
Regards,
SebastienHello Jothi,
thank you.
(Unfortunately for me, it's not really the expected answer. )
Regards,
Sebastien -
How to use DTP in process chin(Master data)
Hi,
for Master data loding process chain Iam using dtp s like s below
Delete psa
Load onfo pak
Dtp
is this correct process or not
Delete Psa (master data) is correct or not ?
wht is the correct way ?Hi........
For this the steps what evertone have alrady said is perfectly ok...........
But if you use delta DTP.............it will also solve your problem...............
ie............
Load data till PSA throug Infopackage >> Then use delta DTP to load it to onfoobject ...........then it will aways bring the latest request >> Then attribute change run...........
Regards,
Debjani...........
Edited by: Debjani Mukherjee on Sep 10, 2008 1:44 PM -
How to use OneDrive for Business mobile app with SharePoint 2013 on-premise?
Hi All,
I have a SharePoint 2013 (with latest December updates) that host a dedicated personal web site for users.
The OneDrive portal works fine and users are able to sync their files with the OneDrive client for Windows.
Now I want to test the OneDrive for Business mobile app on Android, but there is no option to specify the "personal" portal URL.
It asks only for domain credentials.
Does I need to configure specific records on my public DNS to allow mobile users to sync their files?
ThanksI can confirm that with iOS you can connect to your SharePoint server through the advanced options.
But the very strange thing is that the OneDrive version for Windows Phone 8.1 is limited as the Android version.
This has no sense.
Why does Microsoft should limit the Business functions on its mobile operating system, and not on iOS?
Another strange thing is that configuring my Exchange account, Windows Phone 8.1 informed me that it has connected OneDrive for business (but is a fake information).
See attached image.
If I open the built-in OneDrive app, it give me the option to add a OneDrive for business account, but is only for Office 365 users (like with the Android version).
I thing that Microsoft should let at least to Windows Phone users to connect to on-premise SharePoint sites. -
How to use apex_application.g_f01 with check boxes to find unchecked items
I have a sql report that looks like this:
select
case when q.request_id is null then
apex_item.checkbox(1,q.QUALITY_ISSUE_ID)
else
apex_item.checkbox(1,q.QUALITY_ISSUE_ID,'CHECKED')
end input,
MEANING d,
LOOKUP_CODE r
from LOOKUP_VALUES f
,REQUEST_QUALITY q
where f.LOOKUP_TYPE = 'QUALITY_ISSUES'
and f.LANGUAGE = 'US'
and f.view_application_id = 3
AND f.lookup_code = q.quality_code(+)
AND q.request_id(+) = 3464
Now I need a process where I can insert rows when new ones are selected and delete ones that have been unchecked. For the insert, I need to know the lookup_code and for the delete, it will not be in the array. Because only checked items are passed in the array. How do I get around both issues? The table I am trying to control looks like this:
QUALITY_ISSUE_ID NUMBER
REQUEST_ID NUMBER
QUALITY_CODE VARCHAR2(30)
Quality issue id is based on a seq for new inserts. Request_id is the id of the parent record, and quality code is the code coming from lookup_values
How do I go about this?
I'm on version 4.02
Thanks
Edited by: tcheney on Jun 9, 2011 1:56 PMhi,
thanks for the quick response.
i'm getting another error upon changing my sql to use
DECLARE
sql_v VARCHAR2(32767) :=
SELECT apex_item.checkbox(1,''#ROW_NUM#'') item,
e.employee_id,
e.last_name,
e.first_name,
e.middle_name,
e.email_address,
e.tel_no,
e.mobile_no
FROM employees e
BEGIN
IF :P3_EMPLOYMENT_STATUS IS NOT NULL THEN
sql_v := sql_v || ' INTERSECT
SELECT apex_item.checkbox(1,''#ROW_NUM#'') item,
e.employee_id,
e.last_name,
e.first_name,
e.middle_name,
e.email_address,
e.tel_no,
e.mobile_no
FROM employees e
WHERE e.employment_status = :P3_EMPLOYMENT_STATUS
END IF;
END;i'm sorry if i forgot to mention earlier that i'm using an SQL Report that has a type of SQL Query(PL/SQL function body returning SQL Query).
anyways, i am now getting the error
ORA-06502: PL/SQL: numeric or value error: character to number conversion errorstill have no idea what's causing this nor the error ealier.
thanks.
allen
Maybe you are looking for
-
Q&A db for warehouse management and inventory management
Hello Everybody, i read on the help.sap website that standard as well as industry specific versions of Q&A db are available. but the website doesnt say where. i searched a lot but the links dont lead to the actual Q&A db. i would like to request you
-
hey, I am looking at purchasing a zen micro and was wondering what people thought of it. also, can you get an fm radio transmitter(like on the ipod) for your car/home? Thanks
-
Iphone 4 purchased outside UK doesn't work here
I bought a brand new iphone outside UK (Afghanistan) it worked until I entered UK. Over here when a new UK simcard was put, it said, 'no sim' and basically it keeps rejecting the simcard... anyone else experianced this? Please share how I can solve t
-
The alarm doesn't sound a second time though the snooze IS enabled
Whether I pick up my phone 10 min later or an hour later it shows the alarm screen where it says tap to hit snooze or slide to shut off (or whatever it is). Like it's still set and the alarm is going off and it's waiting for me to shut it off (though
-
Outlook Calendar items not sync with local time af...
Im from India, which doesnt follow the DST change. I use PC Suite ver 7.1.30.9 with my Nokia Express Music 5310. My Laptop is Windows XP and Im using Outlook 2003. Since the DST changeover last weekend, my outlook is showing the meetings in proper lo