Infotype not getting created using FM HR_INFOTYPE_OPERATION
I am trying to create infotype 210 from user exit ZXPADU02 using below code.
DATA : v_return TYPE bapireturn1,
v_return1 TYPE bapireturn1,
v_return2 TYPE bapireturn1,
v_key TYPE bapipakey,
v_return3 TYPE bapireturn1.
p0207 = gt_p0207.
MOVE-CORRESPONDING p0207 TO p0210.
p0210-infty = '0210'.
p0210-begda = p0207-begda.
p0210-taurt = 'PR'.
p0210-txsta = '01'.
p0210-amtex = '0'.
CLEAR : p0210-aedtm.
CLEAR : p0210-uname.
CLEAR: v_return,v_return1,v_key.
CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
EXPORTING
number = p0210-pernr
validitybegin = p0210-begda
IMPORTING
return = v_return.
IF v_return IS INITIAL.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0210'
number = P0210-PERNR
subtype = 'PR'
objectid = p0210-objps
lockindicator = p0210-sprps
validityend = P0210-ENDDA
validitybegin = P0210-BEGDA
recordnumber = p0210-seqnr
record = P0210
operation = 'INS'
IMPORTING
return = v_return1.
ENDIF.
CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
EXPORTING
number = p0210-pernr
validitybegin = p0210-begda
IMPORTING
return = v_return.
But infotype 210 is not getting created.
When i check it from PA30, i get error
"No data stored for Residence Tax Area in the selected period"
Can anyone tell me what is the problem here.
Full points will be rewarded.
HI,
check the value coming on the screens are properly.Use DIALOG_MODE as foreground and check whether all fields getting populated.
Check any default values need to be populated.
Regards,
Manoj.
Similar Messages
-
Production version is not getting created using ALE-IDOC
Hi all,
Am using BD10 to transfer the material from sending to receving system.All the views are geting sent successfuly accept the production version tab data of MRP4 view.The segment is available in the standard IDOC.But prodction TAB is not getting created at receving system .Please help to resolve this issue.
Thank you.Hi Sanu,
BD10 Send Material..
the reason might be Production tab is not created is the segment is not a mandatory..
and the data is not populating for that fields.
if the segment is not madatorty and data is not available for the fields in the segment ..the prodction TAB will not be created ..
Regards,
Prabhudas -
LEADS NOT GETTING CREATED USING EXTERNAL LIST MANAGEMENT (ELM)
Hi Folks,
We are trying to create leads via ELM.
When ELM is executed records are getting uploaded,BP's are created.But leads are not getting created.
Pls find attachments for mapping format attached to ELM.
Assignment block Process steps is as shown below:
We tried n number of times to create leads but its not happening.
Pls suggest how to resolve the same.
Any help is highly appreciated.
Regards
JayaHi Kavindra,
Below mentioned is the screenshot of badi debugging.
Our technical consultant analysed the scenario and found out that Lead transaction data is not filling in standard and no data is coming into method create_business_transaction where Leads will be created based on the input data and says this has to fill in standard if all the mapping fields and data uploading is correct.
Pls suggest exactly where we are going wrong.
Pls let me know if u need any further info from my side.
Regards
Jaya -
Xmlns not getting created using jaxb
Hi, I'm a newbie to JAXB. I went through the tutorial for jaxb on jwdsp 1.5 site and generated source files for a given schema using xjc. However, the generated xml does not seem to output xmlns. Not sure how to set this. Here is the related xsd file:
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="order">
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="urn:abc.com"/>
</xsd:sequence>
<xsd:attribute name="xmlns" type="xsd:string" use="required" fixed="urn:abc.com"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>Also, I do not know how to set "any". I tried using a DOM element but I get a ClassCastException when trying to cast to JAXBObject. So any pointers in that regard will be greatly appreciated.Hi,
When you use the MD01 the system will look for the planning file entry and for the materials which have planning file entry will only be included in the planning run.
KIindly maintain the planning file entry in the md21 or mdab. and rerun your md01.
it is working in md02 or md03 since you are giving the input as material.
reg
dsk -
Infotype 0573 not getting created
Hi All,
We have an R/3 transaction created for leave application and this is showcased in EP6.0 portal as an Internet Service. Now, when we apply for leave using this application through portal, for certain employees, infotype 0573(Absence infotype for Australia PS) is not getting created but 2001 gets created. When we try doing the same through PA30 or through the R/3 transaction itself, everything is going on fine. Only while applying through portal, this issue occurs. This was working fine in EP5.0 portal.
Can anyone suggest a way to sort this issue? Any help will be rewarded.
Thanks and Regards,
LeenaHi Leena
Please note that the function module HR_ABSENCE573_REQUEST_PBS was internally used by SAP only for corresponding ESS services of Leave administration Australia Public sector functionality. The behavior for the function module is as expected, when
called from corresponding ESS services. Further the same function module is currently not enabled to be used outside the same. Also there are no further issues with creation of Infotype records in 0573 and 2001 (which are consistent) from PA30 (Maintain Master data).
Hence would you please check if you are using the standard function module
HR_ABSENCE573_REQUEST_PBS and perform an operation. As I mentioned Function module HR_ABSENCE573_REQUEST_PBS which is currently being used by ESS services for Leave administration.
Regards,
Jun Wu
SAP HCM Support team (AU/AU-PS) -
Infotype 1000, Position data IDOC is not getting created via RBDMIDOC
Hi All,
We are using PFAL styandard HRMD_A message type, while executing RBDMIDOC with message type HRMD_A, all the infotypes data IDOC is created except Infotype 1000 Position(S).
The same is (Infotype 1000, position IDOC is created in dev server) but the same is not getting created in Quality and Prod.
Can any one suggest the same, what could be the error.
Thanks.Hi,
You need to check in your filter settings in BD64 for your corresponding distribution model, if you have included IT1000 for PD objects such as O, C, S. After adding this filter group, you have to distribute the source system into the target system (Edit > Model view> distribute). In the target system, you have to generate partner profiles (environment> generate partner profiles).
Hope it helps,
Christine -
Need help: Distribution demand is not getting created when Iu2019m using Purch
Friends,
When Iu2019m running the heurisitic plan distribution demand is not getting created. Iu2019m working on SCM 5.1
I have a transportation lane which are automatically created using the Purchase inforecords. Iu2019m not
facing any issues tranfering this purchase info records (PIR). Iu2019m able to see this as transportation lanes
in APO. When I run the heuristic plan run purchase requsition are getting created but distribution
demand is not getting created. I have tested the same scenario by manually creating transportation
lanes. The manually created transportation lanes are generating distribution demand but purchase info
record transportaton lanes are not generating the distribution demand. What may the cause? I would really appreciate for
your input in advance.
Regards
KRNFriend,
I have maintained the means of transport to the tranportation lane
Regards
KRN -
File not getting created in a different server
My requirement.
I have written a code in the BI system and now need to write an empty file (say a.done)in a directory /interfaces of PI system.
I wrote using open data set and close data set however the file (a.done) is not getting created in the PI system even though the directory /interfaces exist.
When I give any directory of that of BI system ,the file(a.done) is getting created i.e the file is getting created on the same server and not on the different server.
Is there any function module or any other way for the file to get generated in the PI system.
Please explain with an example.
Regards,
VishTry to use search FTP in se37 or checkout the below FM
CALL FUNCTION 'EPS_FTP_MPUT'
EXPORTING
RFC_DESTINATION =
* FILE_MASK = ' '
* LOCAL_DIRECTORY = ' '
* REMOTE_DIRECTORY = ' '
* OVERWRITE_MODE = ' '
* TEXT_MODE = ' '
* TRANSMISSION_MONITOR = 'X'
* RECORDS_PER_TRANSFER = 10
* MONITOR_TITLE =
* MONITOR_TEXT1 =
* MONITOR_TEXT2 =
* PROGRESS_TEXT =
* IMPORTING
* LOCAL_DIRECTORY =
* REMOTE_DIRECTORY =
* LOCAL_SYSTEM_INFO =
* REMOTE_SYSTEM_INFO =
* TABLES
* FILE_LIST =
* EXCEPTIONS
* CONNECTION_FAILED = 1
* INVALID_VERSION = 2
* INVALID_ARGUMENTS = 3
* GET_DIR_LIST_FAILED = 4
* FILE_TRANSFER_FAILED = 5
* STOPPED_BY_USER = 6
* OTHERS = 7
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF. -
Weblogic Domain not getting created in SOA Suite 11g R2
I have installed the components of SOA Suite 11g R2 (11.1.1.3) on a single Windows XP SP3 machine (32 bit) following recommended procedures. I tried to configure Weblogic server using Domain Configuration utility. After navigating hrough the wizard, no Weblogic server profile is getting created in the doamin folder. Even the WL Admin server is not getting created. The Domain Configuration utility did not throw any errors.
1) Is this problem related to Oracle repository for SOA suite 11g?
2) Can the repository schemas (Oracle) hold multiple weblogic SOA domain information?Hi,
Weblogic servers directory do not gets created after domain creation or even managed server configuration. It will present itself only when you start the managed server for the first time, that is when it initializes all security attributes, diagnostic attributes (if configured) , etc..
Perform server start and then check if it gets created or not.
## rank answer if it is helpful ##
Thanks,
Ranjan -
BP not getting created while creating employee
Hi,
When I Hire an employee a BP should be created for it. It used to happen earlier in the system but after we moved to another system this is not working. Can someone please let me know the necessary config for this?
I've the following settings:
HRALX ONUMB = 2
HRALX OSUBG = MD
The MD number range is from 90000000 to 9999999999. Should this number range be internal or external?
When I use the HR_SYNC_PERSON report for an employee I get the error as
"Determination of connections to object 'BP' of 'CP' '50000201' failed"
"Object of type 'US' with ID '1122' does not exist or is inconsistent"
"Determination of connections to object 'BP' of 'O' '50000101' failed" etc
Also I need to upload the employee master data using LSMW and BP does not get created with LSMW also? Is there some specific config while using LSMW?
Please help.Whenever you are uploading employees using LSMW, you need to run program HR_SYNC_PERSON.
Pls refer to the following thread for further info:
Assignment: Business partner for person '50000029' is not unique
Regards,
Dilek -
SRM PR is not getting created in ECC backend
Hello Experts,
We are running SRM 7.0 with SRM-MDM Catalog, we are using SRM for shopping. We do have PI 7.11 running in the Environment as well.
We are on ECC 6.0 with Ehp 4.0
Purchase Order:
However we can see the PO creating successfully using PI.
Question, in the SRM table (BBP_FUNCTION_MAP), we see the object type: BUS2012 for ERP 4.0 has adapter name: /SAPSRM/CL_SOA_ADPT_PO_CRT_ERP for when creating PO. Please see teh screen shot.
is this the reason that we need PI?
Purchase Requisition:
PR Creation is not working:
PR is not getting created in the ERP, PR uses Object type: BUS2105, Adpater CL_BBP_BS_ADAPTER_RQ_CRT_470 for ERP 4.0 System type, can you please tell me if the adapter is correct for ERP 4.0 system type?
I also have a question to ask:
1) Where did you see that PR/PO was send to PI System (PI1)? My understanding is that since ERP amd SRM are 2 ABAP Systems, why we cannot send the PR/PO directly to ERP system from SRM? Why do we need a middleware(PI) in between for this process? We should be able to USE BAPI function to do it correct?
Please advice.
Thanks
Kumaryes, i could see a PR number with all this additional details as below.
Table BBP_PDBEI
CLIENT 453 Client
GUID 4CAEFA58EB9D005CE1008000AC1C2031 Globally Unique identifier
BE_LOG_SYSTEM QA1400 Logical System of Logistics Backend
BE_OBJ_ITEM Follow-On Object Item in Back-End System
BE_OBJECT_TYPE BUS2105 Follow-On Document Object Type in Back-End System
BE_OBJECT_ID 2000000167 Follow-On Document Object ID in Back-End System
BE_REFOBJ_TYPE Reference Object Type in Back-End System
BE_REFOBJ Reference Object in Back-End System
BE_REFOBJ_ITEM Reference Object Item in Back-End System
BE_REFOBJ_SBITM Reference Object Sub-Position in Backend System
BE_REFOBJ_TYPE2 Reference Object Type in Back-End System
BE_REFOBJ2 Reference Object in Back-End System
BE_REFOBJ_ITEM2 Reference Object Item in Back-End System
BE_REFOBJ_FYEAR2 0000 Reference Document Object - Fiscal Year in Back-End System
BE_STGE_LOC Storage location
BE_PLANT 2016 Plant
BE_BATCH Batch Number
BE_VAL_TYPE Valuation type
BE_MOVE_REAS 0000 Reason for Movement
BE_EXPERYDATE 00000000 Shelf Life Expiration Date
BE_PUR_GROUP 206 Purchasing group
BE_PUR_ORG 2000 Purchasing organization
BE_CO_CODE 2000 Company Code
BE_DOC_TYPE CLRQ Purchase Requisition Document Type
BE_ACCREQUIRED Account Assignment for Logical Backend Required
BE_SP_STK_IND Key for Special Stock Section
BE_INFO_REC Number of purchasing info record
BE_MOVE_TYPE 201 Movement type (inventory management)
BE_PACKNO 0000000000 Package number
BE_INTROW 0000000000 Internal line number for limits
BE_ITEM_TEXT Short Text of a Service Purchase Order Item
BE_PO_PRICE 1 Price from Backend
BE_UNLOAD_PT 200 Unloading Point in Backend
BE_DEL_IND Deletion Indicator in Backend Documents
BE_TRACKING_NO Requirement Tracking Number
BE_COND_TYPE Condition Key
BE_COND_STEP 000 Level Number
BE_COND_COUNTER 00 Condition counter -
Attachment not getting created in PI from CRM
Hi Everyone,
I am trying to create attachments in PI from CRM but it is not getting created there. I am executing the following steps:
By default I am getting the attachment data in Binary format so I am using this function module to convert it into XSTRING format.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = lv_input_length
first_line = lv_first_line
last_line = lv_last_line
IMPORTING
buffer = lv_xbuffer
TABLES
binary_tab = file_content_binary.
2. Then I am getting the server context and the protocol.
obj_server_context = cl_proxy_access=>get_server_context( ).
obj_attch_protocol ?= obj_server_context->get_protocol( if_wsprotocol=>attachments ).
* Assign File naame to STRING Variable
lv_name = lv_filename.
* Attach file to the service response.
obj_attachment = obj_attch_protocol->get_attachment_from_binary(
data = lv_xbuffer
type = if_ai_attachment=>c_mimetype_pdf
name = lv_name ).
APPEND obj_attachment TO t_prx_attach.
obj_attch_protocol->set_attachments( t_prx_attach ).
3. Then I am using a proxy class which has Input and Output structures for sending data to PI and getting the response respectively. And then in the end I am calling the proxy and passing the structures.
With this I am unable to see the attachmenmts in sxmb_moni transaction. Please help.Hi Gurus,
Can you please help with some pointers on this.
I have used below links as reference for coding.
Link 1 :
http://help.sap.com/saphelp_nw04/helpdata/en/a7/3b2a2d45a34a23b75e3b18745c63bc/content.htm
Link 2:
http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/10/19/abap-proxy-protocols-use-cases-and-examples
After setting attachment(Method SET_ATTACHMENTS) i am not getting any exceptions,but still i am not able to see any attachment created in SXMB_MONI.
Thanks in Advance,
Manil. -
SQLite encrypted Database does not get attached Using Adobe Air,Why?
Hi,
Any one knows the solution, am trying to attach the encrypted SQLite database adobe air-adobe flex bulder , it does not get attached using sqlconnection.attach throws error, though the given key is correct, but it gets open using sqlconnection.open with the same key, any one knows the solution, how to attach the encrypted data base, since am using two data base one is opened and another must be attached to the existing ,thanks in advance. using adobe air- flex related. i use the following code
databaseFile1 = File.applicationStorageDirectory.resolvePath("Sample_1.sqlite");
databaseFile2 = File.applicationStorageDirectory.resolvePath("Sample_2.sqlite");
dbConnection.open(databaseFile1, SQLMode.CREATE, false, 1024, secKey);
dbConnection.attach("db2",databaseFile2,null,secKey);
got the following error.
ERROR #3125 Unable to open the database file.And I would say more "this is the issue" !
It should be possible as it is clearly stated in the doc :
public function attach(name:String, reference:Object = null, responder:Responder = null, encryptionKey:ByteArray = null):void
with
encryptionKey:ByteArray (default = null) — The encryption key for the database file. If the attach() call creates a database, the database is encrypted and the specified key is used as the encryption key for the database. If the call attaches an existing encrypted database, the value must match the database's encryption key or an error occurs. If the database being attached is not encrypted, or to create an unencrypted database, the value must be null (the default).
so with a same encryptionkey, I (and this should be the same for FinalTarget) can open the encrypted db but not to attach it... quite strange. -
Spool not getting created in batch job
Hello experts,
We have a requirement of printing BA00, BA01 and LD00 from different application.
We have done same code for all BA00, BA01, and LD00.
Normally the code is working fine except in few cases, when batch job is created but spool is not created.
DATA: job_name TYPE tbtcjob-jobname,
number TYPE tbtcjob-jobcount,
print_parameters TYPE pri_params,
wv_pripar TYPE pri_params,
wv_arcpar TYPE arc_params,
wv_val TYPE c VALUE 'X',
wv_false TYPE c VALUE 'X',
gv_mandt TYPE tsp01-rqclient,
gv_user TYPE tsp01-rqowner.
CLEAR: gv_mandt, gv_user, number.
gv_mandt = sy-mandt.
gv_user = sy-uname.
job_name = 'DELIVERY_PRINTING'.
CLEAR: range1.
range1-sign = 'I'.
range1-option = 'EQ'.
range1-low = 'LD00'.
CLEAR: range1-high.
APPEND range1 TO range.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = job_name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT sd70av2a WITH rg_kschl IN range
WITH rg_vbeln IN deli_tab
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB job_name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = job_name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
WAIT UP TO 10 SECONDS.
** to give the data to the printer***
* CLEAR gv_rqident.
SELECT SINGLE listident INTO gv_listident FROM tbtcp
WHERE jobname = job_name
AND jobcount = number.
IF sy-subrc = 0.
MOVE gv_listident to gv_rqident.
CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
EXPORTING
spool_request_id = gv_rqident.
ENDIF.
The same code is for all the output BA00, BA01 and LD00.
The issue is that for few batch jobs (which is created in the above code) , spool is not getting created.
Thanks and Regards,
Paritosh PandeyHi,
The code starting from WAIT UP TO 10 SECONDS. - not only does it look attrocious, is error prone (if no free process for executing batch job is available for 10 seconds, or if the job runs for more than 10 seconds, what will happen...?), but seems utterly unnecessary... Is there any reason immediate spool output can not be handled by simply setting PRINT_PARAMETERS-PRIMM = 'X'?
cheers,
Janis
Edit in:
Ok, i just read Document in spool but not printed... Do not use an output device relying on frontend access methods to do printing from background processing. Frontend is not available during background processing, period. To my knowledge there is no easy, clean solution to this problem other than defining and assigning, per user, output devices not relying on frontend printing. What if the dialog user has logged off by the time batch job finishes..? May the spool remain unprinted?
Has the SAP Basis refused to define output devices (I have hard time believing this...)? Well, tell them one time to stop being silly and if they do not cooperate, tell the owner of the requirement that it can not be implemented due to uncooperative Basis then... and that the users will have to keep going to SP01 and manualy start the output!
Message was edited by: Jānis B -
File not getting created at the Reciever
Hi All,
I have implemented a simeple file to file scenario. The file is getting deleted from the source directory but is not getting created in the target directory. It shows a checkered flag in SXMB_MONI . When i do Communication Channel monitoring for the reciever Comm. Channel, it shows no messsages .
I have refreshed the Cache in Integration directory. it is still not working.
I tried using a different Communication channel with the Mail adapter that is working fine.
I cant figure out what the problem is please help.
Many Thanks,
NehaHi! Neha,
Here i want to add some points :
Even I faced same problem in project....... then I followed this procedure...
My scenario is FILE TO RFC via FTP Server in file adapter.
Here issue is file is picking from FTP and showing success in MONI but data is not reaching to BW system..
Most of the times I checked and I did successfully.
Main issue are due to:::
1. Check Queues in Inbound queue SMq2
2. Trace teh step by step in message flow in message monitoring that means check whether message flows
from a) Intergration Engine
b) Adapter Engine..
3. Check and trace the flow in Message monitoring in Run Time work Bench
4. Check Status of Receiver communication Channel in Communication channel Monitoring
5) Check whether Business Services are Scheduled in Availability Time planning or not
6 Also Check in Visual admin whether the services are released or not if any others are might using the same servivcees and cahnnels and suppose if they are scheduled or not
7. Do Cache Refresh mainly SXI CACHE, ADAPTER ENGINE CACHE
8 Finally if still not resolved J2EE ENgine SOFT Restart..instead of doing restarting entire XIengine server.
Once the Server is started then defintely all the messages if suppose if 40 messages are picked from source directory and not reached to Target then all those definetely 100% become success and reached
Note:: All above needs to check only if development part is correctly configured.
Also check the Receiver target and sender directory Permissions in FTP Server i.e., rwx permissions okay
Thanks
Amar Srinivas Eli
Reward Points if useful
Maybe you are looking for
-
Cant hear what im recording in realtime on my headphones
hello thank you for taking a look at my post, i use soundbooth for little recording music projects, i know its not for that but i use it because its simple and gets the job done. however i got a BOSS dr. rhythm drum machine DR-770 and i have it plugg
-
Compulsory quantity in text position of BOM
Hi gurus, when I create a production order (CO01) and I add a text position in BOM (type T) the system requires an obligatory quantity. It's not logical that a text position requires a quantity. Is it possible to make the text position not obligator
-
What are configuration changes in billing?
what are configuration changes in billing regards [email protected]
-
PortalRuntimeException: Failed in WD JNDI lookup.
Hi Experts We are getting the following exception when we try to run our WD application in an iView : com.sapportals.portal.prt.runtime.PortalRuntimeException: Failed in WD JNDI lookup. javax.naming.NameNotFoundException: No child found in WebDynproC
-
Hi, I would like to execute SQL calling from jsp -> java bean and produce a report in HTML, PDF, Excel format. I would like get some advises and opinions on java report library. So far I have research on net, I know there is itext, crystal report, ja