Diff. btwn. BAPI_USER_ACTGROUPS_ASSIGN and BAPI_USER_LOCACTGROUPS_ASSIGN
Hi,
could somebody tell me the difference between FM BAPI_USER_ACTGROUPS_ASSIGN and BAPI_USER_LOCACTGROUPS_ASSIGN?
What is "CUA Central System"?
Thanks,
Mate Bartalos
We have a CUA which provides a couple of R/3 daughter systems/clients. Further we have a HR system stand-alone-system which is also integrated in our CUA.
I tried to create a ABAP on the HR system which is changing the user masta data (especially the roles of a user) on the CUA system via RFC BAPI´s on a regular basis. Unfortunately it´s doesn´t works, because I don´t know the correct BAPI´s to change die CUA data. BAPI_USER_ACTGROUPS_ASSIGN changes only the locale R/3 user roles...
In my opinion the CUA specific user roles are in table USLA04 - which will be doesn´t changed.
Maybe somebody had the same requirements in the past and can help me? Thank you in advance!
My coding so far:
REPORT zzh_t_role_change_zbv.
PARAMETER: i_pernr TYPE pernr-pernr DEFAULT '90000007',
i_usrid TYPE sy-uname DEFAULT 'SCHEFFLM',
i_date TYPE sy-datum DEFAULT sy-datum.
DATA: lt_bapi_return TYPE STANDARD TABLE OF bapiret2,
lt_profiles TYPE STANDARD TABLE OF bapiprof,
lt_activitygroups TYPE STANDARD TABLE OF bapiagr.
DATA: ls_bapi_return TYPE bapiret2,
ls_profiles TYPE bapiprof,
ls_activitygroups TYPE bapiagr.
DATA: lv_zbv_sysid TYPE sy-sysid,
lv_zbv_clnt TYPE sy-mandt,
lv_zbv_logsys TYPE uszbvlndsc-sendsystem,
lv_zbv_rfc_dest TYPE rfcdes-rfcdest,
lv_usrid_zbv_get(10).
lv_usrid_zbv_get = i_usrid.
--- Zentrale Benutzerverwaltung: Zentralsystem des Users ermitteln ---
CALL FUNCTION 'SUSR_ZBV_CENTRALSYSTEM_GET'
EXPORTING
delivery_model = lv_usrid_zbv_get
IMPORTING
central_system_sysid = lv_zbv_sysid
central_system_clnt = lv_zbv_clnt
central_system_logsys = lv_zbv_logsys
central_system_rfc_dest = lv_zbv_rfc_dest
EXCEPTIONS
duplicate_central_system = 1
new_system = 2
OTHERS = 3.
Errorhandling
IF sy-subrc NE 0.
ENDIF.
--- Existenz des Benutzers prüfen ---
CLEAR: ls_bapi_return.
CALL FUNCTION 'BAPI_USER_EXISTENCE_CHECK' DESTINATION lv_zbv_logsys
EXPORTING
username = i_usrid
IMPORTING
return = ls_bapi_return.
Errorhandling
IF ls_bapi_return-id EQ '088'. "Benutzer existiert nicht
close RFC connection
CALL FUNCTION 'RFC_CONNECTION_CLOSE'
EXPORTING
destination = lv_zbv_logsys.
EXIT.
ENDIF.
--- Rollenzuordnungem zum Benutzer lesen ---
CLEAR: lt_bapi_return.
***************SUSR_ZBV_ROLES_RESOLVE
CALL FUNCTION 'BAPI_USER_GET_DETAIL' DESTINATION lv_zbv_logsys
EXPORTING
username = i_usrid
IMPORTING
ADDRESS =
LASTMODIFIED =
ISLOCKED =
TABLES
profiles = lt_profiles
activitygroups = lt_activitygroups
return = lt_bapi_return.
Errorhandling
LOOP AT lt_bapi_return INTO ls_bapi_return.
ENDLOOP.
IF ( ls_bapi_return-type EQ 'A' ) OR
( ls_bapi_return-type EQ 'E' ).
close RFC connection
CALL FUNCTION 'RFC_CONNECTION_CLOSE'
EXPORTING
destination = lv_zbv_logsys.
EXIT.
ENDIF.
Gültigkeitszeitraum von Rollenzuordnung setzen
CLEAR: ls_activitygroups.
LOOP AT lt_activitygroups INTO ls_activitygroups.
ls_activitygroups-to_dat = i_date.
MODIFY lt_activitygroups FROM ls_activitygroups.
CLEAR: ls_activitygroups.
ENDLOOP.
--- gesamte Aktivitätsgruppenzuordnung ändern (zeitlich abgrenzen) ---
CLEAR: lt_bapi_return.
*SUSR_USER_LOCAGR_ACTGROUPS_ADD
*SUSR_USER_CHANG
*CALL FUNCTION 'BAPI_USER_ACTGROUPS_ASSIGN' DESTINATION lv_zbv_logsys
EXPORTING
username = i_usrid
TABLES
activitygroups = lt_activitygroups
return = lt_bapi_return.
*--->SUSR_USER_LOCAGR_ACTGROUPS_PUT
*--->SUSR_USER_PROFS_BUFFER_SAVECHK
*--->SUSR_ZBV_USER_SYSTEM_SAVE
*--->SUSR_USER_BUFFERS_TO_DB
*--->SUSR_USER_GROUP_BUFFERS_TO_DB ????
*--->SUSR_USER_PROFS_BUFFER_TO_DB ????
*--->SUSR_USER_LOCPRO_BUFFER_TO_DB ????
*--->SUSR_UM_USR_AGR_BUFFERS_TO_DB ????
*--->SUSR_UM_USR_SYS_BUFFERS_TO_DB ????
*--->SUSR_USER_AGR_BUFFER_TO_DB ????
*--->SUSR_USER_LOCAGR_BUFFER_TO_DB ????
*Anmerkung: Profile werden nicht berücksichtigt, da diese eigentlich nicht
*mehr in Verwendung sein sollten (nur noch Rollen)
--- Rückverteilung der geänderten Userdaten an Tochtersysteme ---
*SUSR_ZBV_USER_SINGLE_SEND
*SUSR_ZBV_USER_SEND_BACK
*SUSR_USER_DISTRIBUTE
close RFC connection
CALL FUNCTION 'RFC_CONNECTION_CLOSE'
EXPORTING
destination = lv_zbv_logsys.
Please give me reward points if it is useful
Thanks
Murali Poli
Similar Messages
-
Hi,
what is the exact difference btwn Grid and cluster?Read the following:
Diff btwn Grid and cluster
Simon -
Diff Btwn 0CPQUABU and 0QUANT_B on Inventory
Hi Gurus,
what is the Diff Btwn 0CPQUABU and 0QUANT_B fields on Inventory Cubes.
I see 0CPQUABU assigned to 0RECTOTSTCK on the update rules of 2LIS_03_BX .
Any explaination on how the key figures , I mean stocks are calculated will be useful.
Sree
Message was edited by:
SreeRama
Message was edited by:
SreeRamaVikash,
In case of ATP you are including the order line quantity that is being entered into consideration for calculating ATP (on the fly) where as the item supply demand will consider only scheduled order lines.
Also ATP check does the check for all the lines if the item has configuration (I believe). THis is not the case in the item supply demand. It is just doing the check only for that item.
Also ATP can be global. If you want to check the availablity of the item across your supply and demand network, you can do that (Global Order Promising). Supply Demand is purely inventory function. ATP is planning function.
These are few differences. There can be or are much more.
Take a look at the ASO_ATP_INT to get an idea how to do this. This is used in quote and iStore where customers can check themselves when the product is available using the date.
I suggest you use ATP functionality and not Supply demand logic.
Thanks
Nagamohan -
Diff btwn STANDARD and SORTED tbls??
Hi Experts,
Just curious to know that, In Wht scenarios/requiremets, we need to create a internal table, like fillowing(or How they differ from TYPE STANDARD TABLE OF)??
<i><b>it_a504 TYPE SORTED TABLE OF a504 WITH UNIQUE KEY kunnr prodh.
wa_a504 TYPE a504,</b></i>.
thanq
Message was edited by:
Srikharmainly performance reason ,if you use sorted internal table then it will have good performance than standard intentable
The internal tables could be catogrised into two.
indexed : standard and sorted tables.
nonindexed: hash tables.
standard table: it is the one we use generally.In this the data is not sorted and the only thing we can do is just process the data with out any restriction on it.
sorted tables: it works in two different manner.
Frist one: is similar to standard table but the only difference is the data will be filled in a particular manner either ascending or descending.
Second one: u can also fill the table keeping any field as primary key.now the data will be filled based on that particular key.
Hash tables: u can use this when u want to fill your internal table avoiding the duplication of data.it never permits the duplicate record to be stored in a internal table
Thanks
seshu -
Diff btwn contracts and scheduling agreements????
hi buddies.....
i have facing this question in lot of interviews but cant able to answer properly....
plz gimme some interview point of view answers...
thanks in advance...
venkatesh.vOutline agreements in procurement can be 2 types:
Contracts or Scheduling agreements.
Contract is where you have a contract with the vendor,may be a for a predetermined quantity or predefined value. So everytime you need the matl, you need to make PO ref the contract asking for the delivery of the matl. In such instance when PO is ref with contract its called contract release orders or call off orders.
Scheduling agreement is a long term purchase agreement, where you will keep issuing the delivery schedules whenever there is a change in requirement or at predetermined time intervals. The delivery schedule can be on hour/daily/weekly/monthly basis. But it will contain different zones viz. firm/tradeoff/Forecast. Firm zone schedules are confirmed requirement and need to be taken by ordered party. Tradeoff zone requirement is to purchase the raw materails and ordering party is liable to pay raw material cost, in case of requirement cancellation. Forecast zone requirement is to help the vendor to plan his requirements.
SA is also an agreement with the vendor for the supply of matl, may be a quanity or value. The delivery dates will be maintained in ME38 ref the SA which are called delivery schedules.So you can maintain the delivery schedule and communicate the vendor on Forecase basis or JIT basis. And when you need some more matl then will only create SA deliveries using ME38. SA could be of 2 types:- without release documentation-system will transmit the delivery info to the vendor once you save the document.
With release documentation- after creating the delivery schedules you need to create SA release using ME84.
The main difference between contract and SA is volume of docs generated would be higher in contract since everytime you need to make a PO ref the contract and its time consuming, whereas SA can be integrated with MRP such that it automatically creates delivery schedules during MRP run provided if there is a requirement to the matl.
Visit : http://help.sap.com/saphelp_srm30/helpdata/en/7d/0a093f7c392e5ae10000000a114084/content.htm -
FFT and Overall Values Differ btwn VI and DIAdem
Hi all,
I have an application that displays live vibration readings including the spectrum and overall vibration level. All my report generation is done in DIAdem scripts, so it's critical that any values calculated and displayed on the LabVIEW side match the values calculated and reported in DIAdem. The attached VI and Script, when fed the input from the attached TDMS file, give me significantly different values for the magnitude of the FFT and overall RMS value. Can anyone spot what I'm doing wrong?
Thanks,
Scott
CLAD
Solved!
Go to Solution.
Attachments:
FFT and RMS Script.VBS 5 KB
FFT and RMS VI.vi 39 KB
VibrationSample.tdms 103 KBHello,
Here is a great reponse from R&D. I felt it would be better to place this on the web then keep it limited to your service request.
The difference has to do with the Window-correction. The results are identical if you select rectangluar (or no) window.
Usually a Window is taking a part of the singnal away, so in the first place, the result has a different shape and is smaller compared to result with rectangular window. This can be corrected with a specific factor for each window.
There are two possible corrections. Random and periodic.
- Periodic is used if you have pure sine-wave like signals and you want to measure the peak value. A typical use case is the flattop-window which is designed for this type of calculations. The periodic correction is too large if you want to add the values to calculate the total RMS of the signal or of a the summation of a certain frequency band.
- Random is correcting the signal back to the correct overall RMS value and should be used in all other cases.
The periodic correction for the Hanning window is a factor of two. The random correction is about 1.633. DIAdem will give the same result as LabVIEW if you use the following correction type:
FFTWndCorrectTyp = "periodic"
In the world of FFT-analysis, the different corrections are very often not obvious and hidden to the user. Unfortunately this is also the case in LabVIEW. You can find a good example of an explanation here:
http://blog.prosig.com/2009/09/01/amplitude-and-energy-correction-a-brief-summary/
There are different factors for the different window functions. If you go deeper into the FFT-VI you will find the "Scaled Window VI". This has an output "window constants". With this, it is possible to get the correction values for the window functions.
I also think, that periodic is wrong in most cases when Hanning is used, because Hanning is best for the summation of RMS values in frequency bands and the results are wrong without a random correction.
Hope that helps.
Jacob R. | Applications Engineer | National Instruments -
What is the diff btwn Schedule & Delivery w.r.t MM Module?
Hi!
What is the diff btwn Schedule & Delivery w.r.t MM Module?
Regards,
Imran.Return delivery and repair are different.
For repair please follow:
1) Decision must be taken whether the same material code to be returned after the repair work.
2) Decision must be taken whether value updation is required during return of material
3) Based on the two above decision create a new material type and material master with that new material type.
4) Check the OBYC SETTINGS FOR BSX,WRX,BSV,FRL,GBB.
5) Create subcontracting PO for the repaied material code where you isuue the material as a component which is needed to be repaired.
6) Isuue the material to the vendor wrt the PO with movement type 541 in MB1B.
7) After repairing receive the material through MIGO wrt PO.
8) Book the invoice through MIRO.
Regards,
Indranil -
Is can we develop MATCH btwn VBEP and VBFA, for data pulling?
Hi Experts,
I got a requirement, in which I hv to develop a report for the Open quantities for sales order items. fine.
I ssue is that, in the report I hv to show at Schedule line level i.e. VBEP.
So, by pulling the records from VBEP depending on the seldction criteria, I hv to pull the MATCHING record from VBFA for Post Goods Issue.
Then, I hv to implememnt the follwoing formula,
Open Quantity = VBEP, say Schedule line 1 quantity -(mnus) first saved corresponding Order, Item Quantitity-RFMNG in VBFA for PGI type
As we know, VBEP is at Schedule line lvel, where as VBFA is ITEM level!!
So, pls. let me know that,
1 - Is really, we can develop the MATCH btwn VBEP and VBFA tbls, I mean, always, the data will be correctly pulled?
2 - If so, Is the folllwoing statement is OK?
LOOP AT IT_VBFA WHERE VBELV = IT_VBEP-VBELN and POSNV = IT_VBEP-POSNR and ERDAT LE IT_VBEP-MBDAT
3 - Any other good statement for my requirement?
Looks like, functional guy is also NOT much idea, here.
Thanx
Edited by: Srinivas on Jun 1, 2008 12:15 AMno reply
-
Diff materialized view and view
what is diff materialized view and view
Check these documents please
[Overview of Materialized Views|http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/schema.htm#CNCPT411]
[Overview of Views|http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/schema.htm#i20690]
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com -
Hii All...
I am new in CIN can anyone please tell me what is the difference in these two procedure ?
Which one is generally used and why ?
And is there any difference in accounts to be maintained in both procedure.
Can any one please tell me both Tax procedure methods in details..
Do the needful help,
Thanks
Abhinay Waikar.Hi Abinay,
ref the blw detailed info reg cin..
If SAP is implemented for any company in INDIA and the company is in EXCISABLE range then
in SAP ,CIN is implemented ( Country India Version) then
you have to implement the SAP by either of the one type of CIN
1. TAX INN - Condition based CIN implementation
2.TAX INJ -Formula Based CIN implementation
1. If you are using TAXINN then system will pick rate from condition record maintained using tcode FV11.
2. If you are using TAXINJ then rates are to be entered while creating tax code in FTXP & J1ID.
===============================
and ref the blw links which will give the complete details abt cin - tax procedure diff and config.
Cin config. Links
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207dd2ad-bf92-2b10-a88b-e3a4a01ca7fc?overridelayout=true
http://www.scribd.com/doc/7216701/MMCIN-Customization-Document
http://help.sap.com/saphelp_erp2005/helpdata/en/09/ebf138cdd78a4be10000000a114084/frameset.htm
Diff between TAXINJ and TAXINN
Diff between TAXINJ and TAXINN
diff betwn TAXINN &TAXINJ
Re: Diff in TAXINN and TAXINJ
diff.between Taxinn& taxinj -
Hi Experts,
What is the diff btn EDI and ALE.
Straight answers will be rewarded.
Regards,
SAIHi,
In simple words ...
ALE is technology for SAP mainly use to transfer data between SAP systems.
EDI is the independent technology use to transfer data between two systems, they can be SAP systems or non SAP systems.
ALE = Application Link Enable: Initially developed for SAP as an abstract layer to extract master and transactional data to be sent ellectronically to other SAP systems. These days is also being used to send data no non-SAP systems. ALE is not a protocol or anything like that, it's just abstract layer composed by a set of applications which are capable of extracting aplication data on a 1-time basis or periodically, by selection criteria or incrementally by deltas.
In contrast, EDI = Electronic data interface, this is a comunication protocol not designed by SAP but it´s an industry standard. Of course most SAP software supports EDI, but EDI it's no software but the specification of the protocol in itself.
Regards,
Padmam. -
What is the difference btwn double and floating data type?
is it going to affect the computation?
What is the difference btwn J2SDK and J2EEhttp://java.sun.com/j2se/index.jsp
http://java.sun.com/j2ee/index.jsp -
What is the Difference btwn PORT and SOCKET
Hai, what is the diff. between Port and Socket and is Port related to Hardware?
Or another way, A socket is the connection you make, the port is the channel that the socket connected on.
A lot of ports are assigned to a certain use eg 80 = http. So when you try to access a web page, your browser tries to make a connection to the server on port 80, the server software will listen on port 80 on the server computer for htp request. -
Diff between Serialization and Synchronization
Hi I am new to java.
Pl. give me the difference between Serialization and Synchronization.
Thankq
SridharDon't you look at the timestamps of posts? They could
have been typing at the same time.
/KajPlease stop! I'll die laughing. LOL
Re: Diff between Serialization and Synchronization
Author: Annie. Apr 11, 2005 10:30 AM (reply 1 of 4)
Re: Diff between Serialization and Synchronization
Author: glrao Apr 12, 2005 8:31 AM (reply 2 of 4) I really like your sense of humor.
xH4x0r -
Types of DTP , Diff between Standard and Error DTP
Hi experts,
What is DTP , are the Types of DTP , Diff between Standard and Error DTP , how it works in BI 7.0.
I will assign points for your valuable answers.Hello ,
Data transfer process (DTP) to transfer data within BI from one persistent object to another object, in accordance with certain transformations and filters. In this respect, it replaces the data mart interface and the InfoPackage. As of SAP NetWeaver 7.0, the InfoPackage only loads data to the entry layer of BI (PSA).
The data transfer process makes the transfer processes in the data warehousing layer more transparent. Optimized parallel processing improves the performance of the transfer process (the data transfer process determines the processing mode). You can use the data transfer process to separate delta processes for different targets and you can use filter options between the persistent objects on various levels. For example, you can use filters between a DataStore object and an InfoCube.
Data transfer processes are used for standard data transfer, for real-time data acquisition, and for accessing data directly.
1.Benefit: Data Distributionwithin BI Capabilities (from PSA or InfoProviders to InfoProviders)
2.Improved transparency of staging processes across data warehouselayers (PSA, DWH layer, ODS layer, Architected Data Marts)
3.Improved performance and high scalability
4.Separation of delta mechanism for different data targets: delta capability is controlledby the DTP
5.Enhanced filtering in dataflow
6.Repair modus based on temporary buffers (buffers keep complete set of data)
See these docs for more info
[Data Transfer Process |http://help.sap.com/saphelp_nw04s/helpdata/en/42/f98e07cc483255e10000000a1553f7/content.htm]
[Enterprise Data Warehouse (EDW)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a]
[What's New with SAP NetWeaver 2004s - Detailed|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/910aa7a7-0b01-0010-97a5-f28be23697d3]
[SAP NetWeaver 7.0 ETL and EII|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0b24053-654e-2a10-4180-b0e7c7b4c9f2]
[How to Create Monitor Entries from a Transformation Routine (NW7.0)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50fda171-e36e-2910-9290-e3dab26c50b5]
FAQ on SAP NetWeaver 2004s
[Modeling the Enterprise Data Warehousing for SAP NetWeaver 2004s FAQ|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7c2a7c65-0901-0010-5e8c-be0ad9c05a31]
[Enterprise Data Warehousing for SAP NetWeaver 2004s FAQ|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c9f5fb91-0c01-0010-67a8-fd35946e9403]
Thanks
Chandran
Maybe you are looking for
-
Shared calendars in iCal via Exchange 2007
I am trying to test a solution for a user that has an iMac she wishes to connect to our Windows network and access her email and calendars from home. She will VPN of course, and upgrade to Snow Leopard for Exchange support. I have everything working
-
Configuring WM in Already Implemented SAP ECC 6.0
Dear all, In my SAP system all modules like MM,SD,FICO,PP are implemented. Now we want to implement SAP WM module in already implemented System, So what are the Key Points to consider While implementing the WM module. Regards, Rocky.
-
Moving objects and other shapes or groups of shapes in Illustrator to exact placement!
HI, I am trying to move objects with the mouse to an exact place(grouped objects) within my document, how do i go about doing this? I have snap to point turned off, but everytime i try to click and drag to either overlap and object onto another, so i
-
Vista file associations can't find .ai files
I can't double click on an Illustrator CS4 .ai file and have it open in Windows. When I go to the Set Associations screen an tab down to .ai files it shows Adobe Illustrator Artwork 14.0 as the associated file. When I click on the "Change Program" ta
-
Since updating my iPad ios to 7, I can no longer read any books in iBook. I see the title, but when I try to open it, the app. Closes down. What do I do?