Default Header DFF value in Line DFF.
Hi,
I am using EBS 12.1.1 and would like to default header DFF value at line level DFF.
Please guide.
Regards,
Hi,
Not for Price unit in RFx but we had a similar requirement in Master Agreements wherein we needed to default the ECC Integration fields within predetermined values. We had achieved this via scripting.
For you purpose, you can use the following:
Scripting Context: Document Lifecycle Event
External ID:SAPINT_LineitemValidate
Class: Rfx Line Item(783)
Script: import com.frictionless.sap.integration.event.RfxLineItemEventHandler
Herein you can specify the Pricing Unit = "1000";
Hope this is of help to you.
Thanks,
Vikram Shukla
Similar Messages
-
Can we Default PRICE UNIT value in Line Item Tab?
Hi Everyone,
As the PRICE UNIT value of MATERIALS is 1 as default.
Can anyone suggest me the way to change this default value say to 1000 so that when next time Material is pulled, new default value also pull automatically.
Thanks in advance
RakeshHi,
Not for Price unit in RFx but we had a similar requirement in Master Agreements wherein we needed to default the ECC Integration fields within predetermined values. We had achieved this via scripting.
For you purpose, you can use the following:
Scripting Context: Document Lifecycle Event
External ID:SAPINT_LineitemValidate
Class: Rfx Line Item(783)
Script: import com.frictionless.sap.integration.event.RfxLineItemEventHandler
Herein you can specify the Pricing Unit = "1000";
Hope this is of help to you.
Thanks,
Vikram Shukla -
Is there any API or Program to Update GL Journal Header DFF Values
Hi All,
Can anyone let me know if we have any API or Program for updating GL Journal Header DFF Values.
Any information will be appreciated..
Thank You
Gt1942DFFs (Attribute1-15) can be updated directly using custom programs. Oracle doesn't provide any APIs to update Attribute1-15.
-
Line item Net value is not coming in Header Net Value
Hi All,
I have four conditions
1) A condition with condition cat.Price this is annual price condition and condition value comes from condition record.
2) B condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes from condition record.
3) C condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine(formula value).
4) D condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes by USER EXIT (this value is basically pervious month condition C Net value) .
5) E condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine (formula is condition C - D and resultant value should come in condition E)
When i am creating sales order for Jan month sales order
condition A , B, C is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header matches.
But When i creating sales order for Feb month sales order header net value
condition A , B, C, D is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header does not match. In net value of header system is considering only Condition value C.
So my query is why system is considering condition C value and why not the Net value of line item.
My PP is as follow:
Step Cond.type From to Man Reg St subtotal Req Caltype Bastype
10 A X 2
20 B X 2
30 C X 2 601
40 D X 2
50 Net value 30 40 X 1
60 E 50 2 25 5
70 Total 60
Please help me where is going wrong.
Thanks & regards
SreeHi Sanjay
Just go to V/06 and check wheather header data has been checked or not. That could be the reason it has not copied to header data
Regards
Srinath -
Extending the Attributes on the Header DFF
We are used the available 20 attributes on the order header dff, please let me know is there any way that we can extend it further.
Thanks,
Srini CVoicemail is a network controlled feature, not a phone feature.
You may be able to adjust it by using the call divert option in the settings menu (see your user guide). If you cannot find that option call your network and they will set it for you.
On most networks the maximum amount of time you can have before the phone diverts to voicemail is 30 seconds. Disabling voicemail may extend it further, again contact your network if you cannot find the setting in the phone. -
Gurus,
I have to write the logic to fetch data from bkpf and bseg. Need help on how can i do that..
I have to get bukrs belnr gjahr ldgrp from BKPF for a given date and company code. For all these documents, then i have to get the line items from BSEG if the ldgrp is I1 or SPACE.
If the ldgrp is not I1 or SPACE then i have to fetch the records from BSEG_ADD and then generate a ALV report with all the data including the data that was fetched from BKPF.
So, it wil be a combined ALV report that displays header as well as LINE item data together...
Can u please help me with the code...I am not sure how can everything go all together in one internal table....Becoz once its there in one table then only a ALV list can be generated.......
Cheers:
Samhi Sam, this may be of some similar thing.
Use this program, I got this prog from a source and we added a small conditional check in the program which checks document numbers in BSEG and also comapres in BKPF and sees if the output from BSEG falls under the posting data range specified in the initial selection.
Now just so you know, this output is kinda messed up, so you will have to play with it in Excel to extract the document numbers, if that is what you want.
============================
PROGRAM....... ZFI_BSEG_DOWNLOAD
TITLE......... Download BSEG
PROGRAM TYPE.. Download
======================================================================
GENERAL DOCUMENTATION AND COMMENTS
<...>
======================================================================
ASSOCIATED PROGRAMS
<Program>..... <Description>
======================================================================
CHANGE HISTORY
Date By Ticket Description
REPORT zfi_bseg_download.
TABLES: bseg, bkpf.
TYPES: BEGIN OF ty_output,
line(6000) TYPE c,
END OF ty_output.
TYPES: ty_tab_output TYPE TABLE OF ty_output,
ty_tab_nametab TYPE TABLE OF x031l.
CONSTANTS: c_delimiter(04) TYPE c VALUE '"%%"',
c_records TYPE i VALUE 10000.
SELECTION-SCREEN
SELECT-OPTIONS: p_bukrs FOR bseg-bukrs,
p_belnr FOR bseg-belnr,
p_buzei FOR bseg-buzei,
p_gjahr FOR bseg-gjahr,
p_budat for bkpf-budat.
SELECTION-SCREEN SKIP.
PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN SKIP.
PARAMETERS: p_append AS CHECKBOX DEFAULT 'X'.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM get_records.
*& Form get_records
FORM get_records.
DATA: l_cursor TYPE cursor,
lt_bseg TYPE TABLE OF bseg,
ls_bseg LIKE LINE OF lt_bseg,
lt_output TYPE ty_tab_output,
ls_output LIKE LINE OF lt_output,
lt_nametab TYPE ty_tab_nametab,
ls_nametab LIKE LINE OF lt_nametab,
l_field(30) TYPE c,
l_output(50) TYPE c,
l_date(10) TYPE c,
l_len TYPE i.
FIELD-SYMBOLS: <field>.
IF p_append NE space.
OPEN DATASET p_file FOR APPENDING IN TEXT MODE.
ELSE.
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE.
ENDIF.
Retrieve BSEF fieldnames and data types
PERFORM get_fields CHANGING lt_nametab.
OPEN CURSOR l_cursor FOR
SELECT * FROM bseg
WHERE bukrs IN p_bukrs
AND belnr IN p_belnr
AND buzei IN p_buzei
AND gjahr IN p_gjahr.
Write out fieldnames
IF p_append IS INITIAL.
LOOP AT lt_nametab INTO ls_nametab.
CONCATENATE ls_output ls_nametab-fieldname
INTO ls_output SEPARATED BY c_delimiter.
ENDLOOP.
IF ls_output+0(4) = c_delimiter.
SHIFT ls_output LEFT BY 4 PLACES.
ENDIF.
l_len = strlen( ls_output ).
TRANSFER ls_output TO p_file LENGTH l_len.
ENDIF.
Process BSEG records
DO.
CLEAR lt_bseg.
FETCH NEXT CURSOR l_cursor
INTO TABLE lt_bseg
PACKAGE SIZE c_records.
IF sy-subrc 0.
EXIT.
ENDIF.
LOOP AT lt_bseg INTO ls_bseg.
SELECT single * FROM BKPF
WHERE BUKRS = ls_bseg-BUKRS
AND BELNR = ls_bseg-BELNR
AND GJAHR = ls_bseg-GJAHR
AND BUDAT in p_budat.
if syst-subrc 0.
continue.
endif.
CLEAR ls_output.
Process individual fields of BSEG record
LOOP AT lt_nametab INTO ls_nametab.
CONCATENATE 'LS_BSEG-' ls_nametab-fieldname INTO l_field.
ASSIGN (l_field) TO <field>.
CLEAR l_output.
Process by field data types
CASE ls_nametab-exid.
WHEN 'C' OR 'N' OR 'I'.
Character, Numeric & Integer
l_output = <field>.
WHEN 'D'.
Dates
WRITE <field> TO l_date DD/MM/YYYY.
l_output = l_date.
WHEN 'P'.
Packed decimals
WRITE <field> TO l_output.
WHEN OTHERS.
MESSAGE a000(zs) WITH 'Data type error - ' ls_nametab-exid.
ENDCASE.
SHIFT l_output LEFT DELETING LEADING space.
CONCATENATE ls_output l_output
INTO ls_output SEPARATED BY c_delimiter.
ENDLOOP.
IF ls_output+0(4) = c_delimiter.
SHIFT ls_output LEFT BY 4 PLACES.
ENDIF.
l_len = strlen( ls_output ).
TRANSFER ls_output TO p_file LENGTH l_len.
ENDLOOP.
IF sy-subrc = 0.
ENDIF.
ENDDO.
CLOSE CURSOR l_cursor.
CLOSE DATASET p_file.
ENDFORM. " get_records
*& Form get_fields
FORM get_fields CHANGING pt_nametab TYPE ty_tab_nametab.
CALL FUNCTION 'RFC_GET_NAMETAB'
EXPORTING
tabname = 'BSEG'
TABLES
nametab = pt_nametab
EXCEPTIONS
table_not_active = 1
OTHERS = 2.
IF sy-subrc 0.
ENDIF.
ENDFORM. " get_fields
hope this helps.
cheers,
Hema. -
Free goods by header net value not Quantity
Regards
My client wants to make a sales promotions as the free goods SD. The difference is that free goods should not be given by the bought quantity of certain material, they should be given from the header net value of an order.
For example:
If a customer have an order with header net value of 100$ from only materials that has certain material pricin group, it should receive one free good.( All the materials in the order have the same material pricing group)
If a customer have an order with header net value of 200$ from only materials that has certain material pricin group, it should receive two free goods.
If there are ways to make this happen please let me know i would really appreciate it.
Thanks
Edited by: Ronald Caroli on Feb 13, 2008 9:13 PMHi ronald,
The userexit option is very tough to do.
You are using a right userexit, but how are you coding it? Whats your design and flow?
The BDC are programmable recordings of a standard transaction. Hence you will be able to record the way in which you add a line item to sales order. Ths recording is automatically converted into lines of code by SAP. Then you insert your checks and balances between these lines of code to make it behave the way you want the sequence of transactions to work.
My thought was to make a recording of adding a new line item, in change sales order transaction(va02), with item category as Free of Charge(FOC). Then in the code, I wanted to check for material pricing group, if found correct, then would go finding the net value of sales document. If the value is above the limit, calculate the target quantity. Then follow the rest of the recording and add a new line with FOC as item category.
But this was a seperate transaction, which could be applied seperately and not to be done automatically in sales order. This was becuase say if you switch off the promotion tomorrow, then you will not have to worry abt removing the same functionality from sales order, you just need to de-activate the transaction.
Then there would be issues of doing hardcoding the net value limits, free good quantity in the user exit which is not at all recommended.
Hope this helps.
Abhishek -
HELP! empty option value on line 19 of configuration file
We have been attacked by spammers again at our server. As a result, only the Outgoing SMTP service is on in the SA-Mail-Overview tab, although in the Settings-General tab POP, IMAP and SMTP are enabled.
In the POP and IMAP logs, it shows "empty option value on line 19 of configuration file". Does it refer to main.cf? Line 19 in main.cf has no parameters to be specified...
Also, I find very weird that if I use postfix stop, then it stops but suddenly starts again. Can it be the mail queue manager? I'm starting to think someone has hacked our server.
I only have angry clients now with no connection. Any help will be greatly appreciated. Here goes our postconf.
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
disablevrfycommand = yes
enableserveroptions = yes
html_directory = no
inet_interfaces = all
localrecipientmaps = proxy:unix:passwd.byname $alias_maps
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
messagesizelimit = 0
mydestination = $myhostname,localhost.$mydomain,localhost
mydomain = i-publishingservices.com
mydomain_fallback = localhost
myhostname = mail.i-publishingservices.com
mynetworks = 127.0.0.1/32,192.168.1.100/32,192.168.2.60/32,ono.com,speed.planet.nl,nordpro.e s,ebensa.com,grupoevensa.com,edutickers.com,i-catcher-online.com,i-publishingser vices.com
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks rejectrblclient sbl-xbl.spamhaus.org permit
smtpddatarestrictions = permit_mynetworks, rejectunauthpipelining, permit
smtpdhelorequired = yes
smtpdhelorestrictions = permitsaslauthenticated, permit_mynetworks, checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname, rejectinvalidhostname, permit
smtpdpw_server_securityoptions = cram-md5,login,plain
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdsenderrestrictions = permitsaslauthenticated, permit_mynetworks, rejectnon_fqdnsender, permit
smtpdtls_certfile = /etc/certificates/Default.crt
smtpdtls_keyfile = /etc/certificates/Default.key
smtpduse_pwserver = yes
smtpdusetls = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains = hash:/etc/postfix/virtual_domains
virtual_transport = lmtp:unix:/var/imap/socket/lmtpMoreover, I found this on the system.log:
Jan 22 21:08:23 ALICANTE launchd: edu.cmu.andrew.cyrus.master: exited with exit code: 75
Jan 22 21:08:23 ALICANTE launchd: edu.cmu.andrew.cyrus.master: respawning too quickly! throttling
Jan 22 21:08:23 ALICANTE launchd: edu.cmu.andrew.cyrus.master: 7 more failures without living at least 60 seconds will cause job removal
Jan 22 21:08:23 ALICANTE launchd: edu.cmu.andrew.cyrus.master: will restart in 10 seconds
Jan 22 21:09:33 ALICANTE master[15363]: exiting
Jan 22 21:09:33 ALICANTE launchd: edu.cmu.andrew.cyrus.master: exited with exit code: 75
Jan 22 21:09:33 ALICANTE launchd: edu.cmu.andrew.cyrus.master: respawning too quickly! throttling
Jan 22 21:09:33 ALICANTE launchd: edu.cmu.andrew.cyrus.master: too many failures in succession
I don't know who this user is!!!!!!! Is this the spammer? -
Header condition value is changing in Invoice compare to Sales Order
Hi,
I have created one Sales Order with five line items and total quantity is 100 units. I have one header condition type and the value is 1000 USD in Sales Order.
Now I have created delivery and changed the quantity from 100 units to 105 units..
And than I have created Invoice. If i check the Header condition type value now it it 1100 USD instead of 1000USD(header condition type value should be the same as in Sales Order)
Can anyone suggest me why the header condition value is changing in Invoice where as it should be as same as in Order?
Thank you for your support
Best Regards
AmjathpashaHi Amjad,
You might check in copy controls for the Pricing type if the prices are getting re-determined at the time of billing.
Although, if it is, the value should have been 1050 USD and not 1100 USD.
As you know item condiitons for all the items are added up to the header, you might want to analyze item conditions as well.
Also, since you are delivering 105 units instead of 100, do you still want the system to charge for 100 units? Or is it something related to under-delivery/over-delivery tolerance?
Regards,
Amit -
How to change default Current Flag values for SCD2?
I'd be curious to find out how to change default Current Flag values for SCD2 (instead of 0/1 to use N/Y)
Probably I can change IKM module .... is there another way?
ThanksHi,
You need change the IKM. This values are hardcode in the IKM.
You can create a new IKM and the values used are a options of the IKM.
Regards
Edited by: Uthred on May 18, 2009 4:27 PM -
Default Header text comes in PO at the time of creation
Hi Friends,
my problem is that a default Header text must come on the PO based on the user or purchasing group at the time Creation (In Transaction ME21N).
Is there any user exits or badi for it. I have already searched for them but i have not got any thing. Please help me.
Thanks for ur valuable answersyes i know that through copy control we can get default text but it is item level text instead of the header text.and other thing it does not depend on the user or purchasing group. I default header text that is populated imediately when user call ME21N. So is there any BADI or user exit for that.Please reply.
Thanks for ur reply and valuable answers
null -
How to get a Header UDF value in a FMS ?
Hi !
How is it possible to get a Header UDF value from a Formatted Search in a header ? If we don't want to create as many FMS as there are marketing documents in the system, how is it possible ? Can we have a syntax like the following ?
SELECT T0.OnHand
FROM OITW T0
WHERE T0.ItemCode=$[$38.1.0]
AND T0.WhsCode=$[$U_Nwr_WH.0.1]
Thanks,
LuceHi Gordon,
oh, I'm sorry, I did a mistake...
In fact, my question is "How can we get a header UDF value in any FMS without specifying the table name?" !!!!!
Can we access it through specific syntax like $ and [ ?
thanks,
Luce -
How to clear a default condition / parameter value in a Discoverer Viewer ?
Hi there,
Appreciate if anyone can help with what I am trying to do below in Discoverer10g:-
1. In Desktop we created a workbook with a parameter and we set the default value of the parameter as '%%'. This is so that all values are selected for that parameter unless the user over-writes it by picking values from the LOV.
2. When we run the workbook in Desktop, and pick a value out of a LOV, the system automatically remove the '%%' and substituted with the values picked from the LOV. This is working well.
3. However, when we published the workbook to our Disco Viewer users, on the parameter screen, when a user picks values out of the LOV, the system DOES NOT remove the '%%' automatically, and appends the picked values to the list. Of course this makes the report select all values for that parameter.
4. To resolve the problem, the Viewer user has to manually remove the default '%%' before picking values out of the LOV. Often they forget to do that and trust the value reported on the worksheet.
5. We believe some sort of a "REPLACE '%' with BLANK" function on clicking the "Move" button will remove the '%%' values when we pick values from LOV in the parameter screen. But we do not know how to do this.
If anyone has successfully done the above and share his experience, that will be much appreciated.
Thank you.Hi there,
Thanks for your feedback.
Our workbooks mostly have muitii-item parameters where the users can pick more than one value.
I have created a test workbook in Desktop with a mutil-value parameter. After picking up multiple values from the LOV, the '%%' default automatically get sover-written.
I shared this same workbook to a Viewer user.
In Viewer, after picking multiple values from the left window and clicking the [Move] button, the '%%' value stays. Wonder if anything can be done to remove the '%%' in Viewer after the user has picked a value and the [Move] button is clicked.
Further help / comments appreciated.
Thanks again for your help.
Regards -
Difference between a Journal header and a journal line
Hi,
Can anyone please explain the difference between a Journal header and a journal line ? Can we have different journal headers for the same journal import process?
Thanks and regards,Not sure if I know what you mean, but...
You can organise your journals by using journal headers. A batch can contain many Headers. Like this:
Batch No 1
- Journal Header 1
- Line 1 Deb: 200$
- Line 2 Cre: 100$
- Line 3 Cre: 100$
- Journal Header 2
- Line 1 Deb: 100$
- Line 2 Cre: 100$When you run Journal Import, you run for a specific source. So Yes you can have different journal headers for the same import process (if you mean import from GL Interface).
Does this clearify?
Botzy -
How to set default bind variable value to task parameter value
Hi,
I 'm implementing a BPEL process with a human task, and I autogenerate the task form. I have a custom sql table that stores opinions, different processes should show different opinios, so my ADF table can only show records related to that process. A custom process number is sent to the task form as a task parameter. How do I use that value as the bind variable default and only value?
Thanks,
I.D.Hi Shay and thanks for your reply,
What I want is what you have but without the login page. I tried to start my flow with an action and for some reason it didn't work.
Is there anything else you can tell me?
Thanks,
I.D.
P.S. I was able to get it to work using the aproach Frank Nimphius described in another post.
Re: How do I prepopulate a bind variable from a session variable?
Anyway just out of curiosity could you please tell me if I could have done it your way?
Thanks a lot,
I.D.
Edited by: user8696770 on 5/Ago/2009 7:12
Maybe you are looking for
-
I've had my FIOS about 2 months, put new batteries in remote and it is still not working right. Some things work fine. Other things stopped working - can't delete a DVR show, can't change channels with one digit, but it will if I add all 4 digits,
-
How to customize top navigation css in SharePoint 2013?
Hi All, How to customize top navigation css in SharePoint 2013?(Want to add colors for each link in the navigation) My current page is like- Expected-
-
How to sync two ipods on same pc
My husband and I both have an iPod Touch. We are using the same computer, and set up separate email accounts on each touch. However, when syncing both of our contact lists sync on both iPods. We are both using a Yahoo email acct. If I delete his cont
-
Third Party : Sales order Header text should copy to PO Header text
Hi, I need to copy sales order header text to PO Header text in the third Party sales order scenario. Can anybody suggest how to do it. Thanx in advance. Regards, RRS.
-
Help with migrating from PPC G5 to MacBook Pro 2012
I haven't even booted up my new MacBook Pro, because a lot of postings in Discussions and elsewhere warn me of problems if I try to use Migration Assistant to bring my user data and files across from a PPC Mac to a new MacBook Pro running Lion. BORIN