Issues while creating implementation for BADI "ME_PROCESS_PO_CUST"
Hi Group,
I have issues while creating implementation for BADI "ME_PROCESS_PO_CUST".
I tried to create implementation for the above mentioned BADI but, I was getting an error like this:
"Interface implementation IF_EX_ME_PROCESS_PO_CUST does not exist".
I want to implement this BADI and so, ideas/views at the earliest will be appreciated.
Please let me know how to overcome this error.
Thanks,
Vishnu.
Hi,
Have you activated the class which is implementing the interface? (in transaction SE19 you should see class name)
Best regards,
Wojciech
Similar Messages
-
How to create implementation for BADI BADI_SD_SALES_ITEM
Hi all,
When i try to create a implementation for BADI it erorrs out saying "its for intenal use". Is there any way i can still go ahead and create a implementation for this BADI BADI_SD_SALES_ITEM.
Thanks in advance.Hello Jayakumar,
The BADI <b>BADI_SD_SALES_ITEM</b> is designed as internal BADI; the implementation can only be done, if the BADI is set to external. The property of a BADI is stored in the table <b>sxs_attr</b>. The flag <b>internal</b> must be cleared to use the BADI as external. The following short program will show you an example:
report z_xpra_upd_badi_def.
data: gt_prot type table of sprot_u,
gs_prot type sprot_u,
gv_simulate type xflag.
* Constant Definitions for Protocoll:
constants:
gc_error_fatal value 'E', " Error message with stop_upgrade
gc_error value 'P', " Error message: no prod use!
gc_success value space, " Success
gc_info value space, " Info
gc_warning value 'W', " Warning
gc_lv_error type n value 2, " Level for type 'E'
gc_lv_add_error type n value 2, " Level for additional info
gc_lv_warning type n value 2, " This could be either 2 or 3
gc_lv_success type n value 3, " Success only at 3
gc_lv_info type n value 4, " Info-messages only at 3 or 4
gc_lv_debug type n value 4. " Additional info for yourself
start-of-selection.
gv_simulate = space.
perform bc_action using 'BADI_SD_SALES_ITEM'
gv_simulate.
* Finally, the transport protocol will be added:
call function 'TR_APPEND_LOG'
tables
xmsg = gt_prot
exceptions
others = 5.
call function 'TR_FLUSH_LOG'.
* END OF PROGRAM
*& Form bc_action
* Function description/flow
* Used global variables:
* Read/Write
form bc_action using li_badi_def type sxs_attr-exit_name
li_simulate type xflag.
data: ls_sxs_attr type sxs_attr.
select single * into ls_sxs_attr
from sxs_attr client specified
where exit_name = li_badi_def.
if sy-subrc = 0.
if not ls_sxs_attr-internal is initial.
if gv_simulate is initial.
clear ls_sxs_attr-internal.
update sxs_attr client specified
from ls_sxs_attr.
endif.
if sy-subrc = 0.
perform bc_append_log using gc_lv_success
gc_success
'5@'
'000'
li_badi_def
text-001
sy-dbcnt
space.
else.
perform bc_append_log using gc_lv_error
gc_error
'5@'
'000'
li_badi_def
text-002
sy-subrc
space.
endif.
else.
perform bc_append_log using gc_lv_success
gc_success
'5@'
'000'
li_badi_def
text-003
space
space.
endif.
else.
perform bc_append_log using gc_lv_success
gc_success
'5@'
'000'
li_badi_def
text-004
space
space.
endif.
endform. "ACTION
*& Form bc_append_log
* Function description/flow
* Used global variables:
* Read/Write
form bc_append_log using li_level type sprot_u-level " Level
li_severity type sprot_u-severity " Severity
li_ag type sprot_u-ag " Message-ID
li_msgnr type sprot_u-msgnr " Messagenumb
li_var1
li_var2
li_var3
li_var4.
clear gs_prot.
gs_prot-level = li_level.
gs_prot-severity = li_severity.
gs_prot-langu = sy-langu.
gs_prot-ag = li_ag.
gs_prot-msgnr = li_msgnr.
gs_prot-newobj = space.
gs_prot-var1 = li_var1.
gs_prot-var2 = li_var2.
gs_prot-var3 = li_var3.
gs_prot-var4 = li_var4.
append gs_prot to gt_prot.
endform. " bc_bc_append_log
This report can be used as <b>XPRA</b> run; for this you need to assign this report in a transport with property object type <b>XPRA</b>. After importing the transport the report will be started automatically.
Please handle this proposal solution carefully.
Best regards,
Kurt. -
Re: Issue while creating Proxy for remote producers
Hi,
I am getting the Same Error , Implementation is Remote WSRP .
Tried all: '1' addresses, but could not connect over HTTP to server: 'localhost', port: '7001'
java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'localhost', port: '7001'
at weblogic.net.http.HttpClient.openServer(HttpClient.java:321)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:411)
How the issue was resolved.
Regards
Pramodare you sure that the server hosting the remote portal application is running ?
If yes, can you try the url with your favorite browser : http://localhost:7001/<webapp>/producer?wsdl
You should get the wsdl file.
Emmanuel -
Issue while creating repair order via IW52
Hi All,
I am facing an issue while creating a repair order from Service Notification.
In IW52 for service Notification , we have option of Create repair order in Action box of service notification, when i am clicking that i need to enter the sales order type.. when i am selecting standard order type KD01 or any other it is saying that
1)Order type KD01 does not have the sales doc. identifier "repair"
Message no. QM127
Diagnosis
You entered an order type that is not assigned to the sales document identifier "F" or "G" = repair order.
Procedure
Enter an order type that has the sales document identifier "F" or "G".
Where can we see sales document identifier in config ?
2. I would like know is there any setting where we can give default sales order type to service notification type ..
regards
giriDear,
Thanks for your inputs. It will be great help if you can let me know the below :
1) Diff between Repair order, spare parts order..
2)I happened to create a service order from a sales order following IDES Model for CS -4.6C / the service order type created is SM01 is created and my sales order type is OR .. now my question is there any setting where we assign Service order type to sales order type ???
Note :- In OIOL Tcode for SM01 Order type i have IRC Sales order document type linked ..
regards
giri -
Error while creating rules for Event generator
Hi,
I followed the PO samples in dev2dev site to create an EventGenerator(both file and JMS) from a jython script. While creating rules for the eventgenerator, am getting the following exception.
"AttributeError: 'None' object has no attribute 'newFileEventGenConfigurationMBean'"
here is the PO sample code,
egCfgMBean = getMBean("FileEventGenerators/FileEventGenerators")
egMBean = egCfgMBean.newFileEventGenConfigurationMBean(egName)
I used getMBean() instead of wlst.getTarget() to retrieve the MBean info.
The server is weblogic 9.2 and domain is Integration domain. Looks like the getMBean() wasnt able to locate the Eventgenerator MBean for some reason and hence the variable 'egCfgMBean ' is always null. Anyone had this issue before.
Thanks.It looks like getMBean("FileEventGenerators/FileEventGenerators") is not
returning an MBean. "None" is returned if no MBean is found. Check the path
parameter to getMBean() and make sure it is correct. If you know the object
name of the MBean you are interested in, you may be able to use the
getPath() command to get its path.
wls:/mydomain/serverConfig>path=getPath('com.bea:Name=myserver,Type=Server')
wls:/mydomain/serverConfig> print path
<Ramesh R> wrote in message news:[email protected]..
Hi,
I followed the PO samples in dev2dev site to create an EventGenerator(both
file and JMS) from a jython script. While creating rules for the
eventgenerator, am getting the following exception.
"AttributeError: 'None' object has no attribute
'newFileEventGenConfigurationMBean'"
here is the PO sample code,
egCfgMBean = getMBean("FileEventGenerators/FileEventGenerators")
egMBean = egCfgMBean.newFileEventGenConfigurationMBean(egName)
I used getMBean() instead of wlst.getTarget() to retrieve the MBean info.
The server is weblogic 9.2 and domain is Integration domain. Looks like the
getMBean() wasnt able to locate the Eventgenerator MBean for some reason and
hence the variable 'egCfgMBean ' is always null. Anyone had this issue
before.
Thanks. -
Issues while creating a search project in BCC
Hi There,
Migrating the apps from 2007.3 to 10.0.3.Experiencing issues while creating a search project.
Step #1.In Search Administration,navigating through Project > Global Settings & creating a Content Label named as "Catalog"
Step #2.Navigating through Project > Create Production Project.Creating a project with Content Set as "CatalogSet"
Step #3.Adding a Content with this info:
Content Name: Catalog
Type of Content : ATG Repository
IndexingOutputConfig Path : /atg/commerce/search/ProductCatalogOutputConfig
Host name : localhost
RMI : 10160 ( RMI port of commerce instance)
Creating a content & getting the message as New Content "CatalogTest" has been created.
Issue #1: Content is not displaying in the Content eventhough content has been created successfully.
Issue #2: Getting error for "Default Text Processing Options"
You can refer these issues in the attached screenshot "Content-Page-with-error.jpg"
Step #4.Creating a new TPO as "English" & trying to "Associate Search Project" & getting an error.Refer the attached error log "Associate-Search-Project.log"
Due to these issues, "Build Index" button is disabled.Did anybody experienced these issues? Any help/comments are appreciated.
Also attached the full server logs as commerce-server.log & publishing-server.log.
Since no options for attachment in this forum, I posted the attachment in this link.Please refer it.
https://groups.google.com/forum/?fromgroups#!topic/atg_tech/csEHi-x3Nyc
Thanks in advance!
Mani
Edited by: user11263665 on Apr 25, 2012 10:38 PMWe faced the same problem when migrating from 2007 to ATG 10.0.3. The reason this error comes up is because the Search depends on a local customization adapter /atg/searchadmin/adapter/customization/LocalCustomizationDataAdapter which adds English as a language in the text processing options.
After the migration you need to import the initial ATG search related data into your Search schema. These instructions have been mentioned in the ATG install guide. Here is the extract from the docs.
Note: The import scripts import data using startSQLRepository. Make sure your JTDataSource and
FakeXADatasource are configured to permit this in home/localconfig. JTDataSource should automatically
point to FakeXADataSource. FakeXADataSource should point to the administration database, and
FaxeXADataSource_production should point to the production database. Note that some product
installation processes, including Oracle ATG Web Knowledge Manager Self Service, need FakeXADataSource
pointed at the production database, so you may need to change the FakeXADataSource between installations.
once you are done with the configurations above, import only the searchadmindata xml into search schema as this imports the LocalCustomizationDataAdapter config information into your search schema. Once this is done, you should be good to index.
<ATG10dir>\home\bin\startSQLRepository.bat|sh -m SearchAdmin.AdminUI
-repository /atg/searchadmin/SearchAdminRepository -import
<ATG10dir>\Search10.1\SearchAdmin\common\data\initial\searchadmindata.
xml -
Hi Folks,
I have an issue while creating a purchase order for some inventory items (not all items).
System is populating a Note "**A new part number already exists**".
Of course, it is not stopping to save and approve the PO, but still this note is interrupting the users a lot, when they are in rush to create no of PO's.
So, could any expert help me in this issue that how to avoid this note, please?
Thanks in advance.I bet you have a customization/personalization on the po screen that looks at the item, checks if it is obsolete/superceded and displays a message to the user.
Hope this helps
Sandeep Gandhi -
WHAT ALL MESSAGE'S ISSUED WHILE CREATING PO
Sir,
ply let me know after saving the po i want to know what all messages were issued while creating the po.
Like "warning" or "information" message
where can i see this
regards
ameyHi,
PAth- Spro-MM-Purchasing-Environment Data-Define Attributes of System Messages...
Here are few message type:
Contract has different purchasing organization & W
Validity period of contract does not start until & W
Validity period of contract expired on & W
Target value of contract & exceeded by & & W
Net price for item & taken from conditions W
Purchase requisition & item & already deleted W
Scheduled quantity & & greater than target quantity & & W
Quantity smaller than invoiced quantity & W
Target quantity exceeded by & & W
Not possible to determine a consumption account W
Release date lies in the past W
Base unit of measure & adopted from material master record
Release date: next workday is & W
Contract target value & reached W
Please only use plants with company code &
Order unit copied from material master record W
Hope it helps.
Utsav.. -
Error while creating leave for next year
Hi,
Issue: while creating a leave for the next year (2010) for the quota type it is throwing an error u201Cthere is no quota availableu201D: Is there any configuration required. Pls, answer.
Regards
SriniHi,
Please also make sure that deduction periods for the quota are including the absence date you're trying to record.
Also please goto 1. SPRO : Time management - time data recording and administration - managing time accounts using attendance/absence quotas - quota deduction using attendance/absence - define deduction rules (here note the deduction rule your quota is assigned to).
2. SPRO : Time management - time data recording and administration - managing time accounts using attendance/absence quotas - quota deduction using attendance/absence - assign deduction rules to counting rules (here note the counting rule your deduction rule is assigned to).
3. SPRO : Time management - time data recording and administration - Absences - Absence catalog - Absence counting - Assign counting rules to absence types (make sure the absence type you're trying to create is assigned to the right calculation rule)
And one last option that comes to my mind : You can be using infotype 5 for absence quotas. Please check it out.
Regards,
Dilek
Edited by: Dilek Ersoz Adak on Dec 21, 2009 7:57 AM -
Issue while creating connection pool in weblogic using SERVICE NAME
Found two issues while creating connection pool in weblogic using SERVICE NAME
1. While running apps from jdeveloper using xxx-jdbc.xml
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
2. Configuriing the jndi in Weblogic server
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:SERVICENAME
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
Problem
database url is generated based on SID
eg: jdbc:oracle:thin:@localhost:1521:SID
Solution
(generate seperate url for SERVICE NAME)
jdbc:oracle:thin:@localhost:1521/SERVICENAME
------------------------It is so clear: host not found error for network connection and the other SID servcie name not found means your oracle instance name is not up. check with srvctl status for given servcie name or node, else check CRS_Stat -t if you are using RAC.
-
Issue while Creating the records in OAF by disabling one field.
Hi Experts,
I am having the scenario like this.
From the OAF page I want to create the record by omitting one field(it is disable for OAF).
Consider the folowing scenario..
I am having the following fields Empno,Empname,Salary,Job in the OAF page where I made the Job field alone as disable and the style i am using for job field is message text input and i have set the initial value as 'Manger'.
I am facing issue while creating the records in OAF page without the job filed value ie 'Manager' then the records were not inserted into my tables. Whereas if I enable the job field in OAF page(meaning I gave the job as 'Manager' in OAF page) I am able to create the records from OAF page and able get inserted in the database.
Could Anyone can suggest where I fail as it is my Priority issue.
Any Suggestion will be a great help for me.
Thanks,
Murugesh.or you can default it in the controller by handling add row event
if(vo.hasNext())
vorow = vo.next();
vorow.setAttribute("xxxx",3838);
--Prasanna -
Error while creating user for a domain
i am developing a web-application which is hosted on tomcat server.
it is creating domains and users at another remote domain server.
localy it is working fine..
but when i test it online..
the problem is,
sometimes it works fine ,the domains are being creted at remote server..
but sometimes it delivers error that domain at remote server can not be created.
Is it due to fact that theat some errornous code in the buffer of application have older versions of applications causing the error ?
Code::
if(strPlanId.equalsIgnoreCase("3")) {
//Create domain account for planid=3 plantype=Cp
blnOK=false;
passwordGS comes from database
strUrl="http://sosync.net/sosync/admin?pwd="+passwordGS+"&action=user_createdomain&domain="+strSubDomain+".gosync.net&adminpassword=aspire3002&diskquota="+longdk;
u=new URL(strUrl);
uc=(HttpURLConnection)u.openConnection();
code=uc.getResponseCode();
if(code == 200) {
rUrl="/TransCompleteServlet";
blnOK=true;
uc.disconnect();
} else {
rUrl="/GSView.jsp?page=GSError.jsp?REQ=Unknown";
if(blnOK) {
String strUrlUser="http://gosyncdesk.net/gosync/admin?pwd="+passwordGS+"&action=user_createuser&username="+strEmailId+"&password="+strPassword+"&domain="+strSubDomain+".gosync.net&communityname=Default&firstname="+user.getFirstName()+"&lastname="+user.getLastName();
URL u1=new URL(strUrlUser);
HttpURLConnection uc1=(HttpURLConnection)u1.openConnection();
code=uc1.getResponseCode();
response1=uc1.getResponseMessage();
if(code == 200) {
rUrl="/TransCompleteServlet";
String strUrlTZ="http://gosyncdesk.net/gosync/admin?pwd="+passwordGS+"&action=user_setuserpreference&username="+strEmailId+"&domain="+strSubDomain+".gosync.net&name=web_timezone&value='"+timeZone+"'";
u=new URL(strUrlTZ);
uc=(HttpURLConnection)u.openConnection();
code=uc.getResponseCode();
if(code != 200) {
rUrl="/GSView.jsp?page=GSError.jsp?REQ=Unknown";
} else {
rUrl="/GSView.jsp?page=GSError.jsp?REQ=Unknown";
mailUtil.sendMail_admin("Error In Creating User for the Domain","While creating domain for "+user.getEmail()+" user could not be created due to following reason: <BR> "+response1+"<br>GoSync UserName:"+strEmailId+"<br>GoSync Password:"+strPassword+"<br>GoSync Domain :"+strSubDomain+".gosync.net and URl String was :"+strUrlUser+"");
}if the problem is caching try setting the useChasses to false
uc.setUseCaches(false); -
Hi, I am facing an issue while creating a new web part page (Safeunit.aspx) within a folder (Safematic Seal Support Systems) located under a Document Library (Product Information Documents).
The path I am explaining:
Going to the Document Library (Product Information Documents) --> now inside that, clicking on a folder (Wet Seal Support
Systems) --> now inside the folder clicking on another sub-folder (Safematic Seal Support Systems) --> Here I want the web page Safeunit.aspx
Issue is that when I reach to the required destination, and want to create the web page by clicking on 'Site Action' --> 'Create' --> 'Web Part Page', now while selecting the Document Library name from the drop-down list, I do use 'Product
Information Documents' since the folder is inside this library only; but that create the page directly under the 'Product Information Documents' library, not under the sub-folder (Safematic Seal
Support Systems).
FYI, it is SP2007 version.
Kindly assist in this. Thanks in advance.I see that you have the namespaces reference in your code.
I think you have changed the NameSpace name of your code to CreateSPFolder, change the reference in all your manifest, and other files to point to the current namespace name. It should help.
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you -
Hi,
I am using ant tasks wlserver and wlconfig to configure my weblogic server. while creating a connection pool as shown below
<target name="jdbcinfo">
<wlconfig password="weblogic"
username="weblogic"
url="${url}"
<query domain="mydomain" type="Server"
name="myserver" property="serverbean"
/>
<create type="JDBCConnectionPool"
name="jdbcpoolA"
property="jdbcPoolProp">
<set value="false"
attribute="ShrinkingEnabled"
<set value
attribute="
<set value="${serverbean}"
attribute="Targets"/>
The JDBCConnectionPool is created as long as I don't specified the attribute "Targets"
Once I add the target I get the following error
<JDBC> <BEA-001129> <Received exception while creating connection for pool "poolname" invalid arguments in call>
Please any help will be greatly appreciated.
ThanksIn your applicaion module configurations check if you are using 'JDBC URL' or 'JDBC DataSource'. You should use JDBC DataSource. Then make sure that your deployment descriptor (menu 'Application->Application Properties->Deployment) has the 'Auto Generate ...' checkbox set.
Timo -
Problem while creating PO for Calibration order PR
Hi,
I am facing following problem while create PO for calibration order PR:
"Comparison of the field selection strings from the G/L account 8000010800 and the account assignment category F reveals that there is an incompatible combination of field selections for the field selection group 'Network'.
The G/L account field selection is stored in table T004F; that for the account assignment is stored in table T162K."
Can anybody help me urgently.
Regards,
MewHi,
Check the field selection for account assignment category & Field status group of G/L 8000010800.
Compare both & set the field selection equally in both.
Regards,
Piyush
Maybe you are looking for
-
BAPI_PO_CHANGE with scheduling
Hai frnds, Im using BAPI_PO_CHANGE for changing the quantity of the existing item and need to create an new item also. For this im using scheduling table(poschedule),where one item has two scheduling line. Existing details Eg: POHEADER: 02100000
-
Why I downgraded back to PC Suite 6.86.9
I use PC Suite extensively to archive SMS text messages from my phones. The best thing about 6.86 is that is takes the original delivery date and time of each message you extract into a Windows folder. In the folder I can order all the messages by ti
-
Wacky Drag and Drop issue with JNLP
I'm sure I'll have to be a bit more descriptive but I'll just throw this out and see if anyone has any suggestions. I've got a swing app which is an administration tool to a rules engine I have built. I distribute the app to users using JNLP 1.2. Her
-
Hi, When we do the Good Receipt then accounting document will be created using document type WE. Do we have to do some configuration according to this? Thanks.
-
Need to install in different language
Hi and thanks for your time: I'm in Poland, but my native language is spanish... Is there anyway I can change the InCopy program language from polish to spanish or english without having to buy anything??? Thanx in advance.