BAPI to update BZMNG(General reference quantity) in QM01
Hi All,
I'm trying to use function module IQS4_MODIFY_NOTIFICATION in a program to update the general reference quantity field in a Quality notification but it doesn't change the data.
The way I have tried :
I have passed value to RIQS5-BZMNG(One of import param of this FM). I have also passed other relevant values which are required in this case. I have also passed QMGRP,QMCOD values to this structure.
then called BAPI_TRANSACTION_COMMIT.
What I see is that Reference qty gets updated but values QMGRP,QMCOD are getting removed(cleared out) when I open the notification and see from QM02.
Any help in this regard is greatly appreciated.
Thanks
Himayatullah
Hi Playsuji,
Thanks for ur reply.
BAPI_QUALNOT_MODIFY_DATA doesn't have the field RKMNG(general reference quantity) in its import parameter structure.
If you any other idea ,pls share the same.
Best Regards
Himayat
Similar Messages
-
Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)
Hi,
I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
Thanks a lot!!Hi,
*& Report ZTEST
REPORT ztest.
DATA : wa_header TYPE bapisdh1x,
i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
i_return TYPE TABLE OF bapiret2.
wa_header-updateflag = 'U'.
i_item-itm_number = '000010'.
i_item-target_qty = '4'.
APPEND i_item.
i_itemx-itm_number = '000010'.
i_itemx-updateflag = 'U'.
i_itemx-target_qty = 'X'.
APPEND i_itemx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = '1234567890'
order_header_inx = wa_header
TABLES
return = i_return
order_item_in = i_item
order_item_inx = i_itemx
Hope this will help you.
Regards,
Anand. -
BAPI to Update the OA/PO with the new partners from vendor masters
Hello All,
We got a requirement to update the Contract or purchase order with new partners from vendor master.
In brief the partner information of a PO when created with reference to a contract will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
Hence please help us with any BAPI to update the PO partners with Vendor masters .
Regards
KalyaniMAP2e_lfa1_to_bapivendor_04
MAP2e_lfa1_to_bapivendor_05
will be helpful -
BAPI Sales Order create with reference Invoice document
Hi
I am using BAPI ''SD_SALESDOCUMENT_CREATE'' to create debit memo request with reference Invoice document.
First time its successfully created with reference Invoice.When i am going to create 2nd time debit memo request with same reference Invoice and item
no its giving following error.
Reference quantity:
10 EA (total referenced:
40 EA)
Error in SALES_ITEM_IN 000010
Condition ZSLS is not allowed as header condition
Sales document was not changed
Please help any one to resolved this issue.
Regards
ShyamSD_SALESDOCUMENT_CREATE is not a BAPI. Is there any specific reason you're using this FM when the actual BAPI exists?
ZSLS is a custom condition. There might as well be some user exit that attempts to add it [possibly incorrectly], how would we know this on SCN? There is enough information in the error message to troubleshoot on your own, it seems. What kind of analysis have you done before posting on SCN? -
Any bapi for update MCJ4 report(SAP performance reports)
Hi,
Any bapi for update MCJ4 report(SAP performance reports)
or
how to update MCJ4 report from my webdynpro application.
Regards,
Deepak SinghHi,
Have you gone through this ,We already have the discussion on this .
[http://forums.sdn.sap.com/thread.jspa?threadID=1162642]
BTW , As you say, you are going to create the Milsetsone what is your reference is it WBS element and project definition or network , How are you planning to bring the reference data from the legacy system [ As example the WBS element against which the Milestone s are craeted] into SAP . Becuase as far as i know milestones area attached with project definition and then further down to WBS element so you need to bring the Project definition + WBS element to change create the milsetone .
Thanks,
Anjaneya . -
I am attempting to upload a manually edited WADConfig xml to my VM. The WAD service is functioning correctly, I needed to add some custom WinEventLogs. The prescribed steps result in an error.
What am I overlooking?
I am following these instructions:
Step 5: Remotely install Diagnostics on your Azure Virtual Machine
azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/#virtual-machine
$storage_name = "wadexamplevm"
$key = "<StorageAccountKey>"
$config_path="c:\users\<user>\documents\visual studio 2013\Projects\WadExampleVM\WadExampleVM\WadExample.xml"
$service_name="wadexamplevm"
$vm_name="WadExample"
$storageContext = New-AzureStorageContext
-StorageAccountName $storage_name -StorageAccountKey $key
$VM1 = Get-AzureVM
-ServiceName $service_name -Name $vm_name
$VM2 = Set-AzureVMDiagnosticsExtension
-DiagnosticsConfigurationPath $config_path
-Version "1.*"
-VM $VM1 -StorageContext $storageContext
$VM3 = Update-AzureVM
-ServiceName $service_name -Name $vm_name
-VM $VM2.VM
Unfortunately, I am receiving this error:
Update-AzureVM : BadRequest: Invalid update to extension reference for role: XXXXXX and reference: IaaSDiagnostics.
What's missing from the above script?Hi,
Since Azure SDK 2.5 uses the extension model the diagnostics extension, the configuration and the connection string to the diagnostic storage are no longer part of the deployment package and cscfg. All the diagnostics configuration is contained within the
wadcfgx. The advantage with this approach is that diagnostics agent and settings are decoupled from the project and can be dynamically enabled and updated even after your application is deployed.
Due to this change some existing workflows need to be rethought – instead of configuring the diagnostics as part of the application that gets deployed to each environment you can first deploy the application to the environment and then apply the diagnostics
configuration for it. When you publish the application from Visual Studio this process is done automatically for you. However if you were deploying your application outside of VS using PowerShell then you have to install the extension separately through
PowerShell.
There PowerShell cmdlets for managing the diagnostics extensions on a Cloud Service are -
Set-AzureServiceDiagnosticsExtension
Get-AzureServiceDiagnosticsExtension
Remove-AzureServiceDiagnosticsExtension
You can use the Set-AzureServiceDiagnosticsExtension method to enable diagnostics extension on a cloud service. One of the parameters on this cmdlet is the XML configuration file. This file is slightly different from the diagnostics.wadcfgx file. You can
create this file from scratch by either following the article that you are referring to or you can modify the wadcfgx file and pass in the modified file as a parameter to the powershell cmdlet.
To modify the wadcfgx file –
Make a copy the .wadcfgx.
Remove the following elements from the Copy:
<DiagnosticsConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<StorageAccount name=" " endpoint="https://core.windows.net/" />
</PrivateConfig>
<IsEnabled>false</IsEnabled>
</DiagnosticsConfiguration>
Make sure the top of the file still has xml version and encoding –
<?xml version="1.0" encoding="utf-8"?>
Effectively you are stripping down the Wadcfgx to only contain the <PublicConfig> section and the <?xml> header. You can then call the PowerShell cmdlet along with the appropriate parameters for the staging slots and roles:
$storage_name = ‘
<storagename>’
$key= ‘<key>’
$service_name = '<servicename>'
$public_config = '<thepublicconfigfrom_diagnostics.wadcfgx>'
$storageContext = New-AzureStorageContext –StorageAccountName $storage_name –StorageAccountKey $key
Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config –ServiceName $service_name -Slot ‘Staging’ -Role ‘WebRole1’
Hope this helps !
Regards,
Sowmya -
BAPI to update a single characteristic in IE02
Hi,
I am trying to update a single characteristic in IE02.I am able to do that with the BAPI "BAPI_OBJCL_CHANGE",but this BAPI is updating only 1 characteristic and is initializing all the remaining characteristcs.
Any pointers on this is highly appreciable.
NavinHi,
the documentation of the bapi says:
Caution
This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
You can only use this BAPI for objects that are not classes!
This BAPI only processes assigned values for classification - not for configuration
so i guess you have to pass all information you do not want to lose.
i´ve found this as well:
http://www.sapfans.com/forums/viewtopic.php?t=125320
Best regards.
Edited by: Pablo Casamayor on Jan 2, 2009 7:08 PM -
BAPI for updating Maintain Duration in Transportation and Delivery scheduling
Hi all,
Iam looking for a BAPI to update the Duration Times in Transportation and Delivery scheduling. I reluctant to use recording on SM30 Table maintenance T code and use it in LSMW. Is there a BAPI or Standard i/p Program to load these details. I have more than 200000 records to input.
A list of all BAPI's in Transportation Management module would be great as well.
Regards,
AviHi,
@praveen: I tried the solution provided by you and it worked for me in this context. But it seems this BADI gets triggered every time the delivery is getting saved. So for my test purposes, I'm triggering this BADI in a program, but in actual scenario, the BADI would be called on every sy-ucomm = 'SICH_T' i.e. SAVE. hence, I can't separate my piece of code using this condition.
I'm trying to call my FM(update module in collective run mode) inside this BADI in backgrnd task as a separate unit but this doesn't seem to work.
Any more suggestions?
Thanks
Ashish -
Need name of a function module or BAPI to update the Tax Classification val
Hi Guru's
Need name of a function module or BAPI to update the Tax Classification value for Material master.
Thanks in advance.Hi
U can try to use BAPI_MATERIAL_SAVEREPLICA
Max -
Trying to update OS can't find update in general settings
Friend gifted me his IPAD, trying to update OS, but can't find Software Update in General Settings.
If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1.3. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
iOS 5: Updating your device to iOS 5 or Later
http://support.apple.com/kb/HT4972
How to install iOS 6
http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
iOS: How to update your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT4623
If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily. Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
Cheers, Tom -
How to update Tr code FB02 and update the field reference key1 (bseg-xref
Can any body
help me how to update Tr code fb02
and update the field reference key1 (bseg-xref1) with the interest amount
calculated.
Below i have written My program flow logic
The program should read the open items i.e debit items in the customer account,
Based on the invoice date and customer payment terms calculate the due date and then the interest should be calculated on that item based on the due date.
Use the transaction fb02 and update the field reference key 1 (BSEG-xref1)
with the interest amount calculated
Only consider customers whose interest indicator knb1-vzskz = 'vk'.
Interest is to be calculated for every 30 days
at the rate of 1% .please see example below.
Document date is 01.01.2007
for amount 1000SGD payment term 7 days
It becomes due on 08.01.2007
until 06.02.2007 you should not consider for calculation of interest
SGD on 7.02.2007 run you can consider this item for interest calculationHi Robert,
Thanks for answering.
I am looking at Ref 2 should flow automatically to clearing document from the accounitng document for billing.
Ex: Billing document is created and accounted. Ref 2 is AB
Now when receipt is accounted for this biling document this AB should flow automatically to Ref 2 field.
Thanks
NNS. -
FM'S or BAPI to update the condition records in VB22 transaction
Hi,
I need your help in getting the FM'S or BAPI to update the condition records in sales deal.
The transaction is VB22.
If you can send me a smaple code it will be really helpful.
Regards,
SasiCheck this:
http://www.sapnet.ru/viewtopic.php?p=1644
Bapi for VK11 & VK12
Reddy -
I can't see software update under general in my phone.The version i have is 4.3.3. what do i do
Follow the directions here:
http://support.apple.com/kb/HT4972
iOS 6.1.3 will be installed on your phone. -
BAPI to update Profit Center Group
Hi ,
Is there any BAPI To update PCG ?
Moderator message : Search for available information, duplicate thread locked.
Edited by: Vinod Kumar on Oct 17, 2011 2:19 PMHi
Try This BAPI...
BAPI_PROFITCENTER_CHANGE
Regards
Ajit -
BAPI to update data in KNA1 and ADR* tables
Hi,
I have to change customer data via BAPI.
I'm searching for a BAPI that updates KNA1 and ADR* tables.
(so that data will be coherent).
I found BAPI_CUSTOMER_CHANGEFROMDATA1 but it seems to only update KNA1
and BAPI_ADDRESSORG_CHANGE that only updates ADR* tables.
Can you help me ?
Thanks,
Sandrine.I came accross such a requirement but couldn't find a single function module.
I think try using both the FM's else BDC is the only option left.
you can use the FM "DEBITOR_BDCDATA" to get the BDC data for vendor and then edit it to add the address fields required.
Maybe you are looking for
-
XML PUBLISHER ERROR :Environment will now switch to UTF-8 code-set.
Hello , I have developed a new XML Publisher report and when I submit request that is coming as Completed Warning Status and the Log file is given Below. When I consulted My DBA , he told me everything is fine and it is problem either in template fil
-
Hey Guys, I have a question concerning the Entry view when you use Transaction Code RMAUTH. I can see my self created Roadmap, but what I try to do is, upload a document (anyhow) which will be shown on the right side directly. There are two folders (
-
My screen has turned green how do I turn it back to normal
my screen has turned green how do I turn it back to normal
-
S.M.A.R.T. FW400 bridge boards vs FW800 bridge boards
I am building a 4 bay case with ATA drives for storage. It will be connected via with FW400 or FW800. I see the FW400 bridgeboards are available as S.M.A.R.T., just like the drive in my computr. I do not see any FW800 S.M.A.R.T. available. How inport
-
Does anybody know how i can use environment variables or command line parameters in OMBPlus if i run a script? Thanks in advance