BAPI for creation of Authorization Objects in BI 7.0
Hi BW Gurus,
Greetings!!!
Is there any BAPI Available for creation of Authorization Objects in BI 7.0.
The data will be transferred through flatfiles.
Kindly provide me the info as earliest as possible.
Best Regards,
Priya
Got the Workaround...
Priya
Similar Messages
-
BAPI for Creation of inspection lot
I have two scenario:-
1.Can any body help to find BAPI for creation of Inspection lot for the material under PO envisaged for PDI.
2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
My objective is to creation inspection lot without assigning Inspection type of Z01SI01 or Z01SI02 and so on in the material code under a respective Plant 1004 or 1005 0r 1006 so on.
In my Z Development for creation of inspection lot BDC is run for QA01 as this code created inspection lot on when material code has inspection type Z01SI01 i.e. location of source inspection and vendr code particular classification under 010 vendor class inspection type Z01SI01. System search both the inspection type for both material and vendor then create inspection lot in QALS table by assiging inspection matching inspection on the lot.
I want to get rid of assignment of inspection on the materilal. If any BAPI or FM is avalable for creation of inspection without assigning inspection type on material code. I want to create inspection lot in which Inpsection type assignment can be done based on vendor class only.
YPB2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
I am very sure that this is not possible.You can not create inspection lot without inspection lot origin or inspection type.
Regards
Sujit -
Role creation and authorization objects in sap
Hi
i want to know the full relationship between creation of roles , authorization objects ,authorizations in web as abap
Please explain the process in detail the use of PFCG and all its options and how to create Z rolesAlthough, It would be a very long document to explain the query, I have briefed you on the concept. I hope it leads you well.
- Roles are nothing but a container for authorizations. A role represents a specific part of an employeeu2019s job.
- The R/3 authorization concept permits the assignment of either general and/or finely detailed user authorizations. These assignments can reach down to transactions, field and field value level.
For e.g. If a user wants to create a PO we can restrict him on:
u2022 Activity : Create/Change/Display
u2022 Org elements like Company Code, Plant, Purchase Organization etc
u2022 Document type etc.
- Authorization objects are grouped in an object class such as Materials Management: Master Data (MM_G). Each Object Class may have several authorization objects and within each object we can have several authorizations (max. up to 99).
- Fields :The permissible values for the fields constitute the authorization. For e.g. ACTVT (Activity) is a field with permissible values of 01 (Create), 02 (Change) & (03 Display) for the object M_MATE_CHG (Material Master: Batches/Trading Units). Value * for field BEGRU signifies all possible values.
- An authorization allows you to carry out an R/3 task based on a set of field values in an authorization object. By themselves authorizations do not exist and they only have a meaning inside a profile
- Authorizations are contained within profiles and these profiles are assigned to users manually or automatically via role assignment. When you assign the field values for all the authorization objects and save system will auto generate a profile name.
- Authorization check are included in the transactions source code in standard SAP R/3.A user may carry out an action if the authorization check is successful for each field in the object.
Edited by: Subramaniam Iyer on Nov 27, 2008 12:08 PM -
Bapi for creation of a contract against services.
Hi.
i just want to know the correct bapi for creation of contracts against services..here i was tried with BAPI_CONTRACT_CREATE but the documentation says that it is not supported for exxternal or internal services.
so iam not sure if this bapi is the one for contract creation for services.
any way i was tried to test this function module but i havent got Contract created.
wil be waiting for an excellent answer.
bye.
reegards.
seetaram.Hi Ram,
Try the function module
BAPI_CONTRACT_CREATEFROMDATA.
Once you create the contract, update the technical objects for the contracts
using two function modules called one after another.
IWOL_WV_ADD_OBJECTS
IWOL_WV_POST_OBJECT_LIST
Regards,
Chandra Sekhar -
BAPI for creation of subcontract PO
Hi all,
Currently iam doing a BAPI for creation of subcontract Purchase Order using the BAPI_PO_CREATE1. But in this BAPI iam unable to find the table for entering Components.
Regards,
Sun.Hi,
I wil give you how to fill the components of PO items, it is a sample code;
*zPoHeader
if kna1-kunnr eq 'BOR020'.
zpoheader-comp_code = '0040'.
endif.
if kna1-kunnr eq 'BOR040'.
zpoheader-comp_code = '0048'.
endif.
zpoheader-doc_type = 'ZSA'.
zpoheader-doc_date = mkpf-budat.
zpoheader-vendor = 'BOR050'. "şimdilik
zpoheader-pmnttrms = 'Z030'.
zpoheader-purch_org = '1100'.
zpoheader-pur_group = '101'. "malzeme ÜZERINDEKI marc-ekgrp
zpoheader-currency = zsaleshead-waers.
zpoheader-item_intvl = 10.
zpoheaderx-comp_code = 'X'.
zpoheaderx-doc_type = 'X'.
zpoheaderx-vendor = 'X'.
zpoheaderx-purch_org = 'X'.
zpoheaderx-pur_group = 'X'.
zpoheaderx-currency = 'X'.
zpoheaderx-doc_date = 'X'.
zpoheaderx-pmnttrms = 'X'.
zpoheaderx-item_intvl = 'X'.
*zPoitem
loop at i_posnr.
lv_ebelp = lv_ebelp + 10.
zpoitem-po_item = lv_ebelp.
zpoitem-material = i_posnr-matnr.
if kna1-kunnr eq 'BOR020'.
zpoitem-plant = '0040'.
zpoitem-stge_loc = '4001'.
endif.
if kna1-kunnr eq 'BOR040'.
zpoitem-plant = '0048'.
zpoitem-stge_loc = '4801'.
endif.
zpoitem-quantity = i_posnr-menge.
zpoitem-po_unit = i_posnr-meins.
zpoitem-net_price = i_posnr-bfiyat.
zpoitem-price_unit = 1.
zpoitem-tax_code = 'V0'.
zpoitemx-po_item = lv_ebelp.
zpoitemx-po_itemx = 'X'.
zpoitemx-material = 'X'.
zpoitemx-plant = 'X'.
zpoitemx-stge_loc = 'X'.
zpoitemx-quantity = 'X'.
zpoitemx-po_unit = 'X'.
zpoitemx-net_price = 'X'.
zpoitemx-price_unit = 'X'.
zpoitemx-tax_code = 'X'.
append: zpoitem, zpoitemx.
clear : zpoitem, zpoitemx.
endloop.
call function 'BAPI_PO_CREATE1'
exporting
poheader = zpoheader
poheaderx = zpoheaderx
tables
return = zreturn3
poitem = zpoitem
poitemx = zpoitemx.
Send me your results,
Kenan. -
BAPI for "Change Base Planning Object"
Hi
Is there any BAPI for "Change Base Planning Object" ( TC KKE2).
I need to change the Price of a Resource in the Cost Items for a Base Planning Object.
So if any one know the BAPI for this topic please let me know, and if possible send me your code also it will be really help full.
RegardsI didn't find a BAPI to do this. I had to do it by a Batch Input.
-
BAPI- Quotaion creation and technical objects
Standard BAPI for Quotation and technical objects
Posted: Feb 27, 2006 11:33 PM Reply E-mail this post
I want to create quotation in r/3 using Bapi
I have already identiifed BAPI_QUOTATION_CREATEFROMDATA for the same. Its working.
Now i want to add technical objects to every line items.
Can someone help me how to automate this?
Do i write a BDC or is there any other bapi or any other way?Hi Seema,
Did you try BAPI_CUSTOMERQUOTATION_CHANGE?
Regards,
Suresh Datti -
BAPI for Creation of Maintenance Plan (TCode - IP01)
Hello
Kindly help me with the BAPI for Creation of Maintenance Plan (TCode - IP01)
Thanks and Regards
AvishekHi
Check Tcode: IBIP. and LSMW method and below link it may be helpful.
[link|Re: LSMW for uploading equipment.]
Thanks,
Asit Purbey. -
BAPI for Creation of the Project in ECC using Standard Templates
Hi,
I want BAPI for Creation of the Project in ECC using project id and project standard template ID
and BAPI for Updating of project and WBS element using project id and WBS element IDOne idea is to write a wrapper FM that is remote enabled and internally call BBP_PD_CTR_CREATE for your own use.
-
Is there any BAPI or FM to authorization object to user in ABAP program??
Hi guys.
My requirment is to assign authorization object to user in ABAP program,is there any FM OR Bapi to do this?Hai ,
In order to do the authority check in the program , in your report at selection-screen event you need to check for the corresponding authority output .
example :
T SELECTION-SCREEN ON p_carrid.
IF p_carrid IS INITIAL.
MESSAGE 'Please enter a value' TYPE 'E'.
ENDIF.
AUTHORITY-CHECK OBJECT 'S_CARRID'
ID 'CARRID' FIELD p_carrid
ID 'ACTVT' FIELD '03'.
Regards,
K.VinayKumar -
Bapi for creation media product family
hi friends ,
Is there any bapi exist for creation of media product family.Hi sandipan,
for creation of media product family there is no bapi.acually how bapi's are nothing but api methods or transactions.
the business object for productcatalog is BUS1071.
go to SWO1(its not zero) and check this .
they assigned a transaction WWM1 to create productcatalog.
reward points if helpful. -
BAPI for creation of material documents/movements
Hi Everebody:
I need some help regarding to bapis for the creation of mateial documents and/or movements. I have been trying to implement bapi BAPI_GOODSMVT_CREATE, but this bapi does not have (import) the posting time in document, which is very important for my porpuse.
So, I would appretiate a lot any information anybody could give about any bapi I could use to create material documents or material movements but incluidng the posting time in document (field MKPF-OIB_BLTIME).
RegardsYou can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.
-
Reg bapi for creation of purchase order
hai to all,
i have to upload purchase orders from legacy file to R/3 system
certain order having more than 50 line items
so please any one send me <b>stardard bapi program or bdc program for me21n</b> transaction which will suitable for my senario.
please send asap
regards
vijayhai
i am trying to create po using bapi
the following code explains
constants : c_x value 'X'.
data: del_date type sy-datum.
data: pohead type bapimepoheader.
data: poheadx type bapimepoheaderx.
data: exp_head type bapimepoheader.
data: t_return_out type table of bapiret2 with header line,
wa_return_out TYPE bapiret2.
data: poitem type table of bapimepoitem with header line.
data: poitemx type table of bapimepoitemx with header line.
data: posched type table of bapimeposchedule with header line.
data: poschedx type table of bapimeposchedulx with header line.
data: ex_po_number type bapimepoheader-po_number.
Header Level Data
pohead-comp_code = '1011'.
pohead-doc_type = 'NB' .
pohead-creat_date = sy-datum .
pohead-vendor = 'A1138'.
pohead-purch_org = 'DOMS'.
pohead-pur_group = 'MFR'.
pohead-langu = sy-langu .
pohead-doc_date = sy-datum.
poheadx-comp_code = c_x.
poheadx-doc_type = c_x.
poheadx-creat_date = c_x.
poheadx-vendor = c_x.
poheadx-langu = c_x.
poheadx-purch_org = c_x.
poheadx-pur_group = c_x.
poheadx-doc_date = c_x.
Item Level Data
poitem-po_item = 1.
poitem-material = '000000000100001079'.
poitem-plant = 'HO01'.
poitem-stge_loc = ''.
poitem-quantity = 1.
append poitem.
poitemx-po_item = 1.
poitemx-po_itemx = c_x.
poitemx-material = c_x.
poitemx-plant = c_x .
poitemx-stge_loc = c_x .
poitemx-quantity = c_x .
poitemx-tax_code = c_x .
poitemx-item_cat = c_x .
poitemx-acctasscat = c_x .
append poitemx.
Schedule Line Level Data
posched-po_item = 1.
posched-sched_line = 1.
posched-del_datcat_ext = 'D'.
del_date = sy-datum + 1.
write del_date to posched-delivery_date.
posched-deliv_time = '000001'.
posched-quantity = 1.
append posched.
poschedx-po_item = 1.
poschedx-sched_line = 1.
poschedx-po_itemx = c_x.
poschedx-sched_linex = c_x.
poschedx-del_datcat_ext = c_x.
poschedx-delivery_date = c_x.
poschedx-quantity = c_x.
append poschedx.
call function 'BAPI_PO_CREATE1'
EXPORTING
poheader = pohead
poheaderx = poheadx
testrun = ' '
IMPORTING
exppurchaseorder = ex_po_number
expheader = exp_head
TABLES
return = t_return_out
poitem = poitem
poitemx = poitemx.
poschedule = posched
poschedulex = poschedx.
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
if not ex_po_number is initial.
call function 'DEQUEUE_ALL'.
else.
call function 'DEQUEUE_ALL'.
message i036.
endif.
**endform. " create_po
IF ex_po_number IS NOT INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
PERFORM show_result.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
PERFORM show_result.
ENDIF.
*& Form show_result
text
--> p1 text
<-- p2 text
FORM show_result .
LOOP AT t_return_out INTO wa_return_out.
write : ex_po_number.
WRITE : / wa_return_out-type,
/ wa_return_out-id,
/ wa_return_out-number,
/ wa_return_out-message,
/ wa_return_out-log_no,
/ wa_return_out-log_msg_no,
/ wa_return_out-message_v1,
/ wa_return_out-message_v2,
/ wa_return_out-message_v3,
/ wa_return_out-message_v4,
/ wa_return_out-parameter,
/ wa_return_out-row,
/ wa_return_out-field,
/ wa_return_out-system.
ENDLOOP.
<b>iam geting the error such that</b>
E
BAPI
001
No instance of object type PurchaseOrder has been created. External reference:
000000
PurchaseOrder
POHEADER
1
E
ME
062
Account assignment mandatory for material 100001079 (enter acc. ***. cat.)
000000
100001079
POITEM
<b>how to correct this error</b>
regards
vijay -
Bapi For creation and change for Vendor Master and Customer Master
I am looking for BAPI to create and change Vendor Master and Customer Master which will not take me to standard SAP transaction but will work in the background
Explanation: BAPI to delete material (BAPI_MATERIAL_DELETE) take you to standard SAP screen of T-Code MM06 but BAPI to create material (BAPI_MATERIAL_SAVEDATA) creates material in the background i.e. does not take you to standard SAP screen of T-Code MM01
So in my case (i.e. to create and change Vendor Master and Customer Master ) I want BAPI which would work like BAPI to create material (BAPI_MATERIAL_SAVEDATA)For general information,to find BAPIs associated with any business object :
Transaction : BAPI - choose alphabetical tab - Find customer - (right side choose - tools - create bapi list and search ) , you will get all the BAPIs associated with this particular business object
Mathews -
Bapi for creation of equipment master
hi friends ,
I have to made a BDC program for creation of equipment master .
for that I am using bapi i.e. ' BAPI_EQUI_CREATE '.
I had matched the fields of transaction IE01 but in the additinal data part i could not able to map 'Partner' fields .
pls some body can guide what should i do for it.Hi Das,
If u r going to create equipment no against this Bapi BAPI_EQUI_CREATE"
then u need to pass material no, Equipment type, Serial No. there is no need to give partner no .
If its good, then plz give point.
Maybe you are looking for
-
Need to read a windows NT drive in LION
I seem to remember that in Leopard / Snow Leopard, I could read any drive in Windows format on the Mac Pro... but now, in Lion, the system does NOT read certain drives in Windows format. I'm trying to mount one that Disk UTIL seems to think is in a
-
Change Manager and Person Responsible
Why the Change Manager partner function is defined with function category "Person Responsible" and the CRM relationship "is responsible BP for"? This is related to the "Person responsible" field of a change document in the transaction crmd_order, whe
-
Apple store credit, can't change my region!
i bought a few 50 dollar cards back when i was at USA. I have been happily using those credits and buying apps from the US store. Now i have 4.78$ left and i want to change my region and buy from my onw countries store, because there is less than 5 b
-
Really frustrated!!! Using SP 2010 with VS 2010. Created a simple project with just 1 elements.xml file for adding 2 columns. Scope of the feature is "Site". When I right click and deploy it gives below error. Error occurred in deployment step 'Activ
-
Gathering histogram manually in oracle
Hi, I need to create the histrogram manually in oracle 10g DB. When i execute the following pl/ sql block i was getting the "PLS-00306: wrong number or types of arguments in call to 'PREPARE_COLUMN_VALUES'". I want to pass the V_arr value from test2