How to create infotype while creating another infotype
Hi All,
I have below requirement...
Whenever user create infotype 0008, infotype 0014 should be created for the wages available in a Z table.
I created a dynamic action and call function HR_INFOTYPE_OPERATION. When i debug the routine function successfully executed with sy-subrc eq 0. But when i check the database table, there will be no data for infotype 0014. I am writing the below piece of code, i put the hard code value for testing purpose...if you have any idea please let me know
IT_P0014-PERNR = '1000005'.
IT_P0014-ENDDA = '99991231'.
IT_P0014-BEGDA = '20071111'.
IT_P0014-LGART = '1003'.
IT_P0014-BETRG = 1003.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = '1000005'
IMPORTING
RETURN = RETURN.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0014'
NUMBER = '1000005'
VALIDITYEND = '99991231'
VALIDITYBEGIN = '20071111'
RECORD = IT_P0014
OPERATION = 'INS'
TCLAS = 'A'
IMPORTING
RETURN = RETURN
EXCEPTIONS
OTHERS = 0.
COMMIT WORK AND WAIT.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = '1000005'.
Please let me know if i am missing any thing.
Use INSERT command instead of HR_INFOTYPE_OPERATION.It has some issues while calling from Dynamic Actions.
Similar Messages
-
How to add invoices while creating Batch Payment in Oracle Apps R12
Hi all,
how to add invoices while creating Batch Payment in Oracle Apps R12
ThanksCan you elaborate your problem in detail ?
-
How to redefine interface while creating BSP extensinon
hi,
how to redefine interface while creating BSP extensinon i am using cl_bsp_extension a ssuper class here i have to redefine some interface how but it is not allowing hoew can i do these?Hi Sahadev,
You can get the IP address of your client using..
DATA l_host TYPE string.
l_host = request->if_http_entity~get_header_field( '~remote_addr' ).
Have a look at [this thread|Re: How to find domain name for the host] for more details.
Search the forum , you will get the exact answer.
Regards,
Anubhav -
How to Change Conditions while creating PO
Hi ALL
While creating the PO, i need to change the value of certain condition type.
I am able to do for PB00 condition, but i need to change it for other conditions.
For example, if there is any discount condition, i need to be able to change the value, when PO is getting created
Can you please help on this
Regards
Madhan DoraikannanHi Madhan!
Your scenario is getting more and more complicate, but so you will have better answers.
I didn't found methods GET_CONDITIONS, SET_CONDITIONS in ME_PROCESS_PO_CUST (Customer enhancement?!), but most probably no changes will be done by these methods, which aren't allowed online in transaction.
But why do you use a transaction dependent BADI instead of pricing exits / pricing procedure?
If you need something out of condition reach, you can use exit with function module ME_FILL_KOMP_PO. Communication structure KOMP can be used in a formula to fill a condition without access sequence. Then condition exclusion groups can handle allowed / not allowed condition combinations.
Regards,
Christian -
How to raise PO while creating GR
hi gurus,
here the scenario is that to raise the purchase order while posting goods receipt. its not that taking reference purchase order for goods reciept. but PO has to be created while we are posting GR.
please help me..In configuration (transaction SPRO) see set up under:
MM \ IM and PI \ GR \ Create PO automatically.
In this step, you define for each movement type whether a purchase order is automatically created when a goods receipt is posted.
When it is, the user can enter a goods movement without entering the purchase order number, using the Goods receipt for purchase order function. The system valuates the goods receipt at the price defined in the purchasing info record.
Requirements
In Customizing for organizational structure, the plant must be assigned a purchasing organization in the step Standard purchasing organization - assign plant so that the system can determine the purchasing info records.
Activities
Maintain the indicator for the required movement types. You can only use the movement types that are used for entering goods receipts for purchase orders: Movement types 101 and 161).
Movements to GR blocked stock are not possible using this function.
Regards,
Nick -
How to attach files while Creating shopping cart using FM- BBP_PD_SC_CREATE
Hi
I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
Also I have to attach files as we do in Standard SAP shopping cart creation process..
But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
Thanks
Geetha
Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PMHi
I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
Also I have to attach files as we do in Standard SAP shopping cart creation process..
But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
Thanks
Geetha
Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM -
Create Vendors while creating Real Estate Partners
Hello Everyone ...
I am using <b>BAPI_BUPA_CREATE_FROM_DATA</b> to create Real Estate Partners for loading Partner data on SAP ECC 6.0 system. This creates partners and no issues with it. However we need to create some partners and vendors together. We can achieve this online using tcode BP with role <i><b>Partner W. Vendor Account</b></i>. This creates the partner and the corresponding data is copied to create a linking Vendor simoultaneously.
However I want to achieve this using a FM or BAPI as we want to load partners and create corresponding vendors as part of our data loads.
Any usefull input would be highly appreciated.
Thanks,
Mridu.Hi All,
I was passing blank entries so the above errors were coming. I removed those blank entries and now Im getting error like .
"Individual renewal rule does not contain any extension periods"
"No instance of object type ContractREFX has been created. External reference: REC <NEW>'. -
How to add image file while creating addon...pathsetup?
Hi friends,
i have a problem while creating addon.
while creating addon we can add all the files(.vb,xml).but if i add image files(.bmp,.jpg)they are not displayed in runtime.
--how to add image file while creating addon..?
we are useing SAP Business One 2005A(6.80.317)SP:01 PL:04Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP" -
PR is accepting more than FO quantity while creating from main
Hi,
While Creating the PR from maintenance order wih control key pm03
PR is accepting more than the assigned frame work order (services) quantity.
Can some one help how to restrict the same.Hi
How are U,
PR while creating automatically from maintenance order w.r.t Frame work order, service quantity is not getting validated against actual available quantity in FO.
i.e. it is accepting more than the quantity available in FO when the services are copied form FO. -
Error while creating new release groups in PO release strategy
Hi All
I was creating a release procedure for PO and after completing steps, Create Characteristic and Create class & while creating new release grp with the class created i am not able to save it and the error message is (ME492) is" Only one release class should be used within the release groups for overall release...".
But i am able to create from an already existing CLASS and able to proceed further.( Note: I am using the training module and in the learning stage.)
Thanks for your support.
IllanDear,
Please follow below mention path.
*and check any things is missing, If you can go in bellow mention hints you cans create easily purchase release streatgy.*
*- Follow below mention path.*
*SPRO -> Material Management -> Purchasing -> Purchase Order -> Release Procedure for Purchase Orders.*
*Three steps involved in release process of purchase order.*
**Edit Characteristic Create characteristic for release purchase order. If you want to release purchase order on purchasing group base. So you can create characteristic for purchasing group. Take reference of CEKKO structure and BKGRP field for purchasing group in additional data of characteristic. E.g :- Purchasing group - BKGRP**
**Edit Class After creation of characteristic, create class for release purchase order. In which you can take reference of Class Type: - 032,Status: - Release,Class group: - Release strategy class,And put reference of your characteristic, which are created by you in first step.E.g: - Class - REL_PO**
*Define Release Procedure of purchase order In this step four processes involved.o Release Groupso Release Codeso Release indicatoro Release Strategies*
Now see each steps of Define release procedure of purchase order in briefly: -
Release Group In which you can define release strategy groupExa.: - Release group : - 01,Release object: - 01, Class: - REL_PO.
Release code In which you can define release code. Enter value as Release group: - 01,release code: -01 - Purchase Head,Release group: -01, release code: - 02 - Auditor
Release indicator In this step you have to define release indicator.Like X - Blocked, I - Under process, S - Release
*Release Strategy *This is the final step for release strategy.Assign release code 01, 02.Click on release prerequisites, select 02 - check box and click on continue.Click on release status button, enter release indicator X, I, S and click continueClick on classification button, enter values of purchasing group for which you want to created release strategy
Than create purchase order for purchasing group, which you assign in classification of release strategy. Enter your values of purchase order and click on check button release strategy executed in your purchase order.
Regards,
Mahesh Wagh -
Error while creating configurable task list
Dear Expert,
I am trying to create configurable task list for equipments and I want to use this task list for preventive maintenance cycle. In following steps I will tell you what i did in the process.
Step1:- Characteristic is created and different values are assigned to this.
Step2:- Class with class type 300 is created, characteristic is assigned to this class
Step3:- Equipments are created and class created in above steps is assigned to them and character values are set for them
Step4:- General maintenance task list created
Step5:- Configuration profile for task list with same class is created
now while creating the object assignment in the task list operation, in the dependency basic data I am getting error ' No source code entered'. Please guide me what data do I need to enter in this basic data and where I am doing wrong.
I try to follow the previous discussion regarding the same topic, but unable to create this object dependency assignment.
Thanx in advance, for your help.
Regards,
ParagHi Parag,
See this document.Configurable Tasklist
I hope you will be able to connect and correct your process accordingly.
Step3 here (CU01) is related to your issue.
You are expected to give a code shown like that in the Editor above Assignments in the Tasklist Extras menu (Takes to CU01)
Jogeswara Rao K -
Error while creating order from notification
Dear Experts,
I am getting error (No material number transferred(Message no. M3752)) when creating order from R3 notification. the material number not copied from screen to VIQMEL. This is only in few times, not all times. when i debug this, in VIQMEL-FEKNZ = X(Error Records Exist).
This is only for R3 notification. Also not in all times.
What is the problem?Thanks, I am creating notification thru IW21. form IW22 i am creating order. while creating is gives above error. in this case MATNR not saving in QMEL. even when i am saving in IW22 it's not saving. when i am creating order from IW22 it gives above ror. but it gives error some times only, not all the times. for the same equipment i created so many. some four times only i am getting this.
-
Error While creating users in managed system.
Dear All,
I am configuring SAP Solution Manager 7.1. I am in stage of Managed System Configuration (for JAVA).
In step 6 Create user: While creating (System) user SM_COLL_<SID> I am getting error :
An error occurred while processing the UME command READ_USER from agent <hostname> : Server returned: 401 Unauthorized. Please check SMD agent application logs.
And for ABAP System,
SMDAGENT_XXX Technical User (in Managed System <SID> Client 000)
while creating user SMDAGENT_<SID> and SAPSUPPORT
I am getting error:
No CENTRAL nor DIALOG instance known for system <SID>
But in SM51 I can see Server Status Active.
and Users are not present.(Checked it through SU01)
I am not getting why this is happening.
Please help me regarding the same.
Thanks & Regards
AjitabhHi,
I am pasting the SMD agent application logs:
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7185 - 630]/>
<!NAME[SMDAgentAppLog]/>
<!PATTERN[SMDAgentApplication.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%t] %10s %m)]/>
<!ENCODING[Cp1252]/>
<!FILESET[0, 10, 1000000]/>
<!PREVIOUSFILE[SMDAgentApplication.9.log]/>
<!NEXTFILE[SMDAgentApplication.1.log]/>
<!LOGHEADER[END]/>
Nov 29, 2011 2:02:09 PM [Thread[Connector,5,main]] Warning com.sap.smd.wily.hostagent.mai.MaiAdapter - init: Introscope Host Adapter is not active, no Introscope metrics from MAI
Nov 29, 2011 2:21:01 PM [Thread[Thread-33,5,main]] Warning com.sap.smd.wily.hostagent.mai.MaiAdapter - init: Introscope Host Adapter is not active, no Introscope metrics from MAI
Nov 29, 2011 2:38:31 PM [Thread[Thread-67,5,main]] Warning com.sap.smd.wily.hostagent.mai.MaiAdapter - init: Introscope Host Adapter is not active, no Introscope metrics from MAI
Nov 30, 2011 1:26:19 PM [Thread[ExRun:OutsideDiscovery_1,5,OutsideDiscovery:ExecTG]] Path Caught java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:521)
at com.sap.smd.agent.plugin.connectors.http.ConnectionExtendedImpl.openSocket(ConnectionExtendedImpl.java:2025)
at com.sap.smd.agent.plugin.connectors.http.ConnectionExtendedImpl.open(ConnectionExtendedImpl.java:1398)
at com.sap.smd.agent.plugin.connectors.http.ConnectionExtendedImpl.sendInternal(ConnectionExtendedImpl.java:1552)
at com.sap.smd.agent.plugin.connectors.http.ConnectionExtendedImpl.send(ConnectionExtendedImpl.java:1483)
at com.tssap.dtr.client.lib.protocol.requests.RequestBase.perform(RequestBase.java:570)
at com.tssap.dtr.client.lib.protocol.requests.RequestBase.perform(RequestBase.java:693)
at com.sap.smd.agent.plugin.connectors.http.HTTPConnectorService.performRequest(HTTPConnectorService.java:548)
at com.sap.smd.agent.plugin.connectors.http.HTTPConnectorService.performRequest(HTTPConnectorService.java:673)
at com.sap.smd.agent.plugin.connectors.http.HTTPConnectorService.performRequest(HTTPConnectorService.java:638)
at com.sap.smd.agent.plugin.connectors.http.HTTPConnectorService.performRequest(HTTPConnectorService.java:624)
at com.sap.smd.agent.plugin.connectors.webservice.SAPHostAgentTrustedConnectionConfigurator.setupTrustedConnection(SAPHostAgentTrustedConnectionConfigurator.java:81)
at com.sap.smd.agent.plugin.connectors.webservice.WSConnectorFactory.configureLocalSAPHostAgentEndPoint(WSConnectorFactory.java:244)
at com.sap.smd.agent.plugin.hostagent.check.HostAgentCheckService.getHostAgentVersion(HostAgentCheckService.java:105)
at com.sap.smd.agent.plugins.dcc.util.WSProxyManager.checkSAPHostAgentVersion(WSProxyManager.java:287)
at com.sap.smd.agent.plugins.dcc.util.WSProxyManager.initSAPHostControlWebServiceClient(WSProxyManager.java:112)
at com.sap.smd.agent.plugins.dcc.util.WSProxyManager.getSAPHostControlProxy(WSProxyManager.java:75)
at com.sap.smd.agent.plugins.dcc.job.PhysicalHostPushJob.run(PhysicalHostPushJob.java:195)
at com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:46)
at com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:781)
at java.lang.Thread.run(Thread.java:679)
Nov 30, 2011 1:26:19 PM [Thread[ExRun:OutsideDiscovery_1,5,OutsideDiscovery:ExecTG]] Error Pb:
[EXCEPTION]
java.rmi.RemoteException: Error to perform http request cause by java.io.IOException: Unable to open connection to host "FQDN:1128". The host is down or unavailable...; nested exception is:
java.io.IOException: Unable to open connection to host "FQDN:1128". The host is down or unavailable.
Dec 2, 2011 4:56:53 PM [Thread[Thread-368,5,main]] Warning [Setup]Step Id 1051 has no step description
Dec 2, 2011 4:56:53 PM [Thread[Thread-368,5,main]] Warning [Setup]Step Id 1051 has no step description
Dec 2, 2011 5:02:05 PM [Thread[Thread-363,5,main]] Error [Setup]Failed to get a soap response from http://FQDN:50000/spml/spmlservice
Dec 2, 2011 5:02:05 PM [Thread[Thread-363,5,main]] Error [Setup]An error occured while processing the UME command READ_USER from agent HOSTNAME : Server returned: 401 Unauthorized
[EXCEPTION]
com.sap.sup.admin.xmlsoap.core.soap.NativeSOAPException: Server returned: 401 Unauthorized
Kindly help me out guys.
Thanks & Regards
Ajitabh -
Error while creating absence record in PA30 using 2001 infotype
Hi all,
iam getting an error while creating absence record for infotype 2001for LOP(unpaid)
error : No quota available for att./abs. 6000 for pers. no. 61000052 between 31.12.2009 and 31.12.2009
i have did
Create a absence type LOP
Determine Entry Screens and Time Constraint Classes
Define Counting Rules
Assign Counting Rules to Absence Types
Payroll: India>>Absences>Describe Absence Valuation Rules 01 Unpaid Leave
Group Absences for Absence Valuation>>Absence valuation rule>>F4 country grouping 40>> assign 01Unpaid Leave
please solve thisActually I don't know how your system is configured.
However, the error you're receiving seems you have assigned the absence type to a quota type.
Please go to your counting rule and check whether Deduction rule - absence quotas - within entitlement field is filled.
If yes, get the deduction rule value and go to
SPRO Time man- Time data rec - Absences - Absence Cat - Abs counting - rules for counting (new) - deduction rules for abs quotas and check the quota type in here.
If there is a quota assignment in place, before creating an IT2001 you need to create a IT2006 for that specific time period.
Or, you need to delete the quota assignment via two config steps mentioned above.
Regards,
Dilek -
Error while creating OM Infotype
Dear All
I am trying to create a custamized info type in OM module.
I have created a HRI9009 structure in SE11 ....
in ppci I am trying to create in 9009 info type .. when I click on create button it's saying 9009 info type has not created message I am getting here.
in the log file it's saying .... structure HRI9009 has created
Structure P9009 has not existed
table HRP9009 has not existed ................
pls guide me how to solve this problem ...
Is it mandatory to create HRP9xxx table in se11 while created a info type ...
regards
ChandraHi Chandra,
Actually, you don't need to. System should create it.
If you have problems though, you can refer to the article below which expains a more detailed solution of creating a PD infotype:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c03ec8d4-71c9-2d10-e1b9-b3142180f094
Regards,
Dilek
Maybe you are looking for
-
Date Formatting in a Result Field: Crystal Reports 2008
I'm modifying a report at runtime in c# .Net using Crystal Reports 2008. I'm having trouble modifying a date fields format. I have accessed the DateFieldFormat object, and modified the properties, but only the SystemDefaultType property seems to have
-
I use Sibelius for composing scores and would love to see audition support music xml import to the midi sequencer for final production to audio instead of requesting native notation features within AA. At the same time on a related feature request, I
-
The problem is this: the last time i ran the windows, but he hangs and died (can not run further the logo). now i can not load not windows, not maс! how to be, what to do???
-
Is CTSS will take care of Day light Saving changes
Hello, In our enviornemt we used CTSS(cluster time synchronization service) in 2 node RAC,NTP services is stopped on Linux nodes. DST will going to happens on 27-Mar-2015, so is CTSS will take care of DST changes automatically,if not what needs do to
-
Dear Friends, is there any guide or document to make VLAN assigment work, i found only video in youtube that do this using flex connect feature mapping? thank you