BAPI to create/change position?
Dear Experts,
Is there any standard BAPI / RFC to create / change position in Organizational Management?
Pls let me know.
Thanks
HRIQ_BAPI_INFTY_INSERT
or
FM RHOM_CREATE_OBJECTS
Similar Messages
-
Need RFC/BAPI to Create Requisition,Position, Hiring an Employee
Hi,
I need RFC/BAPI to Create Requisition,Position,Hiring an Employee.
Regards,
R.RaguHi,
For creation of a Posiotn you can use FM 'RH_OBJECT_CREATE'. -
BAPI to create a position?
Hi Guys,
Is there any BAPI/FM to create a position, relationships, vacancy and account assignment feature. And it should return the newly created position number.
Thanks
Edited by: Vin143 on Feb 10, 2010 8:52 PMDonnie, I entered these values in HRIQ_BAPI_INFTY_INSERT:
IV_PLVAR = 01
IV_OBJID = None (as I want it to be internal number range)
IV_BEGDA = 02/10/2010
IV_ENDDA = 12/31/9999
IV_OTYPE = S
IV_INFTY = 1000 and left other fields blank. When I am executing, getting a runtime error. Can you check whether I entered right values and what other fields I need to enter? Does this return the positions no. created?
Thanks.
Edited by: Vin143 on Feb 10, 2010 9:49 PM -
BAPI for create/change purchase info record
Hi All,
Could any one suggest me the BAPI for the create/change purchase info record(ME11/ME12).
Earliest can be appriciable.
Regards
AnilHi,
I did not get any bapi related to create/change purchase info. But i can give u list of purchase info . if u got revert back to me
Reward if it is usefull..
Bye.
BAPI_INFORECORD_GETLIST -
BAPI for create/change Routing
Hi ,
Are there any BAPI's for creating/ changing routings.
Regards,
Divyanshuhi,
<b>BAPI_ROUTING_CREATE</b>"used for creation.
Regards
vijay -
BAPI to create/change assessment cycle
Dear ABAP expert ,
Anyone can advise the BAPI
- To Create cost center Actual/Plan assessment cycle (KSU1, KSU7)
- To Change cost center Actual/Plan assessment cycle (KSU2, KSU8), in case the cycle already exist and user would like to update tracing factor or change parameter in the cycle.
We try to avoid BDC as the screen is very dynamic.
Thank you
AnothaiRob is correct.
Your other cross-posted threads will be deleted / locked.
Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting again.
We don't have many rules here, but they are good ones.
Julius -
Bapi to create/change MM/SD grid control data (AFS)
Hi experts,
I'm looking for a way to create and change MM/SD grid control data by bapi (or by other way that can be implemented in ABAP).
I mean the data that you can see when you go to trx J3AB, enter a material and push the buttons: "MM grid control data" or "SD grid control data"
Thank you in advance.
-francescoI found it by myself, there's the FM J_3A_CREA_GRCD_MASTER_GRID, inside the J3AGRI idoc FM J_4A_IDOC_INPUT_J3AGRI.
-
Bapi to create a condition record
hi,
is there any standard bapi for creating ,changing and deleting a pricing record using VK11,VK12.
any other function module will solve the problem.Hi Ajith,
You can use <b>IDOC approach</b> also for doing teh same solution. Yo get Create/Change/ Delete Option as per indicator passed:
Refer Code below.
*& Form map_idoc_structure
Map E1KOMG, E1KONH, E1KONP segment fields
FORM map_idoc_structure
USING fp_condition_table TYPE kotabnr
fp_rate TYPE z_cs_cpp_rate
fp_condition_type TYPE kschl
fp_rate_type TYPE z_cs_file_type.
*-- Local Data Declaration
DATA: lw_e1komg TYPE e1komg, "Filter seg. with separated condition key
lw_e1konh TYPE e1konh, "Data from condition header
lw_e1konp TYPE e1konp, "Conditions Items
lv_delete TYPE konp-loevm_ko. " Delete Indicator
*-- IDoc data internal table
DATA: i_idoc_data TYPE TABLE OF edidd
INITIAL SIZE 0
WITH HEADER LINE.
CLEAR: lw_e1komg,
lw_e1konh,
lw_e1konp,
lv_delete,
v_segnum,
w_e1komg,
v_rate_type.
REFRESH i_idoc_data.
v_rate_type = fp_rate_type.
PERFORM conversion_alpha_input
USING w_crp_data-kunnr CHANGING w_crp_data-kunnr.
PERFORM conversion_matn1_input
USING w_crp_data-matnr CHANGING w_crp_data-matnr.
E1KOMG: Filter segment with separated condition key
i_idoc_data-segnam = 'E1KOMG'.
lw_e1komg-kvewe = c_usage_cond_tab.
lw_e1komg-kotabnr = fp_condition_table.
lw_e1komg-kappl = c_cond_type.
lw_e1komg-kschl = fp_condition_type.
CONCATENATE p_vkorg p_vtweg p_spart p_hienr p_matnr
CONCATENATE w_crp_data-vkorg w_crp_data-vtweg
w_crp_data-kunnr w_crp_data-matnr
INTO lw_e1komg-vakey.
lw_e1komg-vakey_long = lw_e1komg-vakey.
lw_e1komg-vkorg = w_crp_data-vkorg.
lw_e1komg-vtweg = w_crp_data-vtweg.
lw_e1komg-spart = w_crp_data-spart.
lw_e1komg-kunnr = w_crp_data-kunnr.
lw_e1komg-matnr = w_crp_data-matnr.
i_idoc_data-sdata = lw_e1komg.
APPEND i_idoc_data TO i_idoc_data.
Segment E1KONH - condition header
i_idoc_data-segnam = 'E1KONH'.
lw_e1konh-datab = w_crp_data-datab.
lw_e1konh-datbi = w_crp_data-datbi.
lw_e1konh-knuma_pi = v_promotion.
lw_e1konh-knuma_ag = v_sales_deal.
i_idoc_data-sdata = lw_e1konh.
APPEND i_idoc_data TO i_idoc_data.
IF fm_process_type EQ c_pt_dep.
lv_delete = c_x. " Deletion Indicator
ENDIF.
Segment E1KONP - condition items
i_idoc_data-segnam = 'E1KONP'.
lw_e1konp-kschl = fp_condition_type.
lw_e1konp-kbetr = fp_rate.
lw_e1konp-konwa = w_crp_data-waers.
lw_e1konp-kpein = v_cond_pric.
lw_e1konp-kmein = v_cond_unit.
lw_e1konp-knuma_pi = v_promotion.
lw_e1konp-knuma_ag = v_sales_deal.
lw_e1konp-loevm_ko = lv_delete.
i_idoc_data-sdata = lw_e1konp.
APPEND i_idoc_data TO i_idoc_data.
*-- Post Idoc for Creating Pricing Condition
PERFORM post_idoc
TABLES i_idoc_data.
ENDFORM. " map_idoc_structure
*& Form post_idoc TABLES i_idoc_data.
Post Idoc for Creating Pricing Condition
FORM post_idoc
TABLES i_idoc_data STRUCTURE edidd.
*-- Local data declaration
DATA: lv_komg LIKE komg, " Condition Structures
lv_subrc LIKE sy-subrc, " Sy-subrc
lw_messages TYPE rsuvm_msg, " Message Description
lw_idoc_status TYPE bdidocstat. " ALE IDoc status
DATA: idoc_contrl " IDoc Control data
LIKE edidc OCCURS 1 WITH HEADER LINE.
*-- Initialize Internal Tables
CLEAR: t_konh,
t_konp,
t_konm,
t_konw,
i_idoc_status,
t_kona.
REFRESH: t_konh,
t_konp,
t_konm,
t_konw,
i_idoc_status,
t_kona,
i_messages.
This code is taken from IDOC_INPUT_COND_A
PERFORM fill_appl_structures(saplvkoi)
TABLES i_idoc_data
t_konh
t_konp
t_konm
t_konw
i_idoc_status
t_kona
USING lv_komg
lv_subrc
idoc_contrl-docnum
idoc_contrl-mestyp.
IF lv_subrc = 0.
This code is taken from IDOC_INPUT_COND_A
PERFORM idoc_in_datenbank(saplvkoi)
TABLES idoc_contrl
t_konh
t_konp
t_konm
t_konw
i_idoc_status
t_kona
USING lv_komg
lv_subrc
idoc_contrl-docnum.
IF lv_subrc = 0.
COMMIT WORK AND WAIT.
Endif.
Reward points if this Helps.
Manish
Message was edited by: Manish Kumar -
Creating new positions in deliveries
Hello,
I need Function Module or BAPI to create new positions in deliveries (vl02n). Could you help me please to find something useful?
RegardsHi,
New position in delivery is a new row on the first screen after enter vl03n. Delivery header is in LIKP (VBELN = delivery number), positions are in LIPS (VBELN, POSNR - position in delivery).
I have problem as below:
At first I have delivery with one position (it is created by hand, the is only one row in LIPS related with delivery), next I have to add the second position and I don't know how... -
BAPI or FM to create a position
Hi
I want to know if there is a BAPI or FM that can be used to create a position. My HR counterpart uses transaction PQ13 to create a position. I tried the BAPI explorer and the SE37 to find a BAPI or FM but could not.
The screens that I go thru to create a position manually are as follows: 1)Actions for Position, 2)Create Object, 3)List display with change Relationships, 4)Add Acct Assignment Features, 5)Add Employee Group / Subgroup, 6)Add Planned Compensation and 7)Add Vacancy. After step 7 the position is created and I get the Postion Number.
In the past I have used for example BAPI_PO_CREATE for creating purchase orders using a WD application. Is there something similar for creating positions?
Thanks
SriramHi,
I just found your post at the SAP NETWORK
regarding this BAPI;
BAPI_HRMASTER_SAVE_REPL_MULT
could you share the program source using this BAPI please?
i am also desperate for you guys.
with many thanks,
calvin
[email protected] -
What bapi or FM can create/change vendor master data?
We want to do a rfc to create/change vendor master data .If use BDC,the change function is very very complex,but i can't find any BAPI/FM in sap!
>
Keshav.T wrote:
> Hi,
>
> just some more addition to vinodh's reply . the actual method you must is maintain_bapi of class vmd_ei_api
Hi Keshav - you should have noticed vinodh's reply came from something your wrote earlier this year: Search BAPI to create Vendor in ECC and from an extenal application -
Bapi or FM to create,change and delete Contact persons for vendors
Dear Experts,
We are replicating the Contact persons details from SUS(SRM) to ECC, When a Contact person is create,changed or deleted the data should be replicated in ECC. We are doing custom development to do this, I need to know is there any function module or Bapi which I can use to create , change or delete the contacts persons for a vendor.
I tried using BAPI_ADDRESSCONTPART_CHANGE, BAPI_ADDRESSORG_SAVEREPLICA for changing but its doesn't covers few fields like time zone etc. For deletion I tried WY_KNVK_SINGLE_DEL_FROM_BUFFER its too not helping me .
Please let me know is there any bapi or fm to do these process or we can go for BDC.
Thanks & regards,
Santhosh.RHi Santosh,
Can you please tell me what Business Scenario is asking you to consider the Time Zones .
If you know the Customer Number you can very well get the country and there are various FM's to get the time zone based on a country .
Now Call the FM (as wrote by you ) based on the TIme Zone condition,
Please enlighten me if i am incorrect.
Thanks
Sri -
BAPI for cost centre create/change
Hi,
Is there a BAPI for Cost centre create and change?
Thanks in advance.
Regards,
Arun MohanHi Ravi,
My system is 4.6B.
I found BAPI_COSTCENTER_CREATEMULTIPLE,
but the BAPI for CC change is not present.
Is there any other BAPI for CC change?
Arun -
Bapi's or function modules to create, change( delete) partner functions
Hi,
Can anyone suggest BAPI or Function Modules for creating , changing the Partner Functions of the customer
eg: To create customer XYZ as bill-to-party of customer ZYX , i need either a BAPI or Function Module.
Thanks in Advance,
SabuHi The following are the BAPI's to create and change the Partner Function.
BAPI_BUS2001_PARTNER_CHANGE_M
BAPI_BUS2001_PARTNER_CREATE_M
Regards
Vijay -
BAPIs for Create and Change Classes
Hi experts,
Is there any BAPI to Create or to Change the classes.
Thanks,
kruthik.Hi
Class Creation first u need to check whether the class is alreay created or nor for that use the below BAPI
CALL FUNCTION 'BAPI_CLASS_EXISTENCECHECK'
EXPORTING
CLASSTYPE = CLASSTYPENEW
CLASSNUM = CLASSNUMNEW
TABLES
RETURN = RETURN.
CLEAR RETURN.
READ TABLE RETURN WITH KEY TYPE = 'S'.
IF SY-SUBRC = 0.
MESSAGE RETURN-MESSAGE TYPE 'I'.
ELSE.
CALL FUNCTION 'BAPI_CLASS_CREATE'
EXPORTING
CLASSNUMNEW = CLASSNUMNEW
CLASSTYPENEW = CLASSTYPENEW
CLASSBASICDATA = CLASSBASICDATA
TABLES
RETURN = RETURN
CLASSDESCRIPTIONS = CLASSDESCRIPTIONS1
CLASSCHARACTERISTICS = CLASSCHARACTERISTICS.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
for Changing the class
CALL FUNCTION 'BAPI_CLASS_CHANGE'
EXPORTING
CLASSNUM = CLASSNUM
CLASSTYPE = CLASSTYPE
KEYDATE = SY-DATUM
CLASSBASICDATA = CLASSBASICDATA
CLASSBASICDATANEW = CLASSBASICDATANEW
TABLES
RETURN = RETURN
CLASSDESCRIPTIONS = CLASSDESCRIPTIONS1
CLASSDESCRIPTIONSNEW = CLASSDESCRIPTIONSNEW
CLASSCHARACTERISTICSNEW = CLASSCHARACTERISTICSNEW.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .
Maybe you are looking for
-
Questions on organizing/sharing music files on 3 PC networked drive
I just added 1Tb network drive to 3 pc home network... I am planning on moving my iTunes music folder from the older, smaller network drive. I exceeded the 160GB size of the old drive when converting all of the WMA losselss files to Apple lossless wh
-
Automatic settlement of delivery costs MRDC for service PO
Hi, We configured a custom condition type ZCOM (Commission). This condition was assigned to pricing procedure RM0000. This condition is defined as a delivery cost condition with accrual. PO for non-inventory material: - Free text item for 10 EA @ $10
-
I have tried to install a new update of itunes and keep getting the same message:Service "apple mobile device"(apple mobile device)failed to start verify that you have sufficient privilages to start system services) also it has abort retry and ignore
-
Assistance needed during Oracle 11G R2 client installations in Windows 2008
Hi, I am installing Oracle 11G R2 client in Windows 2008 R2 enterprise server. It has JR6 installed. But whenever I am launching the installer from OUI, I am getting the error 'Java: "Could not find the main class. Program will exit" and the installa
-
Hi All, I am trying to set the classpath in a MAC OS and not able to get through. Can anyone tell me how to do it or at least any links to proper documentation? Also I have few class files and it is working fine in Windows OS. Do I have to recompile