Conditional Memo Attachments in FDM
Hello,
Problem Description:
I have a situation where it is required to ensure data integrity in data collection procedures in FDM. I have a situation where expenses when exceed 50000 (e.g) than it is mandatory to load supporting details in the form of memo in FDM. if the user forgets to load than the system should through some kind of warning in FDM Validation Check report or some other kind of indication is also accepted.
I want your help, as to how, if ever possible, I could set in such kind of practice into FDM.
Product Versions:
FDM 9.3.3
FDM Adapter FM9x-G4-G
HFM 9.3.3
Your suggestions would be most valuable in this context.
Thanks
Mustafa Tailor
I was just wondering how to do all this!
I know target account to be verified and I would like to make the Validation Step fail. However, how to know whether memo is attached or not?
What is the use of following Enumeration pointed by you and how they could be used?
ActionTypeEnum
ACTION_URL_NAVIGATION = 0
ACTION_CLIENT_SIDE_COMMAND = 1
Also is there any document available on enumerations and its usage?
Thanks a lot for your time.
Edited by: Mustafa Tailor on Jun 10, 2011 12:51 AM
Similar Messages
-
How do I downlaod Gmail attachments with FDM?
1. FDM downloads even if plug-in is disabled. I do not see a way to use the browser's downloader rather than FDM.
2. When downloading a Gmail attachment a "service login" is downloaded and not the doc.
I am not sure why this is happening - at some point it was not and then it was again and then it wasn't - now it is again happening.
I am using the latest update.Hi guigs2,
The link you provided is for attaching files to gmail.
1. I do not have pop-up blocker activated, so I cannot add gmail as an a exception.
2. My problem is not about adding attachments, but about downloading them. -
Help in Purchase order check BADI !
Hi Experts,
I have made some changes in the BBP_DOC_CHECK_BADI for the BUS2201 object implementation whereby I had implemented the changes for checking the attachment details in the Purchase Order. Now here I used the Function Module BBP_PD_PO_GETDETAIL to get the PO details by giving the GUID as iv_doc_guid.
The sample code is below :
CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
EXPORTING
I_GUID = iv_doc_guid
I_WITH_ITEMDATA = 'X'
IMPORTING
ET_ATTACH = gt_attach
TABLES
E_ITEM = gt_item
I have taken the details of attachments which get populated in the structure ET_ATTACH and checked for various conditions in attachments.
I find that if the PO has a change version wherein the previous version did not have any attachments - everything works normally.
But if the previous version of PO had faulty attachments - and the user deletes the attachments in the change version - I find that the function module still takes the active version GUID as input to the PO as a result of which it checks for the faulty attachments and throws error.
Now there are no attachments in the change version of the PO. Can any one tell me whether it is possible to pass the guid -- such that it checks if the same attachments in the active document have been modified in the change version , so that if the faulty attachments in the active version are changed to the correct ones it should not throw an error!!!
Looking forward for your expert comments.
With Regards,
Rajesh RHi
Read this ...
As I told you in my earlier reply ...
<u>ET_ATTACH table uses structure - BBP_PDS_ATT_T . This structure has following fields -></u>
GUID Globally Unique identifier
P_GUID Parent GUID
LOGICAL_SYSTEM Business Document Service: ID of Logical System
CLASSNAME Business Document Service: Class name
CLASSTYPE Business Document Service: Class type
OBJKEY Business Document Service: Object key
DOC_ID Business Document Service: Document ID
DOC_VER_NO Business Document Service: Document version number
DOC_VAR_ID Business Document Service: Document variant ID
DESCRIPTION Attachment Description
URL URL Case-Sensitive
TYPE Procurement Document Attachment Type
INTERNAL_IND Indicator Showing if Attachment is only for Internal Use
DEL_IND Deletion Indicator SRM Purchasing Document
<u>We can use either the DOC_ID / DOC_VER_NO fields to determine the active versions. You need to see in debugging, which all fields get poupulated with values in case of versions in this structure, to code your logic accordingly.</u>
<u>Anyways, please find some sample code for dealing with Active versions.</u>
append lines of et_attach to lt_attachment_versions.
* Due to the fact, that the currently active version is in the
* received phio list and that it is possible, that there are
* several phios with the same version number (check_in) the
* output table has to be additionally prepared.
SORT lt_attachment_versions BY
guid ASCENDING
p_guid ASCENDING
loio_class ASCENDING
phio_version_no ASCENDING
changetime DESCENDING.
lv_version_no = 1.
WHILE lv_version_no < is_attach-phio_version_no.
READ TABLE lt_attachment_versions
INTO ls_attachment_version WITH KEY
guid = is_attach-guid
p_guid = is_attach-p_guid
phio_version_no = lv_version_no
del_ind = space.
IF sy-subrc EQ 0.
APPEND ls_attachment_version TO et_attach_versions.
ENDIF.
lv_version_no = lv_version_no + 1.
ENDWHILE.
DELETE et_attach_versions WHERE NOT del_ind IS INITIAL.
<u>Other links which might help.</u>
<b>http://help.sap.com/saphelp_srm50/helpdata/en/46/882fdd8bfc1743bd5ef8b532f94402/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/a7/81b463611c124d8c9d2c5bd8d17b34/content.htm</b>
Hope this will help.
Regards
- Atul -
Sample-and-hold vi for USB-6251
I want to implement a sample-and-hold circuit on my USB-6251 device.
The input will be an analog voltage waveform. The output will be that same analog voltage waveform (this is the "sampling" in the sample and hold), with one caveat: I want to hold the output at a certain level depending upon a digital input (ttl 5V hi or 0V low). For example, when the digital input cycles hi, I want to take the value of the analog output at that point in time, and continue to output that voltage value until the digital input cycles back low (the "hold" in the sample and hold), at which point the output continues outputing the incoming analog voltage waveform.
I think I should be able to create such a VI using a comparison function, but I cannot quite figure out how to implement it. Any suggestions?
thanks!I would imagine this could be accomplished with the use of a simple true false selector. In the false case the waveform coming from the Analog Read would be passed on and also into a shift register on the right side of the reading while loop. This shift register would then also be the true case of the selector. There would then be a producer consumer style structure where this output array would be fed into a DAQmx write.
Doug Farrell
Product Manager - Condition Monitoring
National Instruments
National Instruments Condition Monitoring
Attachments:
2009-03-20_135919.png 4 KB -
Save triggered data from 2 modules
I am using SignalExpress (3.0) with USB cDAQ-9172, a NI9203 current and NI9201 voltage module. After Acquiring data (continuously), I am using a software trigger on the 9203 current signal to analyze and save the triggered data (collected from all 8 channels on 9203). However, I am not able to save the data from 9201 voltage module? It looks like the software trigger only accepts a single module input (I think). As shown in the attachment "trigger Input.jpg" I can only select 1 module as the input for the software trigger (either the current module or the voltage module)
Is there any way to trigger on a single channel and then save data from both modules?
Thanks!
Ryan
Solved!
Go to Solution.
Attachments:
trigger Input.JPG 32 KB
Step setup.JPG 51 KBHey Ryan!
You can actually do all of this in one DAQmx Acquire step. There is a tab in the Acquire step where you can specify your triggering. Then there is a recording options tab up at the top where you can choose to save your data when the logging starts to a TDMS file that can be read in excel.
Doug Farrell
Product Manager - Condition Monitoring
National Instruments
National Instruments Condition Monitoring
Attachments:
sigex.png 21 KB -
Frequency measurement keep reading value when stop rotation
Hi,
i am doing the program in the attachment
in this program i am using ni9401 and cDAQ 9188 to measure frequency from motor driver
but i am facing some problems
1. the reading sometimes different than osciliscpe.
2. when i stop the motor the program still read values and not going to zero |
Note my driver send the feed back as a signal"Pulses" with difference frequencies depend on my speed . i send digital values to the driver pins 111 to make it rotrate forward and 100 to make it stop rotating + analog value to change the speed
can i have help in that ?
thanks
Attachments:
speed calibration.vi 161 KBAs I understand this you are trying to read the frequency of an quad encoder and the reading is fine as long as the quad encoder is at a steady speed but when it is changing speed you are getting random frequency values. I looked at your code and nothing seemed to jump out at me as being wrong with it but I do have a couple suggestions to see if we can narrow down where the issue may lie.
If you could just try running on of the examples found in the example finder (Help»Find Examples...) specifically example Hardware Input and Output»DAQmx»Counter Measurements»Digital Frequency»Meas Dig Frequency-Buffered-Cont-High Freq 2 Ctr.vi. And just wire the output to a waveform chart or a dial and see if you are seeing the same results there. If that is giving expected results i would just implement your formula node and averaging into that example and save it as your code. I have attached an image of such an implementation.
Doug Farrell
Product Manager - Condition Monitoring
National Instruments
National Instruments Condition Monitoring
Attachments:
example code.png 44 KB -
Change condition value in debit memo and credit memo
Hi Experts,
When I am trying to create Credit Memo/Debit memo I could able to change the condition value for which condition type the value is there in Sales Order, but where as for other condition types it is not changeable.
For example for Freight the Condition type is ZFRE, value is 100 rs in sales order 90000001.
If I create credit memo with reference to sales order I can able to change freight value from rs100 to rs 75.
But what to do If I do not maintain freight value initially in sales order and if I want to adjust freight value ZFRE as rs 60 in credit memo. Presently I could not able to enter values in C/D Memo.
Hope my question is clear to you all.
Thanks & Regards
NareshHi Naresh
If I understand correctly, then you want to include the freight amount automatically in the Credit memo which was not featuring in the Credit memo request.
If it is so, then first see which is Pricing procedure working for your Credit memo Request.
In the Pricing Procedure, check the freight condition type (e,g. KF00).
See the what is Acees sequence assigned to it and in the Access sequence what are table assigned.
In condition type KF00, Access sequence assigned is KF00 and two condition tables "Incoterm" and "Incoterm Part1 + Part2" are assigned to it.
In the Access sequnce of your Freight condition type , add another/new condition table "350" (Sales organisation). This table is already available in standard system.
Select the new condition table row, and click on the "Field" in the dialog box till the technical names are opened up / shown inspite of warning.
Once the technical names of the fields are shown , you can see the green light there, then save it.
Now, create a condition record (VK11) for your Freight condition (e,g. KF00) by choosing the "Sales organisation" level from the key combination.
Then go to the Copy control (VTFA), find the combination "G2 from CR "> go to Item level > select item category G2N and go to details.
Here, you change the "Pricing type" value to " H " and save it.
Now, when you will create a Credit memo with reference to the Credit memo request, the new Freight condition (KF00) will come into effect in the Credit memo, even if ,it was not there in the reference document. -
How can I delete a condition type or the price in the debit memo
Hi Friends,
please help me
I have a query regarding raising a debit memo in SAP 4.7 (transaction VA01)
I have to charge a company Euro 2112.70 and I don't want to add any VAT on it. The customer is a one-off third party customer code and the material is Sundry Sales. After I enter the price condition ZP00 for Euro 2112.70 the system adds 17.5% VAT on top of this. How could I delete the VAT element or change it to zero?
RajSo you need to charge a customer without VAT tax.
As there are many ways to do that, including the so no recommended procedure of deleting the tax condition, you firsy have to analyse why the company want to do that.
If its specifically to that customer, you can manage that via TAX determination for that customer. (From customer master).
As I'm not good at TAX conditions, I recomend you to check that on SAP help.
One I was required to do something like that. In last instance you can add in your pricing procedure one new condition in a sequence "bellow" of your MWST condition.
I hope i could help you...
Best regards,
demas -
Create Credit Memo referenced to Billing Document - Condition Types
Hello,
I need help on this particular situation, your help would be greatly appriciated.
I try to create a Credit Memo(VA01) with reference to the Billing Document, but I don't want to see on my Credit Memo a particular Condition Type from the Billing Document. Configuration solution or ABAP solution? and how?
What the system does now is, it copies all the Condition Types from the Billing Document to the newly created Credit Memo.
Thank you allHi,
Create a new pricing procedure without the condition type you donot wish to appear in the credit note. create/ use a different document pricing procedure for the credit note, do the required assignments.. this will meet the requirements
Regards,
Ajit -
Debit memo Condition record exists (removed manually) MWBO Italy
Currently I am working on an Italian pricing issue.
Pricing V/08
Cond Description Fr. To. P Req. Calc. BasT.
LCIT VAT license Italy 900 S 33 37
MWST Output Tax S 10 904
BOLL Bollo in Fattura 900 S 903 26
MWBO Opt.tax Bollo in Fat 924 S 924 903 26
The requirments, calculation type and are all based on SAP notes regarding the LCIT, BOLL. eg. 715399 and 593672
The main requirement here is that 924 is only to activate the MWBO condition in the invoice.
This means that for a normal order (TAN) item the LCIT, MWST and BOLL is shown. If we create a delivery - invoice, the pricing in the invoice shows LCIT, MWST, BOLL and MWBO. This is correct. MWBO is a tax condition.
But if we create a debit memo request the behavior is different and would appreciate some insight.
Debit memo request created, LCIT, MWST and BOLL is shown (as expected). MWBO not shown due to requirement, that's correct.
But when I create a debit memo from this one, the LCIT, MWST, BOLL are shown. If I go into the pricing analysis then I see that the condition record for MWBO has been found but with message: Condition record exists (removed manually). Saving the document does not trigger it afterwards.
I have looked on OSS (example note 859876) to determine the cause of not triggering it.
We are not using the user exits for these conditons in example: user_exit_pricing_prepare_tkomp, user_exit_pricing_prepare_tkomk, mv45afzz or rv60afzz.
The standard copy control of L2N to the invoice is set to D. If I change this for example to G (copy unchanged, redetermine taxes), then it works. But not sure if this causes disturbtion of the regular behavior of the L2N.
In best case I would only do the G pricing type for the MWBO condition so I do not disturb the existing process. Any suggestions? I know there is RV61AFZA for manipulating the pricing type (in case you want to have user defined pricing type eg. Y). But this can not be handled per condition type, or is that possible?Routine 924 is a altered routine provided by SAP to suppress the condition in the order - not in the invoice.
http://service.sap.com/sap/support/notes/715399
quote:
"In this case, the bollo should only be reported on billing documents, not on the
order. However, pricing condition '24' delivered in the standard system
only partially covers this requirement."
The issue here is that it is triggered with normal order - delivery - invoice. But not with credit memo, it gives message that condition is removed manually. The L2N item category is set to D (copy pricing elements unchanged). When changing it to G (copy pricing elements unchanged - redetermine taxes), it works. But that has an effect on all standard usage of the L2N and I only want to actually fix it for that condition type. -
Add Non-rebate Condition Types to Rebate Credit Memo
Hi guys,
I have a requirement as follows. The client wants to make some deductions from their customers rebate settlement credit memo as follows:
Customer's sales volume = 52,000,000.00
Rebate value due is 5% = 2,600,000.00
DEDUCTIONS
10% Withholding tax due on Rebate value = 260,000.00
Management fee of 0.75% of turnover = 390,000
5% Vat on Management Fees = 19,500.00
* Payable to the Customer = 1,930,500.00 (This is the value to be credited to the customer's account).
I don't have a problem with the withholding tax. However, for the other deductions the issues I have are as follows:
1. Condition types that are not rebates or taxes do not show on the the rebate credit memo B1. The analysis says that they have been manually removed. How do I get it to show?
2. Output tax (MWST) is always added in the invoice, however in this case the customer wants the output tax to be deducted. Can this be done?
Thanks for your help
Regards,
OlufisayoHello Swati,
the suggestion of JP is correct.
I explain it better.
- the document type of FI document created from SD depends on the customizing of billing type field TVFK-BLART. If it is blank, then by default is 'RV'.
- if the number range assigned to the account document type is External, then the FI document gets the same number of the SD invoice.
- transaction VBOF creates FI document referred to SD invoice. If it has external number range, and an FI document already exist with same number (created when SD invoice has been released to accounting), then the errof F5152 occurs.
SOLUTION:
in the selection screen of VBOF there is the field FI-Doc-type. Here you should specify the FI document type that should be created by execution of VBOF, and of course it must have number range internal.
Please try this.
Best regards,
Ivano. -
Credit memo reqst picking new condition record
Hi Experts,
Recently we changed the VAT record from 17% to 20 %
When we create a credit memo reqst with reference to an Invoice, system is picking the VAT record as 20% instead of 17% in the invoice.
Even though I maintained the Pricing type in copy control from invoice to credit memo reqst as "D- Copy Princing Elements unchanged ", system is still picking the new vat record of 20% only.
Any inputs to resolve this would be apprreciated.
Thanks in advanceHi,
please try with pricing type A or E ?
FYI this is from SAP OSS note:
'A' (Copy price components and redetermine scales):
No condition types are redetermined. Only the scaled prices are adapted due to a changed basis.
'D' (Copy pricing elements unchanged):
As in pricing type 'A' but the prices are fixed (no scales are read). Condition base value and value are redetermined.
'E' (Adopt price components and fix values):
As in pricing type 'D' but neither condition base value nor value are redetermined.
For more details refer to oss note: SAP Note 24832 - Pricing rules / TVCPF
Regards
Raghu. -
BDC : creating Billing frm Dr/Cr Memo - Problem in deletion of conditions
Dear Gurus,
I am facing a problem when I try to develop a BDC for creating a Billing document from a Debit/Credit Memo Sales Order.
The requirement is to delete some condition when creating billing from debit note for Depot plant.
The problem I am facing is in time of deleting the condition , as I am not able to move the lines of table control in Pricing tab up or down.
the ok_code = /00 is not working and I have tried all p+,p- for that.
My logic is to bring the CONDITION that should be deleted at top position of the table control. but as I am not able to move the scroll bar , I got stuck there.
So any solution of that available or any alternative is available for the requirement ???
Thanks
ShibashisV1 498 - Credit already exist for item...
What the above message means is that lines items have already been used as reference for the creation of credit memo request(s).
Create a new sales order, delivery and billing document. Then create credit memo request with reference to this new billing document and test.
In VTAF copy control, at item level, field "Pos./neg. quantity" dictates how the quantity in the source document is affected by copy control.
PS - I tried to create credit memo with reference to billing document (F2), there were no issues there. Therefore I am taking that the issue is with credit memo request (copied with ref to billing document F2) -
Dear All,
We need to create a Debit memo (L2) against Regular Billing Doc.(F2).
Billing Doc F2 contains many condition types, from there we need to create Debit memo for the value of condition type (ZCT).
Pl. help us.
Regards,
SarranHi Dayananda Murthy,
Thanks for your reply.
We have the following condition type in our Billing.
Base Price--ZBP
3500.00
CST 2%----ZCST
70.00
Diff CST----ZCE
437.00
Here we need a Debit memo for the value (437.00) of Condition type: Diff CST----ZCE,
this condition is statistics condition in Billing doc. How to create debit request for the same.
Pl. help us.
Regards,
Sarran -
FDM 11.1.2.1 Mapping Issue Conditional Mapping Error
I am configuring the newly installed FDM 11.1.2.1 and have and issue with the conditional account mapping where I have "varValues(9)" and it comes with this error. I have taken the script from our current FDM 9.3 versionm where it did worked, but in FDM 11.1.2.1 it will no go through.
Is the script not correct ? Or is this new version different somewhere ?
Thanks,
Henri
Error message
** Begin FDM Runtime Error Log Entry [2011-10-05 16:25:41] **
ERROR:
Code............................................. 13
Description...................................... Conditional Map Script Error: Type mismatch at line(1)
Script:
If varValues(9) = 0 Then Result = "5821.11.060" Else Result = "5821.11.060" End If
Rule=w98x
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 5000
IDENTIFICATION:
User............................................. <withheld>
Computer Name.................................... <withheld>
App Name......................................... <withheld>
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... <withheld>
Database Name.................................... <withheld>
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... <withheld>
Location ID...................................... 750
Location Seg..................................... 4
Category......................................... Actuals - PP
Category ID...................................... 13
Period........................................... Sep - 2011
Period ID........................................ 9/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... FalseCast the value of varValues(9) as a Double and do the same for the 0 i.e. CDbl(varValues(9)) = CDbl(0). Also verify that the value passed in varValues(9) is actually a number and does not contain non-numeric characters or is blank
Maybe you are looking for
-
Ok heres the issue. I have a Power Mac G5 with graphics card that has one DVI port and one ADC port. I am trying to hook up dual monitors. Now after the apple store told me to buy a 30 dollar adaptor that converts a ADC to DVI-D, i then realized i ne
-
Dought regarding Function module
Hi , I have small dought regarding fm.... since Read_text is a function module can it be changed to RFC , since i need to retrive data from sap to informatica . since some of the long text are also need to retrived to a non sap system . if i c
-
404 error OA_HTML/AppsLogin not found on fresh clone Pls Help
Hi, running R12 on solaris SPARC 64bits on 10.2.0.3 DB. Finished rapid clone and completed without errors. All services are up and running but login pages saying not found. This is strange can you all please help me out been battling with it for days
-
Forgot start code on Iphone 4s, forgot password. How do I get up and running ?
Gave my young son my old 4's phone, he has been able to lock himself out by forgetting code and has forgotten his email password. Is there a way I can restore from I cloud my old setting ?o
-
Combining 2 Queries in a workbook .
Hello Guys, I have 2 separate queries coming from different infoproviders - one from COPA and one from FIGL. The end user wants to combine these 2 queries to one. How to do it.Can we do it in the workbook . The other option is creating a multi provi