How to add the distribution rule at AR Invoice in SAP 2007B PL10
Hi All,
I want to add the default distribution rules of each item at marketing documents via DI API when item's warehouse changed? Now, I'm using the SAP 2007B PL 10.
Any ideas?
Thanks and regards,
Lei
Hi,
When add the Itemcode, default warehouse and costing codes (Profit Center) are automatically asign by SAP.
When change the warehouse for this Itemcode, the costing codes(Profit Center) are disappear. I don't want to disappear the costing codes, that's why I try to resign the default costing codes when the warehouse change.
At SAP 2005, easily access the screen matrix in the marketing document and add the required values in each costing codes columns. But SAP 2007, all costing codes are combined in 1 col and those have the other screen.
Do you have any idea to control the costing codes?
Thanks and regards,
Lei Nandar Myint
Similar Messages
-
How to add the Profit Center (Distribution Rule) at AR Invoice
Hi All,
At SAP 2007 B PL10, Is it possible to assign the Profit Center at AR Invoice Document Line via DI API, because when I changed the Item's warehouse the profit center value is disappeared.
Please give me any suggestion.
Thanks,
LeiHi,
When adding new invoice document, can I call the document & document line object? At SAP 2007B PL10, the profit center field is combined with product group, product family, market, department and service fields
Example : At profit center field will show (G&A; Audio; SG) when Default values of product group is "G&A" , product family is "Audio", market is "SG"
Thanks,
Lei -
How to control the rounding rule at answer?
Hi grus,
I use the BIEE 11.1.1.6.5.
And I create the 2 answers(A and B) with a same column which setting is same column formula and data format(Treat Numbers As "number", Decimal places "2") on column properties.
Then I run the answer A that the value is 3.68( this column's SQL value is 3.675, so this means rounding up the value)
But I run the answer B with same criteria that the value is 3.67(this means truncating the value)
Why do these difference happen?
How to control the rounding rule?
Best Regards,
TakashiHi,
When add the Itemcode, default warehouse and costing codes (Profit Center) are automatically asign by SAP.
When change the warehouse for this Itemcode, the costing codes(Profit Center) are disappear. I don't want to disappear the costing codes, that's why I try to resign the default costing codes when the warehouse change.
At SAP 2005, easily access the screen matrix in the marketing document and add the required values in each costing codes columns. But SAP 2007, all costing codes are combined in 1 col and those have the other screen.
Do you have any idea to control the costing codes?
Thanks and regards,
Lei Nandar Myint -
How to join two distribution rule together in one distribution rule
how to join two distribution rule together in one distribution rule,and every dist. rule has many cost center.
Hi,
Welcome you post on the forum.
You can create a new rule to include these two rules.
Thanks,
Gordon -
How to add the Profit center Group in the PA report KE33.
Hi Frnds,
How to add the Profit center Group in the PA report KE33.Iam not able to find PC group in the list to add to the Charateristics already added.Hi
PC group is not available as a Char in COPA..
if you want to do that, either create a Char Hierarchy in KES3 for the Char Profit Center
OR
Create a WW char in KEa5 and write a derivation rule using the method "Enhancement" .. Write ABAP Code in COPA0001 exit
bt, Ajay M -
How to add the date field in the dso and info cube
Hi all.
I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
Thanks & Regard
KKmy prob is solved
KK -
working in Work order report, this report has different level , for example
0 level transaction
1 level transaction
in subtotal don't want to add 0 level transaction,
when I did the sub total it added all the level , so in sub total amount double up because of that
how to add the expression so I can the level 0 take out from sub total , so it does not include in sub total
can some one please help me with this
thanks in advanceHi Simon_ Hou
I tried the expr the way you suggested , it did not work getting error message, the exp I added is below
this the expression I added on sub total where is highlighted in Yellow, under Cost amount column,
I really appreciate the help
=Sum(IIF(Fields!COLLECTREFLEVEL.Value=
"0",0,Fields!CostAMOUNT.Value),"DataSet1")
please see below my QUERY, can you please help and let me know what I did wrong in my exp
SELECT PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
PRODCALCTRANS.LINENUM
FROM PRODTABLE INNER JOIN
PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID
WHERE (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
(PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) -
How to add the Match code object for the requisitioner field in TCODE ME51N
Hi,
How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
Please do the needful to me.
Regards
Rajeshdon't you think that posting your question to a microsoft developer site would be more efficient?
regards,
anton -
How to add the entries and how to delete the entries from custom Z-table?
Hi Experts,
My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
Here how to add the entries from program to Z-table.???
And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
Could you please guide me the logic how to crack this???
Let me know if you need more Info
Thanks
SanjuHi Sanjana,
What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
*Insert Statement
INSERT dbtab
Syntax
INSERT { {INTO target VALUES source }
| { target FROM source } }.
Effect
The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
System Fields
The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
sy-subrc Meaning
0 At least one row was inserted.
4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
The INSERT statement sets sy-dbcnt to the number of rows inserted.
Note
The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
*Modify Statement
MODIFY dbtab
Syntax
MODIFY target FROM source.
Effect
The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
System fields
The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
sy-subrc Meaning
0 At least one line is inserted or changed.
4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
The MODIFY statement sets sy-dbcnt to the number of processed lines.
Note
The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
Hope it helps...
P.S. Please award points if it helps... -
Hi All,
How to add the property file..ie(default.properties) to a webdynpro project.
I urgently require the solution. Kindly get it for me.
Regards
DKHi DK,
this is described in the second Web Dynpro Java Tutorial
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b1a3e990-0201-0010-aeb2-a2ef5bc3da8e">creating an Extended Web Dynpro Application</a>
Regards, Bertram -
How to add the library of linphone into existing project ?
How to add the library of linphone into existing project ?
How to add the library of linphone into existing project ?
-
How to add the double headings in Alv Report.
Hi All,
Plz suggest me how to add the double headings in ALv Report.
RamHi,
Try out this program....
REPORT ypm_historycard_rep.
TYPE-POOLS : slis.
DATA : it_cbm TYPE STANDARD TABLE OF mara.
DATA : it_layout TYPE STANDARD TABLE OF slis_layout_alv WITH HEADER LINE,
wa_fcat TYPE slis_fieldcat_alv,
it_fcat TYPE slis_t_fieldcat_alv.
START-OF-SELECTION.
SELECT *
FROM mara
INTO CORRESPONDING FIELDS OF TABLE it_cbm
where matnr = 'D80K7'.
END-OF-SELECTION.
it_layout-zebra = 'X'.
it_layout-colwidth_optimize = 'X'.
it_layout-f2code = '&ETA'.
APPEND it_layout.
DEFINE macro4fcat.
wa_fcat-col_pos = &1.
wa_fcat-fieldname = &2.
wa_fcat-tabname = &3.
wa_fcat-seltext_l = &4.
append wa_fcat to it_fcat.
clear wa_fcat.
END-OF-DEFINITION.
macro4fcat '1' 'MATNR' 'IT_CBM' 'MATERIAL NO' .
DESCRIBE TABLE it_cbm.
IF sy-ucomm = '&F03'.
MESSAGE 'hi hello good morning "press enter button" this is quiz' TYPE 'S'.
ENDIF.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'
is_layout = it_layout
it_fieldcat = it_fcat
i_save = 'A'
TABLES
t_outtab = it_cbm
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form html_top_of_page
* text
* -->TOP text
FORM html_top_of_page USING top TYPE REF TO cl_dd_document.
DATA: l_text(255) TYPE c.
DATA: text1(255) TYPE c.
DATA: t_header TYPE REF TO cl_dd_table_element ,
wa_header TYPE REF TO cl_dd_table_area.
CALL METHOD top->add_gap
EXPORTING
width = 10.
CALL METHOD top->add_text
EXPORTING
text = 'hello'
sap_style = 'HEADING'
CALL METHOD top->add_gap
EXPORTING
width = 20.
CALL METHOD top->add_text
EXPORTING
text = 'HOW ARE YOU'
sap_style = 'HEADING'.
CALL METHOD TOP->new_line
* EXPORTING
* repeat =
CALL METHOD top->add_gap
EXPORTING
width = 50.
CALL METHOD top->add_text
EXPORTING
text = '____________________________________________________________'
sap_style = 'HEADING'.
CALL METHOD TOP->new_line
* EXPORTING
* repeat =
CALL METHOD top->add_gap
EXPORTING
width = 90.
CALL METHOD top->add_text
EXPORTING
text = 'YOU CAN TRY LIKE THIS'
sap_style = 'HEADING'.
ENDFORM. "html_top_of_page
Regards
Debarshi -
Itu00B4s possible to change the Distribution rules for a order type RM01 ??
Hi Experts:
I need to change the settlement rule which is automatic created at the moment that you create a Cost colector (class order RM01) transaction KKF6N..
but when I go into KKF6N transaction and I select the "change" option and after that I go into settlement rule screen, I can´t change the distribution rule.
I would need to change the settlement type from "PER" value to "TOT" value.. It´is possible in this kind of Cost colectors??
Thanks and regards!
ManuelHi,
Please note that you will not be able to change manually the settlement rule for a cost collector.
When you save, the system creates a settlement rule for the product cost collector.
The settlement rule for the product cost collector always specifies the distribution rule "100% to material" and the settlement type is always PER (periodic).
Also refer the note 388457 in which one of the paragraph it says "As of Release 4.5, a special settlement rule is generated when you create a product cost collector (with procedure 5: delivery value for product cost collector). You cannot subsequently change this settlement rule".
regards
Waman -
how to add the report for jasper ,i am using jdeveloper tool to create project but how to add the report for the that project please help me
Make the broadcasting setting using BEx Broadcaster and schedule program RSRD_BROADCAST_STARTER in process chain for the required settings.
Regards,
Sree -
How to add the Assignment column on this post outgoing payment in f-53
Hi all,
how to add the Assignment column on this post outgoing payment in f-53?
thanks.
JooHi ,
If you want to see the assignment column in f-53 process open item screen
1. First in O7V3 check for t.code FBz2 which line layout ( 2 digit code is assigned)
2. Then in t.code O7z4s check in the line layout and if assignment field is not there then insert the field.
then check in F-53.
Hopw it will solve your problem.
Assign points if useful
Regards
Prabhat
Maybe you are looking for
-
Hello there, At work I use a Mac Pro (like this one: http://www.everymac.com/systems/apple/mac_pro/specs/mac-pro-quad-core-2.8-2008-s pecs.html)... and I have a very weird problem that is really annoying. I don't have the information (but I can get i
-
Blue screen, computer will not boot up
My computer, when powered up gets stuck on a blue screen and will not boot up. I have restarted & held down the shift button for safe mode & it goes to a white screen with a grey apple icon but will not move past this screen. How do I get the compute
-
TS3694 every time i try to restore my ipod it says "error"
Every time I try to restore my Ipod it says "error"! heeeeelp!!
-
Problem opening a Premiere cs3 project in Premiere cs4
i recently did a clean install on a new machine with adobe premiere cs4 i attempted to open the project in adobe cs4 that i created in adobe cs 3 ( i confirmed that the project isnt corrupted as the same project plays fine on another machine that has
-
I am unable to have the screen change or power off. It's like the screen locked up.Any suggestions?