Query Regarding BAPI
Hi All,
I have a requirement where-in I would need to change the Expiration Date of a Credit Card.
Is there any FM or BAPI through which i can have my requirement achieved?
If not, then i guess i would need to create a Custom BAPI i.e. "Z" BAPI.
Thanks in Advance,
Rajesh
I don't think there is a standard BAPI available to do that.
Regards,
Ravi
Note :Please mark all the helpful answers
Similar Messages
-
Hi,
I would like to know if there is a BAPI for changing the plant in a PO.I have already checked the following Function Modules and they do not serve the purpose.
CN_WF_PURCHASE_ORDER_CHANGE
MASS_CHANGE_PURCHASE_ORD
MASS_CHANGE_PURCHASE_REQ
SD_PURCHASE_CHANGE_ORDER
ME_CHANGE_PURCHASE_DOCUMENT
WWG2_PURCHASE_ORDER_CHANGE
Any genuine help would be appreciated.
Thanks and Regards,
Nejuma IqbalUse the BAPI BAPI_PO_CHANGE.
Check the below link for the sample code:
http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
Regards,
Prakash. -
Regarding BAPI HRXSS_CAT_WD_RECORD
Hi Experts,
This is regarding BAPI HRXSS_CAT_WD_RECORD.for this BAPI , I am providing inputs like this
IV_PERNR = 90030.
IV_ACTION = COPY_FROM_PREVIOUS_PERIOD.
IV_BEGDA = 09/20/2008 .
IV_ENDDA = 09/26/2008 .
So this BAPI has to copy the previous period(week) data to current week what I provided in the input area.But it is not returing (it is not copying previous week data).means COPY_FROM_PREVIOUS_PERIOD action is not working in BAPI.
Is there any BAPI for meeting this requirement. I want copy the previous weeks time sheet data to week dates provided in input. This functionality is available in Tcode in cat22.
Regards,
VinodYou may use the following BAPI (actual BAPI these one) to fulfil your requirement:
- [BAPI_CATIMESHEETRECORD_GETLIST|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bapi_catimesheetrecord_getlist&adv=false&sortby=cm_rnd_rankvalue]
- [BAPI_CATIMESHEETMGR_INSERT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bapi_catimesheetmgr_insert&adv=false&sortby=cm_rnd_rankvalue]
Regards -
Hi Friends,
Here is my query in BAPI,
I need a BAPI to upload asset information (which is currently held in Physical data) data to SAP.
Its very very urgent for me,plz help me on this.
Thanks a lot in Advance.
mrutyun^hi Mrutyunjaya,
try using BAPI_FIXEDASSET_CREATE1.
You will get lot of information about asset in business object BUS1022.
regards, -
Query regarding updation thru a Procedure
Hi,I have a query regarding updation.
1.I invoke a procedure in Oracle called submit thru my Java application.
The submit procedure saves the XML data in the database
and displays this data in a Front End GUI.
2. Now,I make a change in my Java application by adding new elements to the same row.This row now contains additional XML elements.
I would like to display the new row with the new elements in the GUI.
What is a better option for doing the above?
1.Delete the row being shown,save the new row with the changes in the database,and re display it?
2.Or,Update the row dynamically and refresh?
Any suggestions
Thanks,Hi,I have a query regarding updation.
1.I invoke a procedure in Oracle called submit thru
my Java application.
The submit procedure saves the XML data in the
database
and displays this data in a Front End GUI.
2. Now,I make a change in my Java application by
adding new elements to the same row.This row now
contains additional XML elements.
I would like to display the new row with the new
elements in the GUI.
What is a better option for doing the above?
1.Delete the row being shown,save the new row with
the changes in the database,and re display it?
2.Or,Update the row dynamically and refresh?
Any suggestions
Thanks,If you delete (it seems to me yours this process is regular and frequent) and re insert the new updated one record then High water mark will cause to scan yours table which may cause to degrade the performance.AFAIK you should go with update.But hold down dont implement it as i suggested lets see what are others solution here which may be more precious then mine.
Khurram -
A query regarding synchronised functions, using shared object
Hi all.
I have this little query, regarding the functions that are synchronised, based on accessing the lock to the object, which is being used for synchronizing.
Ok, I will clear myself with the following example :
class First
int a;
static int b;
public void func_one()
synchronized((Integer) a)
{ // function logic
} // End of func_one
public void func_two()
synchronized((Integer) b)
{ / function logic
} // End of func_two
public static void func_three()
synchronized((Integer) a)
{ // function logic
} // End of func_three, WHICH IS ACTUALLY NOT ALLOWED,
// just written here for completeness.
public static void func_four()
synchronized((Integer) b)
{ / function logic
} // End of func_four
First obj1 = new First();
First obj2 = new First();
Note that the four functions are different on the following criteria :
a) Whether the function is static or non-static.
b) Whether the object on which synchronization is based is a static, or a non-static member of the class.
Now, first my-thoughts; kindly correct me if I am wrong :
a) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisation, since in case obj1 and obj2 happen to call the func_one at the same time, obj1 will obtain lock for obj1.a; and obj2 will obtain lock to obj2.a; and both can go inside the supposed-to-be-synchronized-function-but-actually-is-not merrily.
Kindly correct me I am wrong anywhere in the above.
b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation.
Kindly correct me I am wrong anywhere in the above.
c) In case 3, we have a static function , synchronized on a non-static object. However, Java does not allow functions of this type, so we may safely move forward.
d) In case 4, we have a static function, synchronized on a static object.
Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation. But we are only partly done for this case.
First, Kindly correct me I am wrong anywhere in the above.
Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".
Another query : so far we have been assuming that the only objects contending for the synchronized function are obj1, and obj2, in a single thread. Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.a; and again obj1 trying to obtain lock for obj1.a, which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed. Thus, effectively, our synchronisation is broken.
Or am I being dumb ?
Looking forward to replies..
Ashutosha) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisationThere is no synchronization between distinct First objects, but that's what you specified. Apart from the coding bug noted below, there would be synchronization between different threads using the same instance of First.
b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.obj1/2 don't call methods or try to obtain locks. The two different threads do that. And you mean First.b, not obj1.b and obj2.b, but see also below.
d) In case 4, we have a static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.Again, obj1/2 don't call methods or try to obtain locks. The two different threads do that. And again, you mean First.b. obj1.b and obj2.b are the same as First.b. Does that make it clearer?
Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".That's what happens in any case whether you write obj1.func_four(), obj2.func)four(), or First.func_four(). All these are identical when func_four(0 is static.
Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.aNo we don't, we have a thread trying to obtain the lock on First.b.
and again obj1 trying to obtain lock for obj1.aYou mean obj2 and First.b, but obj2 doesn't obtain the lock, the thread does.
which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed.Of course it won't. Your reasoning here makes zero sense..Once First.b is locked it is locked. End of story.
Thus, effectively, our synchronisation is broken.No it isn't. The second thread will wait on the same First.b object that the first thread has locked.
However in any case you have a much bigger problem here. You're autoboxing your local 'int' variable to a possibly brand-new Integer object every call, so there may be no synchronization at all.
You need:
Object a = new Object();
static Object b = new Object(); -
Query regarding the conversion of DME file in MT940 format.
Hello Experts,
I have a query regarding the generation of MT940 file after generating the payment file from other DME tree.
After completion of payment run, my payment file is generated in the DME format which is according to the DME tree.
I want to convert the DME file (which is generated via F110) from existing format to the standard MT940 format.
Is there any standard program which converts the DME file to MT940. If so, please inform me as early.
I have tried to upload the DME file in FF.5 transaction, but it is not allowing me to convert the file in MT940 structure.
Or please inform the steps how i can convert the file .
Awaiting for your inputs.
Thanks in advanceHi Zareena.
I would like to suggest,
SX_OBJECT_CONVERT_RAW_TXT.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Query regarding the data type for fetcing records from multiple ODS tables
hey guys;
i have a query regarding the data type for fetcing records from multiple ODS tables.
if i have 2 table with a same column name then in the datatype under parent row node i cant add 2 nodes with the same name.
can any one help with some suggestion.Hi Mudit,
One option would be to go as mentioned by Padamja , prefxing the table name to the column name or another would be to use the AS keyoword in your SQL statement.
AS is used to rename the column name when data is being selected from your DB.
So, the query Select ename as empname from emptable will return the data with column name as empname.
Regards,
Bhavesh -
Query regarding Cluster nodes in CC
Hi Experts,
We have a query regarding the cluster nodes available in the CC monitoring.
Can two nodes of a same channel can poll at the same time?
Kindly suggest what should be done to make a specific cluster node of a CC polls at a particular time.
Thanks
Suganya.Hi,
There is an answered thread on this
Processing in Multiple Cluster Nodes
Regards,
Manjusha -
Query regarding G/LAccounts in psoting
Hi Experts,
I have one query regarding PCP0.
After executing PCP0,If We double click on the posting document we can see the number of G/L accounts in that posting Document.If we double click on each G/L Account it shows all the revision information indetail for all payments cumulated into that particular G/L Account.
Some of the G/L's are appearing as single line in the posting document and if we double click for the revision information it is showing all the Wagetypes with personnel numbers and the total of each wagetype.
Some of the G/L's we can see Multiple times for each individual.
Can any one please explain where does we set up the the revision information for the G/L Accounts .
Appreciate If anyone can help to know this information.
Thanks & Regards,
Sandhya.Hi Gopal,
Counting class are assigned to the Periodic work Schedule 1 to 9 are just arbitart sequence numbers and have no meaning in general they are used for linking Pweriodic Work schedules with differences.
You can use the class for absence and attendance counting to specify different methods of counting according to the period work schedule.
They have no other meaning apart from that.
Thanks and Regards
Swati -
Query regarding the fields details in particular form for all the users in
Dear All,
I have one query regarding the fields details in particular form for all the users in company.
Let take an exapmle if i had created Purchase Order having fields in content tab as 1.Item No. 2.Quantity 3.Unit Proce 4.Total 5. Location.
While Login in User manager i set these fields only for Purchase order , but when i login from other user and open the similar purchase order the defaults fields are also seen including above 4 fieds .
Now my question is how to set the User choice fiels for the particular form that are common to all users.
Means whenever i login in any user and opens the same document the same fields should be seen....Thanksssss.........You have to login with each and every user and do the Form Settings of every forms, so that all the forms look same for all the users.
This is a manual job and you have do do it with every user login.
Alternately, you can try out this link that explains
[How to Copy One Screen Layout to Another User|http://www.sbonotes.com/2008/03/how-to-copy-one-screen-layout-to.html] -
Query regarding App V Deployment - (Deploying DriverMSI in App - V)
Hi All,
This is my query regarding deployment of a driver MSI using App V. I have tried sequencing "NMap software" which has Kernel driver as service. I have separated the Kernel driver and wrapped in an MSI and tried deploying the Kernel Driver MSI using
the DeploymentConfig.xml file but its not happening.
I have tried writing script in DeploymentConfig.xml in AddPackage Tag as shown in the below commands where I have added driver MSI in sequenced package, and tried deploying the DeploymentConfig.xml in powershell during Add-Package event but the driver
MSI is not getting installed in Client machine.
<AddPackage>
<Path>msiexec.exe</Path>
<Arguments>/i Nmap_KernelDriver.msi /qb /l*v c:\windows\system32\LogFiles\Install_Nmap.log</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</AddPackage>
<RemovePackage>
<Path>msiexec.exe</Path>
<Arguments>/x {4BAB3E93-716E-4E18-90F0-1DA3876CBEB6} /qn</Arguments>
<Wait RollbackOnError="false" Timeout="60"/>
</RemovePackage>
</MachineScripts>
The other way I have tried is writing a vbscript for installing the driver MSI, added the vbs in sequenced package and called the same in DeploymentConfig.xml but no luck.Please find the command below.
<!--
<MachineScripts>
<PublishPackage>
<Path>wscript.exe</Path>
<Arguments>[{AppVPackageRoot}]\..\Scripts\NMap_Driver_Install.vbs -guid 7c21d1e9-0fc4-4e56-b7bf-49e54d6e523f -name Insecure_Nmap_6.4_APPV</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</PublishPackage>
<UnpublishPackage>
<Path>\\server\share\barfoo.exe</Path>
<Arguments>-WithArgs</Arguments>
<Wait RollbackOnError="false" Timeout="30"/>
</UnpublishPackage>
Please suggest any method to make this successful or kindly let me know if there is any mistake in the script.
Thanks in advance,
Vivek VHi Nicke,
These are the following methods and steps that I have performed for installing Driver MSi.
Method 1:
1. Included the driver MSI in Package Files Tab in sequencer and called the same MSI in DeploymentConfig.xml using the below script.
<AddPackage>
<Path>msiexec.exe</Path>
<Arguments>/i Nmap_KernelDriver.msi /qb /l*v c:\windows\system32\LogFiles\Install_Nmap.log</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</AddPackage>
<RemovePackage>
<Path>msiexec.exe</Path>
<Arguments>/x {4BAB3E93-716E-4E18-90F0-1DA3876CBEB6} /qn</Arguments>
<Wait RollbackOnError="false" Timeout="60"/>
</RemovePackage>
</MachineScripts>
2. After the above steps, deployed the AppV package along with DeploymentConfig.xml in App V Client using the commands mentioned below.
Set-ExecutionPolicy -Unrestricted
Import-module Appvclient
Set-AppVClientConfiguration -EnablePackageScripts 1
Add-AppvClientPackage -Path "Path of the AppV file" -DynamicDeploymentConfig "Path of DeploymentConfig.xml"
after trying the above steps the driver MSI is not getting installed.
Method 2:
1. Included the driver MSI and a VBS file(VBS contains script for calling the driverMSI)in Package Files tab in sequencer. Commandlines has been provided calling the vbs file in DeploymetConfig.xml as mentioned below.
<!--
<MachineScripts>
<PublishPackage>
<Path>wscript.exe</Path>
<Arguments>[{AppVPackageRoot}]\..\Scripts\NMap_Driver_Install.vbs -guid 7c21d1e9-0fc4-4e56-b7bf-49e54d6e523f -name Insecure_Nmap_6.4_APPV</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</PublishPackage>
<UnpublishPackage>
<Path>\\server\share\barfoo.exe</Path>
<Arguments>-WithArgs</Arguments>
<Wait RollbackOnError="false" Timeout="30"/>
</UnpublishPackage>
2. after executing the above steps, tried deploying the AppV file along with DeploymentConfig.xml using the commands mentioned below,
Set-ExecutionPolicy -Unrestricted
Import-module Appvclient
Set-AppVClientConfiguration -EnablePackageScripts 1
Add-AppvClientPackage -Path "Path of the AppV file" -DynamicDeploymentConfig "Path of DeploymentConfig.xml"
evenafter trying the above methods the driver MSI is not getting installed. Hope you can understand my explanations above.
Regards,
Vivek V -
Hi! Gurus,
I am having a query regarding Freight .
Consider PO having 100 Quantity and freight applicable WRT quantity Condition
type FRC1.Rs 1 /1 Quantity.
Freight amount = Rs 100.
Consider 5 Good Receipt WRT purchase order.
GR1- 20 Quantity ,Freight = 20 RS
GR2 -20 Quantity ,Freight = 20 Rs
GR3- 20 Quantity ,Freight = 20 RS
GR4 -20 Quantity ,Freight = 20 Rs
GR5- 20 Quantity ,Freight = 20 RS
Well my question is can i do miro with respect to delivery note(GR1,GR2,GR3,GR4,GR5) wherein i will get only freight amount that i have to pay to vendor
secondly if i do MIRO WRT purchase order ,
I getting 5 GR line items and 1item Rs 100 Freight.
We require 5 GR line item and 5 Freight items.
How this can be done.
Thanks and Regards,
shaileshIf you vendor is sending you a five invoice with each having the freight then post invoice against the delivery note so you will get only that GR qty with freight amount.
but if you get 5 GR and 1 invoice then you can not post separately -
Hi,
I have a query regarding explain plan. While we gather the statistics then optimize choose the best possible plan out of the explain plans available. If we do not gather statistics on a table for a long time then which plan it choose:
If it will continue to use the same plan as it use in the starting when statistics were gathered or will change the plan as soon as dml activities performed and statistics getting old.
Thanks
GKHi,
Aman.... wrote:
Gulshan wrote:
Hi,
I have a query regarding explain plan. While we gather the statistics then optimize choose the best possible plan out of the explain plans available. If we do not gather statistics on a table for a long time then which plan it choose:The same plan which it has chosen in the starting with the previous statistics. The plan won't change automatically as long as you won't refresh the statistics. This is wrong even for Oracle 9i. Here are couple of examples when a plan might change with the same optimizer statistics:
* when you have a histogram on a column and are not a bright person to use bind variables, you might get a completely different execution plan because of a different incoming value. All that is needed to fall into this habit - a soft parse, which might be due to different reasons, for instance, due to session parameter modification (which also might change a plan even without a histogram)
* Starting with 10g, CBO makes adjustments to cardinality estimates for out of range values appeared in predicates -
Hi SAP guru
I have one query regarding useful life of asset,
If i purchased a asset in rs 200000 , wdv rate is 20% and put the useful life 4 year, in last year i want to depreciate the asset upto 1 Rs.
Capitalisation date is 01.04.2008.
Ex - Acquisition value Ordinary depreciation net book value
2008 200,000.00 40,000.00- 160,000.00
2009 200,000.00 32,000.00- 128,000.00
2010 200,000.00 25,600.00- 102,400.00
2011 200,000.00 20,480.00- 81,920.00
2012 200,000.00 81,920.00
Client requirement is in year 2011 asset should depreciate upto Rs 1.
Appreciate your reply.
Regards
AnjanIf you want to your asset depreciation based on useful life that is 4 years, please select check box Rem.life in multi level method of that dep. key.and enter the useful life as 4 years in the assets master.
when come to restricting value to 1Re. specify the memo value for that asset class.
AA>Valuation>Amt.specification>Specify memo value.
Maybe you are looking for
-
I'm new to Spry. I have a couple of pages and on every page I want to have the same menu. I include the JS-Code and a suitable CSS-File, so I have to update the menu only once, if changes occur. Now I want to use Spry in Dreamweaver, but how can I ma
-
Hello all. The last week I've been editing on two monitors via (macbook pro). I set up the windows manually and edited in luxury with two screens. Now I'm on the road again and I'd like to edit with on a single screen. How do I do this? When I open u
-
Dear All, I need the flow of make zero balance of existing assets (i.e.,) making scrap of assets... Can anybody tell me the process of how to do? Regards, Mohan. Edited by: Mohan on Feb 8, 2010 3:03 PM
-
During CS5 master collection update on Windows 7, 64-bit laptop, I get the error "There was an error downloading this update. Please quit and try again later." This has been happening for the past few days. Can someone help me getting my updates?
-
Srv2008 r2, Load balancing causing sessions to Stack and halt logon
Hello all, We have currently using Appv 4.6 sp3, across 14 terminal servers. These then have access to 2 app servers and also 2 bkr servers. We are running a srv2008 r2 environment, and running a windows 7 user experience on the terminal servers. We