FM or BAPI to create 1001 IT for Central Person
Hi Friends
I need FM or BAPI to create 1001 relationship for OTYPE CP ' Central Person ' .
FM HR_CENTRALPERSON_INSERT is there to create IT 1000 for CP i need for 1001 IT
anybody pls guide me.
Regards
Meeta
Hi
Thanks for your response
i have to create CP for B209 relations type ( subtype )
but prog giving me error ( Relationship CP B 209 P cannot be maintained using basic trainsaciton )
CALL FUNCTION 'RH_RELATION_MAINTAIN'
EXPORTING
ACT_FCODE = 'INSE'
ACT_PLVAR = '01'
ACT_OTYPE = 'CP'
ACT_OBJID = '01119840'
ACT_ISTAT = '1'
ACT_RSIGN = 'B'
ACT_RELAT = '209'
ACT_SCLAS = 'P'
ACT_SOBID = '01119840'
ACT_BEGDA = SY-DATUM
ACT_ENDDA = '99991231'
ACT_PRIOX =
ACT_PROZT =
REL_ENDDA =
EXCEPTIONS
MAINTAINANCE_FAILED = 1.
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Meeta
Similar Messages
-
Which BAPI can Create handling Unit for VL02N.
Dear All,
Which BAPI can Create handling Unit for VL02N.
The Business is: VL02N, click head toolbar PACK, then call up handling Unit.
ThanksHi sun!
I'm facing the same requirement since three days and i'm not able to get it workin.
Did you resolve the problem and if yes which function modules did you use?
Thanks in advance!
Florian
Edited by: Florian Visintin on Sep 17, 2009 10:21 AM
Edited by: Florian Visintin on Sep 17, 2009 10:22 AM -
Trex - Certain objects not found for Central Persons (CP)
Hi all,
In our soultion we use HRTMC_SEARCH application to search for certain persons.
For a specific person, we have set 3 aspirations. However, if we now search for persons with these aspirations, we cannot find them.
This is why I started looking into trex configuration
First thing I noticed in TREXADMIN is that the last indexation is done in 2013 for following query hrtmc_centralperson~aspirations
However if I go to esh_cockpit, I get the following
I tried updating HRTMC Central Person (Search Object Connector) but nothing changes
I also tried to use SES_ADMIN to recreate index but can't find the business object used for central persons
Can anyone help ?
Thnx !Hi Mikhail,
We have detected a few problems.
If we use the talent profile search scenario, it goes to the class CL_ESH_IF_SEARCH_REQUEST and uses method SEARH.
However, if we go to scenario ESH_SEARCH_RESULTS_UI it uses method SEARCH_FEDERATED.
SEARCH does not give us any result.
SEARCG_FEDERATED does give us results.
Second problem:
If we open the value lists for for example CAREER_TYPE, we get 2 results to choose from, when there are actually 3
If we go in debug, we can see that the table returns 3 lines, but the first one contains 0 while the 2nd and 3th return 0003 and 0004. First one should be 0002.
We are on TREX 7.1 revision 53 and I have asked BASIS to install revision 58.
Any idea's ?
Kr -
BAPI to create tax classification for business partners
Hi all,
I'm trying to create tax classification for a business partner (situated in the tab Control) from a BAPI.
I tried to use BAPI BUTX_FRG0010_CREATE, but I always receive an error...
Does someone know how to implemnt this ? Or do I need to use another fm ?
Thanks in advance !
kr,
BjörnHello,
I should have mentioned that I'm creating Business partners in ERP, and not in CRM
The error I receive is this one :
Tax classification does not exist
The data I specify in the table is the same dataI fill in when creating a business partner manually. -
BAPI to create Billing DOC for deliveries
Hi All,
I am looking for a BAPI to create a billing document based on the Shipment number.
I found Bapi_BILLINGDOC_CREATEMULTIPLE, but not working as expected.
If anyone has used above or another bapi, please inform.
Thx-PraveenHi Praveen,
i'm using same bapi and i'm able to create the invoice for the del.doc.
for your ref. , here i'm attaching the code , please go through once.
LS_BAPIVBRK-REF_DOC = DELIVERY_NO.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = LS_BAPIVBRK-REF_DOC
IMPORTING
OUTPUT = LS_BAPIVBRK-REF_DOC.
LS_BAPIVBRK-REF_DOC_CA = '8'. Shipment
APPEND LS_BAPIVBRK TO LT_BAPIVBRK.
CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
TABLES
BILLINGDATAIN = LT_BAPIVBRK
ERRORS = LT_BAPIVBRKERRORS
RETURN = LT_BAPIRET1
SUCCESS = LT_BAPIVBRKSUCCESS.
after this do commit.
you might miss the document category .
Regards,
Krishna -
BAPI to create Purchase Requisition for selective BOM Material
Dear Experts,
I need ur help, Actually I am developing a module Pool prg to create Purchase Requisition for selective Bom Material .
Actually, standard T.Code (ME21N) create PR for a multiple BOM Materia lwhich are used to create a prepared material. But my requirement is PR should be generate for selective BOM material .
Multiple BOM Material is used to prepared a complete Material .
I have checked a particular BOM Material, for this matrial Purchase Requisition should be genrate.
Please suggest me the related code and Bapi which helps me .
Thanks & Regards,
SwapnikaHi
you can Use BAPI BAPI_REQUISITION_CREATE
Hope Its help You.
Regards
Ajit -
Maintaining Infotypes in PP01 for Central Person while already maintained n
Dear Team,
When we are using PP01 Transaction code by taking Object type Central Person system is showing is showing IT0001, IT0002, IT0006 and IT0009 etc. Please let us know the purpose of using all these infotypes as we have already maintained the same in PA30 u2013 Maintain master data
Could you please suggest us whether to update these infotypes here or not and what are implication of the same if we maintain them again here?
Kind Regards
NageshHi,
When you enter central person and click to see data it takes you to PA30 infotypes and this shows that there is CP-P relation and tells you that link exists from OM to PA for same.
It is sufficient to maintain infotypes in PA30 only as this just shows you linkage nothing more.
Thanks,
Ameet -
BAPIs to create sales orders for Returns and Debit Memo Request
Hi,
I have to create a sales order for document type Returns as well as a debit memo request.The BAPI 'BAPI_SALESORDER_CREATEFROMDAT2' is giving the following error message for Debit Memo Request document creation as well as for Returns.
761 Unpermitted combination of business object BUS2032 and sales doc. category L
I found BAPIs:
BAPI_CUSTOMERRETURN_CREATE for creating sales document of type ZDRE and SD document category H.
BAPI_DEBITREQUEST_PROXY_CREATE for creating sales document of type ZDDR and SD document category L.
please let me know if anybody have used them. If so what values need to be passed to I_UPLOAD_ID,I_DESTIN,I_SFA_REL parameters of BAPI_DEBITREQUEST_PROXY_CREATE. Are there any alternative solutions using the Salesorder bapi.
I have to create documents based on the flat file data no reference sales document numbers are available.
Appreciate your help..
Good Day
Regards
BhargaviLook at the code done by me
Program Name: *
SAP Name : ZAXXXXXX Version : *
Programmer : Chris Dong of ITDC *
Description : *
Includes : *
Function Modules: XX_XXXXXX *
Transactions : *
Programs : *
REPORT XXXXXXXX LINE-SIZE 80
LINE-COUNT 65
MESSAGE-ID ZA
NO STANDARD PAGE HEADING.
CLEAR l_order_partners.
l_order_partners-partn_role = 'AG'.
l_order_partners-partn_numb = '0001202491'.
APPEND l_order_partners TO li_order_partners.
CLEAR l_order_partners.
l_order_partners-partn_role = 'WE'.
l_order_partners-partn_numb = '0001202491'.
APPEND l_order_partners TO li_order_partners.
Sales document type
l_order_header_in-doc_type = 'ZDR'.
Sales organization
l_order_header_in-sales_org = '1000'.
Distribution channel
l_order_header_in-distr_chan = '01'.
Division
l_order_header_in-division = '04'.
REF DOCUMENT
l_order_header_in-REF_DOC = '9100000144'.
order reason
l_order_header_in-ord_reason = '925'.
item number
l_order_items_in-itm_number = '000001'.
material no
l_order_items_in-material = '000000000007000012'.
Qty
l_order_items_in-target_qty = '0000000000100.000'.
APPEND l_order_items_in TO li_order_items_in.
*BUS2094 Credit memo request " OSS NOTE 93091
*BUS2096 Debit memo request " OSS NOTE 93091
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA'
EXPORTING
ORDER_HEADER_IN = l_order_header_in
BUSINESS_OBJECT = 'BUS2096'
WITHOUT_COMMIT = ' '
CONVERT_PARVW_AUART = ' '
IMPORTING
SALESDOCUMENT = l_vbeln
RETURN = li_return
TABLES
ORDER_ITEMS_IN = li_order_items_in
ORDER_PARTNERS = li_order_partners
Message was edited by:
Chris Dong
null -
BAPI to create Purchse View for Article
Hi,
I have created article using MM41 and maintained BASIC DATA and ADDITIONAL BASICDATA for it. I have to now maintain PURCHASE VIEW for that article.
I am using FM WRF_MATERIAL_MAINTAINDATA_RT to create purchase view.
I am passing data to two structure INFORECORD_GENERAL STRUCTURE BAPIEINA
INFORECORD_PURCHORG STRUCTURE WRFBAPIEINE
that holds purchase view data.
BAPI returns telling article is changed. but if i go check in MM43 it is not changed.
BAPI works fine if i try to modify any data except for the above.
Can any one suggest me how to tackle this or is there any other way to create new purchse view for existing article.
Vanitha P>
Vanitha P wrote:
> Hi,
>
> I have created article using MM41 and maintained BASIC DATA and ADDITIONAL BASICDATA for it. I have to now maintain PURCHASE VIEW for that article.
>
> I am using FM WRF_MATERIAL_MAINTAINDATA_RT to create purchase view.
>
> I am passing data to two structure INFORECORD_GENERAL STRUCTURE BAPIEINA
> INFORECORD_PURCHORG STRUCTURE WRFBAPIEINE
> that holds purchase view data.
>
> BAPI returns telling article is changed. but if i go check in MM43 it is not changed.
>
>
> BAPI works fine if i try to modify any data except for the above.
>
> Can any one suggest me how to tackle this or is there any other way to create new purchse view for existing article.
>
>
>
> Vanitha P
Here a simple example code for upload Material data:
*& Form call_bapi
* text
FORM call_bapi USING is_head TYPE bapimathead
is_mara TYPE bapi_mara
is_marax TYPE bapi_marax
is_marc TYPE bapi_marc
is_marcx TYPE bapi_marcx
is_mbew TYPE bapi_mbew
is_mbewx TYPE bapi_mbewx
is_mvke TYPE bapi_mvke
is_mvkex TYPE bapi_mvkex
is_mlan type bapi_mlan.
Data: lt_mlan type table of bapi_mlan.
Append is_mlan to lt_mlan.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = ls_head
clientdata = ls_mara
clientdatax = ls_marax
plantdata = ls_marc
plantdatax = ls_marcx
* FORECASTPARAMETERS =
* FORECASTPARAMETERSX =
* PLANNINGDATA =
* PLANNINGDATAX =
* STORAGELOCATIONDATA =
* STORAGELOCATIONDATAX =
valuationdata = ls_mbew
valuationdatax = ls_mbewx
* WAREHOUSENUMBERDATA =
* WAREHOUSENUMBERDATAX =
salesdata = is_mvke
salesdatax = is_mvkex
* STORAGETYPEDATA =
* STORAGETYPEDATAX =
* FLAG_ONLINE = ' '
* FLAG_CAD_CALL = ' '
* NO_DEQUEUE = ' '
* NO_ROLLBACK_WORK = ' '
IMPORTING
return = gs_return
TABLES
materialdescription = gt_makt
* unitsofmeasure = gt_uom
* unitsofmeasurex = gt_uomx
internationalartnos = gt_mean
* MATERIALLONGTEXT =
TAXCLASSIFICATIONS = lt_mlan
* RETURNMESSAGES =
* PRTDATA =
* PRTDATAX =
* EXTENSIONIN =
* EXTENSIONINX =
* READ TABLE gt_return INTO gs_return WITH KEY type = gc_return_s.
* IF sy-subrc = 0.
IF gs_return-type EQ gc_return_s.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
ELSE.
WRITE: /.
WRITE: ls_mara-old_mat_no, gs_return-type,
' ', gs_return-message(50).
ENDIF.
CLEAR gs_return.
ENDFORM. "call_bapi -
BAPI to create case ID for a patient ID
Hello everyone
I have to generate case ID of a patient using patient ID as is done in NV2001.
Can anyone tell me the procedure to to do so or any BAPI for this.
I have tried using BAPI_CASE_CREATE & BAPI_PATCASE_ADDOUTPATVISITCAS.
But the bapis are unable to create Case ID.Pls Help.
Thank You in advance.
Regards.
Abhinandan KumarHi friends
I finally got the solution to generate caseID,
While Using this BAPI:-BAPI_PATCASE_ADDOUTPATVISITCAS we have to keep in mind aout the movement date and outpatient status.
Otherwise it will not generate the CASEID.
Feel free to ask anything if anyone have problem in patient case ID generation. -
Bapi to create finance document for a customer
Hi ,
Can any one of you please tell me how to create a finance document of type(BLART ex: Z3) for a customer with the details customer number , invoice number, Billing date(baseline date) and a price value , G/L account number, Payment terms , Payment method , Due days, Text.
Please tell me BAPI name and also tell me how to pass the data to that bapi.
Thanks in advance.
Regards,
Manju
Edited by: manj1325 on Jan 13, 2010 8:38 AMYa Thank you very much.
I will give you the fields that i need to pass please let me how to pass and where to pass.
Accounting document number (BELNR)
customer
baseline date(ZFBDT)
price(WRBTR)
G/L account number (SAKNR)
payment terms(ZTERM)
payment method(ZLSCH)
due days(VERZN)
text(SGTXT)
and document type(BLART) - Z3
Please let me.I have not time to analyse it now.Thats why i am asking.
Thanks in advance
Edited by: manj1325 on Jan 13, 2010 11:10 AM -
Is there a BAPI to create Distribution demand for BOM purchase order?
I have a scenario wherein Material# in ECC differs from that in APO. So when a BOM purchase order comes in the inbound CIF queue to APO, I am trying to create dependent demands manually reading the subsequent materials from ECC and mapping with APO data
Please do not open a new thread with the same question:
Re: Is there any FM to create manually Subsequent demands for BOM header product?
Kind Regards,
Mariano -
BAPI to create home address for ERP contact
hi all,
i am using this bapi (BAPI_ADDRESSPERS_CHANGE) to update the home address of the contact,but when the home address
is not there ,i am suppose to create the home address first,but which i am not able to do using this bapi,is there any RFC or BAPI there to create the home address first...
regards,
gouthamHi Pradeep,
You can use the BAPI BAPI_BUPA_ADDRESS_ADD. The table ADDRESSUSAGE could be used to differentiate among the different addresses of the BP. Fill the ADDRESSTYPE field in this table with the type of address you want to create. You can pass the address data in ADDRESSDATA.
<b>Reward points if it helps.</b> -
Bapi to create delivery for purchase orders
Hi Expets,
what is the bapi to create a delivery for purchase orders.urgent.please do the needful
kiran jHi,
Check below link.
Re: BAPI for Inbound delivery
Re: BAPI_OUTB_DELIVERY_CREATE_STO -
BAPI to create demands on MD04
Hello,
Can anyone direct me to a BAPI that will create the demands for a Goods Issue of a material to a subcontractor? I need the demands to show up in MD04 and ME2O.
I plan to use the FM CS_BOM_EXPL_MAT_V2 to explode a subcontracting BOM and then use a BAPI to create the demands for a GI to the subcontractor.
Any ideas?
Thanks,
MattThanks for the response.
In this case, I am trying to get a kanban that uses a scheduling agreement with subcontracting to work.
Standard SAP does not allow scheduling agreements and subcontracting to work together. The other option is a PO with a reference to a contract and that creates too many POs.
So I am working on a mod that will allow scheduling agreements to work with subcontracting for our kanbans.
Does that make sense?
Thanks,
Matt
Maybe you are looking for
-
Need to move my old btinternet email to my new bti...
Hi, Newbie here! I have a btinternet email address that I use that actually belongs to my (ex) partners bt account. Now we have split, I have my own btinternet account and would like to move my old email address from my partner's account to mine. H
-
Hi Everyone, Is there a way to append a report to another existing one. I mean, I have already saved and closed a report as a HTML and I want open and add more data and figures to it. I'm using LavVIEW 8.0. Any help would be appreciated. Mike Message
-
Flickering files in photoshop CS
Hi people. THis is only my second post, and feel its bit naff but.... I have photoshop CS installed on my Intel imac, after reading various threads i have now discovered the hidden secret of rossetta(spelling?!!) and the fact it can slow down photosh
-
Why do I get stops stating"AdobeFlashPlayerUpdateService 11.3r300"
At any odd program that is running I keep getting the stops that state as follows: "Adobe FlashPlayerUpdateService 11.3r300" has encounter a problem and "needs" to close. We are sorry for the inconvenience. If you were in the middle of something, the
-
How to remove trojan.agent-166630 from my laptop
Hi, I have used ClamXav to identify a trojan that has found it's way on to my laptop. The filename is: ie4setup.exe The infection name is: Trojan.Agent-166630 Does anyone have any idea how to remove this trojan from my laptop? I have been advised tha