Basic+ED +Frieght on this total VAT to be calculated
Hi All
My procedure has to calculate VAT on Frieght.
(BasicEDFRT) on this VAT.
But in MM, Basic price is coming from Pricing procedure and (ED+VAT) is coming from TAXINN,
how can i include Frieght before VAT.
Can any one tell me the Procedure
Regards
M.S.K
Hi,
"TAXINN Condition Types are embedded and interlinked with MM Pricing Procedure"
Therefore, you have to define your Excise Conditions (Excise Duty, Cess, Higher Education Cess so on) in MM Pricing Procedure too.
Go through SAP Best Practice - J81 u2013 Procurement of Stock Materials - Building Block Configuration Guide for more details.
Bye,
Muralidhara
Similar Messages
-
After I have deleted a file from my iphone, it still shows the song with a download button? Is there a way to get rid of this totally, so it doesn't show at all?
The banner usually indicates that the memo is "Paused." If you go back into voice memos, touch the word "Done" beside the big red pause button, give it a name, then it will show in a list. Touch the memo in the list then touch the trash can icon that should appear.
-
Basic: No certificate info, this is unsigned JAR file.
A log can be found below with the results while running my application. The loader just can't seem to find the Httpclient on the server or something to that extent. All searches made per this error message on the Internet have failed to yield any results that would afford me a solution to my problem. Any assistance that you can afford to me would be greatly appreciated! Thank you very much! Eric.
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1bca5f1, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@6f7ce9
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Preloading file all-client-jars.jar
basic: Loading http://172.21.165.19:7582/Paragon/all-client-jars.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file spring-client.jar
basic: Loading http://172.21.165.19:7582/Paragon/spring-client.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file J2TablePrinter.jar
basic: Loading http://172.21.165.19:7582/Paragon/J2TablePrinter.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file Quartz.jar
basic: Loading http://172.21.165.19:7582/Paragon/Quartz.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file jhall.jarNetwork Calls Increases please help
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1bca5f1, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@6f7ce9
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Preloading file all-client-jars.jar
basic: Loading http://172.21.165.19:7582/Paragon/all-client-jars.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file spring-client.jar
basic: Loading http://172.21.165.19:7582/Paragon/spring-client.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file J2TablePrinter.jar
basic: Loading http://172.21.165.19:7582/Paragon/J2TablePrinter.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file Quartz.jar
basic: Loading http://172.21.165.19:7582/Paragon/Quartz.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file jhall.jar
basic: Loading http://172.21.165.19:7582/Paragon/jhall.jar from cache
basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for http://172.21.165.19:7582/Paragon/jhall.jar is read from JAR cache
network: Preloading file jnet.jar
basic: Loading http://172.21.165.19:7582/Paragon/jnet.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file jsse.jar
basic: Loading http://172.21.165.19:7582/Paragon/jsse.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file QzCPExtn.jar
basic: Loading http://172.21.165.19:7582/Paragon/QzCPExtn.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file QzPLMExtn.jar
basic: Loading http://172.21.165.19:7582/Paragon/QzPLMExtn.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file QzQZExtn.jar
basic: Loading http://172.21.165.19:7582/Paragon/QzQZExtn.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file QzRPExtn.jar
basic: Loading http://172.21.165.19:7582/Paragon/QzRPExtn.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file QzCADExtn.jar
basic: Loading http://172.21.165.19:7582/Paragon/QzCADExtn.jar from cache
basic: No certificate info, this is unsigned JAR file.
QzRP.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file QzTP.jar
basic: Loading http://172.21.165.19:7582/Paragon/QzTP.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file QzCB.jar
basic: Loading http://172.21.165.19:7582/Paragon/QzCB.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Preloading file QzLM.jar
basic: Loading http://172.21.165.19:7582/Paragon/QzLM.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Connecting http://172.21.165.19:7582/Paragon/commons-logging.properties with proxy=DIRECT
network: Connecting http://172.21.165.19:7582/Paragon/commons-logging.properties with cookie "PARASESSION=7d1SJkVYhQJy2YJB4kQWLZ3BJBF2kpLnTv4DNMBn1thTyQ2chlZC!-1044230083"
network: Connecting http://172.21.165.19:7582/Paragon/META-INF/services/org.apache.commons.logging.LogFactory with proxy=DIRECT
network: Connecting http://172.21.165.19:7582/Paragon/META-INF/services/org.apache.commons.logging.LogFactory with cookie "PARASESSION=7d1SJkVYhQJy2YJB4kQWLZ3BJBF2kpLnTv4DNMBn1thTyQ2chlZC!-1044230083"
network: Connecting http://172.21.165.19:7582/Paragon/log4j.xml with proxy=DIRECT
network: Connecting http://172.21.165.19:7582/Paragon/log4j.xml with cookie "PARASESSION=7d1SJkVYhQJy2YJB4kQWLZ3BJBF2kpLnTv4DNMBn1thTyQ2chlZC!-1044230083"
network: Connecting http://172.21.165.19:7582/Paragon/log4j.xml with proxy=DIRECT
network: Connecting http://172.21.165.19:7582/Paragon/log4j.xml with cookie "PARASESSION=7d1SJkVYhQJy2YJB4kQWLZ3BJBF2kpLnTv4DNMBn1thTyQ2chlZC!-1044230083"
network: Connecting http://172.21.165.19:7582/Paragon/org/apache/log4j/PatternLayoutBeanInfo.class with proxy=DIRECT
network: Connecting http://172.21.165.19:7582/Paragon/org/apache/log4j/PatternLayoutBeanInfo.class with cookie "PARASESSION=7d1SJkVYhQJy2YJB4kQWLZ3BJBF2kpLnTv4DNMBn1thTyQ2chlZC!-1044230083"
network: Connecting http://172.21.165.19:7582/Paragon/org/apache/log4j/PatternLayoutBeanInfo.class with proxy=DIRECT
network: Connecting http://172.21.165.19:7582/Paragon/org/apache/log4j/PatternLayoutBeanInfo.class with cookie "PARASESSION=7d1SJkVYhQJy2YJB4kQWLZ3BJBF2kpLnTv4DNMBn1thTyQ2chlZC!-1044230083"
network: Connecting http://172.21.165.19:7582/Paragon/org/apache/log4j/LayoutBeanInfo.class with proxy=DIRECT
network: Connecting http://172.21.165.19:7582/Paragon/org/apache/log4j/LayoutBeanInfo.class with cookie "PARASESSION=7d1SJkVYhQJy2YJB4kQWLZ3BJBF2kpLnTv4DNMBn1thTyQ2chlZC!-1044230083" -
There is difference between Total vat and vat as per trail balance
Dear Gurus,
I am getting difference between vat payble and vat as per trail balnce,i am attaching below file.
Dr Cr Net Balance VAT Rate
410000 SALES - HANDSET 249,500.47 162,055,133.33 161,805,632.86 4%
410001 SALES - VODATA 93,422.47 4,897,111.40 4,803,688.93 4%
410002 SALES - KITS/CARDS/A 1,389.60 1,391.43 1.83 4%
410004 SALES - OTHERS 143.27 562,801.74 562,658.47 4%
410005 SALES - FWP 2,597,821.94 2,597,821.94 4%
410007 SALES - T SKY 2,665.78 34,655.14 31,989.36 12.50%
410051 SALES RET - HANDSETS 271,951.50 (271,951.50) 4%
410052 SALES RET - VODATA 3,701.92 (3,701.92) 4%
169,526,139.97
Less : Additional Trade discount 960,165.57
Net Sale 168,565,974.4
VAT @ 4% 6,741,359.40
VAT @ 12.5% 3998.67
Total VAT 6,745,358.07
VAT as per Trial 6,696,095.39
Difference 49,262.68Hi,
How to i will check zero vat entries for the revenue G/L accounts,could u give me T.code and example. -
Last Year Inovice Total need to be calculated in a new column in OBIEE 11g
Hi,
I have a measure Net Invoiced Amount, and now my client is asking to get a new column in which last year's Net Invoiced Amount total needs to be calculated.
We need to select the Dates dynamically, it is 2012, so the column should the invoiced amount total for 2011, if it is 2013 then amount should be 2012. Can we do this in RPD. If so, please tell me how.Hi,
Method1:
TIMESTAMPADD( SQL_TSI_DAY , -1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM DATE Column) * -(1) + 1,
DATE Column))
Note: create alias table from your fact (call it as fact table name_YTD) Join th aliases to the dimension tables exactly like how your normal fact table is joined to the aliases, except for the time dimension.
Method 2: by using Time series functions (Ago fxn)
Ago(<<Measure>>, <<Level>>, <<Number of Periods>>)
Example:Ago("Human Resources"."Fact - Absence"."# Days" , "Human Resources"."Time"."Year" , 1)
Method 3: if your using obiee11g --> from analysis itself you cand solve it
AGO(expr, [time_level], offset)
Thanks
Deva -
Surcharge on VAT is not calculating
Hi CIN Experts
When BED, Cess and SEcess values are changed in MIGO, then during MIRO, VAT is getting calculated correctly but Surcharge on VAT is not getting calculated on changed VAT. When I searched for the same in SDN, I got one user exit J_1I7_USEREXIT_PROCESS_TKOMV. But I do not know where and what code need to be written here. Please tell me if some one has written code for this.
Appreciate your quick response.
Thanks
RaviHi Shrikant
This is the code we used. Please award points if useful.
data : gc_vat type konv-KWERT.
loop at xkomv.
IF XKOMV-KSCHL = 'JVRD'.
gc_vat = XKOMV-KWERT.
ENDIF.
IF XKOMV-KSCHL = 'YVRD'.
*XKOMV-KWERT = gc_vat * XKOMV-KBETR / 1000.*
ENDIF.
IF XKOMV-KSCHL = 'JVRN'.
gc_vat = XKOMV-KWERT.
ENDIF.
IF XKOMV-KSCHL = 'YVRN'.
*XKOMV-KWERT = gc_vat * XKOMV-KBETR / 1000.*
ENDIF.
modify xkomv.
endloop.
Thanks
Ravi -
Rounding of a total with a percent calculation
Post Author: jdomkus
CA Forum: Formula
I have a sales field that is taking .10 of the total and placing that total into a new field. This figure is then being used in a total calculation with other values. My problem is the calculation is not being handled correctly due to the percent field total (This is complex to explain but easy to show in a example.
total sales = .25 (Cents) This total is being multiplied by .10 to figure out 10% of the total sales = .03 (This calculation is correct)
Then when I go to subtract .25 - .03 = .23 (Which is not correct, rounding is set to 0.01 on the field)
I have this report in 8.5 with all the patches and I have also download crystal report 11 with the same result, Any help would be appreciatedPost Author: SKodidine
CA Forum: Formula
For Total Sales, try
round(0.25 * 0.10,2)
Then when you subtract it from 0.25 it should give you 0.22 instead of 0.23. -
Would be great for Apple to reinstate the pdf as icon in mail - but using the right click menu. It seems to have gone - and as a basic user there seems to be no simple solution - I used the rich/plain text swap but it didn't work...
Apple - we need you to solve!http://www.apple.com/feedback/macosx.html
It's highly doubtful that Apple will change this in Mac OS X 10.7 since that OS version has now been discontinued for quite some time. Whether they will change that in OS X 10.9 or a future version I can't say.
If this is a serious issue for you, you can look into Attachement Tamer:
http://lokiware.info/Attachment-Tamer
It's not free, but it addresses much more than the issue of PDFs appearing as images, not icons, so it might be worth the price.
Regards. -
How do I on IPHONE 6 have audio message option not just have the option it seems for other people with Iphones. Even Nokia phones have this very BASIC function/? Also how can you BULK DELETE Emails, I get hundreds of junk ones per day, and simply want to go, Select ALL or SELECT ALL READ and then press DELETE ONCE not hundreds of times????
No, basic Nokia phones do not, and have never had a function to easily send audio messages universally. SMS is a carrier feature and uses a very basic transfer mechanism and works only for short, 160-character messages. Through software, some phones later allowed you to type longer messages that the device then broke up seamlessly and sent as multiple SMS messages. MMS is another carrier service developed to be able to transport multimedia like audio and pictures. Again, very basic transfer and usually slow and low quality. Both of these are again, operator services. Your iPhone can send those messages to non-iPhone users using standard carrier services.
On the other hand, your iPhone Messages app uses your iPhone data plan - not unlike your home Internet service - to transfer audio, video and images through Apple's iMessage service. Other services exist that do something similar - WhatsApp for example - which also requires both the sender and recipient to use their app for the service to work.
As for email, Meg is correct. Your email provider is the first line of defense against spam. You should adjust your filters. That said, iOS Mail app had a delete all function, but not in places where it can do more harm than good - i.e. the Inbox. It is present only in the Junk and Trash folders where, presumably, your email provider or you have already been through some decision making process and deemed those emails acceptable to be deleted en masse. -
hi to all experts,
i have a requirement to print the sub total of quantity for a particular delievery order and material . but im not getting the exact quantity ( it should be 65000) im getting 780000 what might be the error.It is happening only in DO for others the quantity is correct . what might be the error. Please help me with this issue . Here is the report
TABLES: vbak, vbrk.
TABLES: likp. "CN5
DATA: BEGIN OF t_itab OCCURS 50,
vbeln LIKE vbrk-vbeln,
kunag LIKE vbrk-kunag,
name1 LIKE kna1-name1,
fkdat LIKE vbrk-fkdat,
kunnr LIKE likp-kunnr, "CN5
END OF t_itab.
DATA: BEGIN OF t_itab1 OCCURS 50,
name1 LIKE kna1-name1,
fkdat LIKE vbrk-fkdat,
vbeln LIKE vbrp-vbeln,
venum LIKE vekp-venum,
matnr LIKE vbrp-matnr,
* start insert CN4
matwa LIKE vbrp-matwa,
* end insert CN4
vhilm LIKE vekp-vhilm,
zuonr LIKE vbrk-zuonr,
ihrez LIKE vbkd-ihrez,
posnr LIKE vbrp-posnr,
aubel LIKE vbrp-aubel,
aupos LIKE vbrp-aupos,
vgbel LIKE vbrp-vgbel,
maktx LIKE makt-maktx,
desctn LIKE makt-maktx,
bstkd LIKE vbkd-bstkd,
* ihrez LIKE vbkd-ihrez,
vemng TYPE p,
brgew LIKE vekp-brgew,
ntgew LIKE vekp-ntgew,
* tavol LIKE vekp-tavol,
tavol TYPE p DECIMALS 5,
ctnno TYPE i,
kunag LIKE vbrk-kunag,
kunnr LIKE likp-kunnr, "CN5
END OF t_itab1.
DATA: BEGIN OF t_canc OCCURS 50,
sfakn LIKE vbrk-sfakn,
fkart LIKE vbrk-fkart,
END OF t_canc.
DATA: t_disp LIKE t_itab1 OCCURS 50 WITH HEADER LINE.
DATA: t_disp1 LIKE t_itab1 OCCURS 50 WITH HEADER LINE.
DATA: g_date(10),
g_tot_ctnno TYPE i,
g_tot_vemng TYPE p,
g_tot_brgew LIKE vekp-brgew,
g_tot_ntgew LIKE vekp-ntgew,
* g_tot_tavol LIKE vekp-tavol,
g_tot_tavol TYPE p DECIMALS 5,
g_gtot_ctnno TYPE i,
g_gtot_vemng TYPE p,
g_gtot_brgew LIKE vekp-brgew,
g_gtot_ntgew LIKE vekp-ntgew,
* g_gtot_tavol LIKE vekp-tavol.
g_gtot_tavol TYPE p DECIMALS 5.
SELECTION-SCREEN BEGIN OF BLOCK mysel WITH FRAME TITLE text-003.
SELECT-OPTIONS:
p_vkorg FOR vbak-vkorg OBLIGATORY,
date FOR sy-datum OBLIGATORY.
*--> Start delete "CN6
* cust FOR vbrk-kunag,
*<--End delete "CN6
*--> Start insert "CN6
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS sold RADIOBUTTON GROUP pt. "Sold To Party
SELECTION-SCREEN COMMENT 3(20) text-001 FOR FIELD sold.
SELECTION-SCREEN POSITION 45.
PARAMETERS ship RADIOBUTTON GROUP pt. "Ship To Party
SELECTION-SCREEN COMMENT 48(20) text-002 FOR FIELD ship.
SELECTION-SCREEN END OF LINE.
*<-- End insert "CN6
SELECT-OPTIONS : so_kunnr FOR likp-kunnr. "CN5
SELECTION-SCREEN END OF BLOCK mysel.
* START-OF-SELECTION. *
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_disp_data.
PERFORM refresh_data.
PERFORM display_rep.
*& Form CheckAuthority
* text
* -->VKORG text
* -->VTWEG text
FORM checkauthority USING vkorg vtweg.
CALL FUNCTION 'Z_AUTHORITY_CHECK'
EXPORTING
module = 'SD'
vkorg = vkorg
* EKORG =
* WERKS =
* BUKRS =
vtweg = vtweg
* SPART =
* PRCTR =
EXCEPTIONS
no_authority = 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.
ENDFORM. "CheckAuthority
* FORM get_data *
FORM get_data.
*--> Start delete "CN6
* DATA:chrvkorg LIKE vbrk-vkorg,
* chrvtweg LIKE vbrk-vtweg.
*<--End delete "CN6
*--> Start insert "CN6
DATA: BEGIN OF l_vbrk OCCURS 0,
vbeln LIKE t_itab-vbeln,
fkdat LIKE t_itab-fkdat,
kunnr LIKE t_itab-kunnr,
chrvkorg LIKE vbrk-vkorg,
chrvtweg LIKE vbrk-vtweg,
END OF l_vbrk.
*<--End insert "CN6
*--> Start delete "CN5
* SELECT vbeln fkdat kunag vkorg vtweg INTO (t_itab-vbeln, t_itab-fkdat,
* t_itab-kunag, chrvkorg, chrvtweg)
* FROM vbrk WHERE fkdat IN date
* AND kunag IN cust
* AND vkorg IN p_vkorg
* AND fkart = 'ZF2'.
*<--End delete "CN5
*--> Start delete "CN6
*--> Start insert "CN5
* SELECT a~vbeln a~fkdat a~kunag a~vkorg a~vtweg c~kunnr
* INTO (t_itab-vbeln, t_itab-fkdat, t_itab-kunag, chrvkorg, chrvtweg, t_itab-kunnr)
* FROM vbrk AS a
* INNER JOIN vbrp AS b ON a~vbeln = b~vbeln
* INNER JOIN likp AS c ON b~vgbel = c~vbeln
* WHERE a~fkdat IN date
* AND a~kunag IN cust
* AND a~vkorg IN p_vkorg
* AND a~fkart = 'ZF2'
* AND c~kunnr IN so_kunnr.
*<--End insert "CN5
*<--End delete "CN6
*--> Start insert "CN6
IF sold ='X'.
SELECT vbeln fkdat kunag vkorg vtweg
INTO TABLE l_vbrk
FROM vbrk
WHERE fkdat IN date
AND vkorg IN p_vkorg
AND fkart = 'ZF2'
AND kunag IN so_kunnr.
ELSEIF ship = 'X'.
SELECT a~vbeln a~fkdat c~kunnr a~vkorg a~vtweg
INTO TABLE l_vbrk
FROM vbrk AS a
INNER JOIN vbrp AS b ON a~vbeln = b~vbeln
INNER JOIN likp AS c ON b~vgbel = c~vbeln
WHERE a~fkdat IN date
AND a~vkorg IN p_vkorg
AND a~fkart = 'ZF2'
AND c~kunnr IN so_kunnr.
ENDIF.
LOOP AT l_vbrk.
t_itab-vbeln = l_vbrk-vbeln.
t_itab-fkdat = l_vbrk-fkdat.
t_itab-kunnr = l_vbrk-kunnr.
*<--End insert "CN6
PERFORM checkauthority USING l_vbrk-chrvkorg l_vbrk-chrvtweg.
IF sy-subrc = 0.
APPEND t_itab.
CLEAR t_itab.
ENDIF.
* CLEAR chrvtweg. "CN6
ENDLOOP. "CN6
PERFORM check_cancelled_doc.
LOOP AT t_itab.
SELECT SINGLE name1 INTO (t_itab-name1)
FROM kna1
* WHERE kunnr = t_itab-kunag. "CN5
WHERE kunnr = t_itab-kunnr. "CN5
MODIFY t_itab.
CLEAR t_itab.
ENDLOOP.
PERFORM get_data1.
PERFORM get_data2.
ENDFORM. "get_data
* FORM check_cancelled_doc *
FORM check_cancelled_doc.
*--> Start delete "CN6
*SELECT fkart sfakn INTO (t_canc-fkart, t_canc-sfakn)
* FROM vbrk WHERE fkdat IN date
* AND kunag IN so_kunnr
* AND vkorg IN p_vkorg
* AND fkart = 'ZS1'.
* APPEND t_canc.
* CLEAR t_canc.
* ENDSELECT.
*<-- End delete "CN6
*--> Start insert "CN6
IF sold ='X'.
SELECT fkart sfakn INTO (t_canc-fkart, t_canc-sfakn)
FROM vbrk WHERE fkdat IN date
AND kunag IN so_kunnr
AND vkorg IN p_vkorg
AND fkart = 'ZS1'.
APPEND t_canc.
CLEAR t_canc.
ENDSELECT.
ELSE.
SELECT fkart sfakn INTO (t_canc-fkart, t_canc-sfakn)
FROM vbrk WHERE fkdat IN date
AND vkorg IN p_vkorg
AND fkart = 'ZS1'.
APPEND t_canc.
CLEAR t_canc.
ENDSELECT.
ENDIF.
*<-- End insert "CN6
LOOP AT t_itab.
READ TABLE t_canc WITH KEY sfakn = t_itab-vbeln.
IF sy-subrc = 0.
DELETE t_itab WHERE vbeln = t_canc-sfakn.
ENDIF.
ENDLOOP.
ENDFORM. "check_cancelled_doc
* FORM get_data1 *
FORM get_data1.
LOOP AT t_itab.
*--> Start insert "CN6
t_itab1-kunnr = t_itab-kunnr.
*<-- End insert "CN6
* start delete CN4
* SELECT vbeln posnr matnr aubel aupos vgbel
* INTO (t_itab1-vbeln, t_itab1-posnr,
* t_itab1-matnr, t_itab1-aubel, t_itab1-aupos, t_itab1-vgbel)
* FROM vbrp
* WHERE vbeln = t_itab-vbeln.
* end delete CN4
* start insert CN4
SELECT vbeln posnr matnr aubel aupos vgbel matwa
INTO (t_itab1-vbeln, t_itab1-posnr,
t_itab1-matnr, t_itab1-aubel, t_itab1-aupos, t_itab1-vgbel, t_itab1-matwa)
FROM vbrp
WHERE vbeln = t_itab-vbeln.
* end insert CN4
MOVE-CORRESPONDING t_itab TO t_itab1.
APPEND t_itab1.
CLEAR t_itab1.
ENDSELECT.
ENDLOOP.
* SORT t_itab1 BY matnr vgbel.
* SORT t_itab1 BY fkdat name1 ihrez.
DELETE ADJACENT DUPLICATES FROM t_itab1 COMPARING matnr vgbel.
LOOP AT t_itab1.
SELECT SINGLE bstkd INTO (t_itab1-bstkd)
FROM vbkd
WHERE vbeln = t_itab1-aubel.
SELECT SINGLE ihrez INTO (t_itab1-ihrez)
FROM vbkd
WHERE vbeln = t_itab1-aubel
AND posnr = t_itab1-aupos.
*CN2 inserted start by yongchun
IF sy-subrc NE 0.
SELECT SINGLE ihrez INTO (t_itab1-ihrez)
FROM vbkd
WHERE vbeln = t_itab1-aubel
AND posnr = '000000'.
ENDIF.
*CN2 inserted end by yongchun
SELECT SINGLE maktx INTO (t_itab1-maktx)
FROM makt
WHERE matnr = t_itab1-matnr.
SELECT SINGLE zuonr INTO (t_itab1-zuonr)
FROM vbrk
WHERE vbeln = t_itab1-vbeln.
MODIFY t_itab1.
CLEAR t_itab1.
ENDLOOP.
ENDFORM. "get_data1
* FORM get_data2 *
FORM get_data2.
LOOP AT t_itab1.
SELECT venum vemng INTO (t_itab1-venum, t_itab1-vemng)
FROM vepo
WHERE vbeln = t_itab1-vgbel
AND matnr = t_itab1-matnr.
SELECT SINGLE brgew ntgew vhilm
INTO (t_itab1-brgew, t_itab1-ntgew,
t_itab1-vhilm)
FROM vekp
* WHERE vbeln_gen = t_itab1-vgbel
WHERE vpobjkey = t_itab1-vgbel
AND venum = t_itab1-venum.
SELECT SINGLE volum INTO (t_itab1-tavol)
FROM mara
WHERE matnr = t_itab1-vhilm.
IF sy-subrc = 0.
PERFORM convert_volume USING t_itab1-vhilm CHANGING t_itab1-tavol.
ENDIF.
SELECT SINGLE maktx INTO (t_itab1-desctn)
FROM makt
WHERE matnr = t_itab1-vhilm.
MOVE-CORRESPONDING t_itab1 TO t_disp.
APPEND t_disp.
CLEAR t_disp.
ENDSELECT.
ENDLOOP.
ENDFORM. "get_data2
* FORM get_disp_data *
FORM get_disp_data.
DATA: l_ctnno TYPE i,
l_vemng TYPE p,
l_brgew LIKE vekp-brgew,
l_ntgew LIKE vekp-ntgew,
* l_tavol LIKE vekp-tavol.
l_tavol TYPE p DECIMALS 5.
t_disp1[] = t_disp[].
SORT t_disp1 BY vbeln matnr vhilm.
SORT t_disp BY vbeln venum matnr vhilm. "CN1 inserted by yongchun
DELETE ADJACENT DUPLICATES FROM t_disp1 COMPARING vbeln matnr vhilm.
LOOP AT t_disp1.
LOOP AT t_disp WHERE vbeln = t_disp1-vbeln
AND matnr = t_disp1-matnr
AND vhilm = t_disp1-vhilm.
*CN1 removed start by yongchun
* l_ctnno = l_ctnno + 1.
* l_vemng = l_vemng + t_disp-vemng.
* l_brgew = l_brgew + t_disp-brgew.
* l_ntgew = l_ntgew + t_disp-ntgew.
* l_tavol = l_tavol + t_disp-tavol.
*CN1 removed end
*CN1 insert start by yongchun
AT NEW venum.
READ TABLE t_disp INDEX sy-tabix.
l_ctnno = l_ctnno + 1.
l_brgew = l_brgew + t_disp-brgew.
l_ntgew = l_ntgew + t_disp-ntgew.
l_tavol = l_tavol + t_disp-tavol.
ENDAT.
l_vemng = l_vemng + t_disp-vemng.
*CN1 insert end
ENDLOOP.
MOVE l_ctnno TO t_disp1-ctnno.
MOVE l_vemng TO t_disp1-vemng.
MOVE l_brgew TO t_disp1-brgew.
MOVE l_ntgew TO t_disp1-ntgew.
MOVE l_tavol TO t_disp1-tavol.
MODIFY t_disp1.
CLEAR: l_ctnno, l_vemng, l_brgew,
l_ntgew, l_tavol, t_disp1.
ENDLOOP.
ENDFORM. "get_disp_data
* FORM refresh_Data *
FORM refresh_data.
CLEAR: t_itab, t_itab1, t_disp.
REFRESH: t_itab, t_itab1, t_disp.
ENDFORM. "refresh_data
* FORM display_rep *
FORM display_rep.
DATA:
chrctnno(12) TYPE c,
chrihrez(12) TYPE c,
chrvemng(13) TYPE c,
chrbrgew(18) TYPE c,
chrntgew(18) TYPE c,
chrtavol(18) TYPE c,
chrmatnr(40) TYPE c,
*--> Start insert "CN6
chrkunnr(10) TYPE c,
*<-- End insert "CN6
chrzuonr LIKE vbrk-zuonr,
* CN3 start insert
t_index LIKE sy-tabix.
* CN3 end insert
* SORT t_disp1 BY name1 vbeln fkdat.
*CN1 start change by yongchun
* SORT t_disp1 BY name1 fkdat vbeln ihrez .
*-->CN5
*Note: report already sorted by name1 (changed to ship-to-party)
*<--CN5
SORT t_disp1 BY name1 ihrez fkdat vbeln venum .
*CN1 end change by yongchun
LOOP AT t_disp1.
* CN3 start insert
t_index = sy-tabix.
* CN3 end insert
chrctnno = t_disp1-ctnno.
chrzuonr = t_disp1-zuonr.
chrihrez = t_disp1-ihrez.
chrvemng = t_disp1-vemng.
chrbrgew = t_disp1-brgew.
chrntgew = t_disp1-ntgew.
chrtavol = t_disp1-tavol.
*--> Start insert "CN6
chrkunnr = t_disp1-kunnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = chrkunnr
IMPORTING
output = chrkunnr.
*<-- End insert "CN6
CONDENSE: t_disp1-desctn, chrbrgew, chrntgew, chrtavol, chrvemng, chrctnno.
* Format material number
*start delete CN4
* PERFORM GetLongMatnr USING t_disp1-matnr
* CHANGING chrMatnr.
* end delete CN4
* start insert CN4
PERFORM getlongmatnr USING t_disp1-matnr t_disp1-matwa
CHANGING chrmatnr.
PERFORM date_format.
AT NEW name1.
NEW-PAGE.
WRITE: /2 t_disp1-name1, 40 chrkunnr. "CN6
ENDAT.
AT NEW vbeln.
CONDENSE t_disp1-vbeln NO-GAPS.
CONDENSE chrzuonr NO-GAPS.
WRITE: /4 t_disp1-vbeln, '/', chrzuonr, 59 g_date, 76 chrihrez. "CN6
ENDAT.
* WRITE: /10(20) t_disp1-maktx,
* 35(20) t_disp1-bstkd,
* 55(15) t_disp1-vemng,
* 75(10) t_disp1-ctnno,
* 90(30) t_disp1-desctn,
* 120(18) t_disp1-brgew,
* 140(18) t_disp1-ntgew,
* 160(18) t_disp1-tavol.
* /10(12) t_disp1-ihrez,
*CN1 change start by yongchun
WRITE:/5(40) chrmatnr,
45(20) t_disp1-bstkd,
65(15) chrvemng.
AT NEW venum.
* CN3 start delete
* READ TABLE t_disp1 INDEX sy-tabix.
* CN3 end delete
* CN3 start insert
READ TABLE t_disp1 INDEX t_index.
* CN3 end insert
WRITE: 80(5) chrctnno,
85(25) t_disp1-desctn,
120(10) chrbrgew,
130(10) chrntgew,
140(18) chrtavol.
ENDAT.
*CN1 change end
PERFORM sub_total.
AT END OF vbeln.
PERFORM grand_total.
PERFORM write_sub_total.
ENDAT.
AT END OF name1.
PERFORM write_grand_total.
ENDAT.
ENDLOOP.
ENDFORM. "display_rep
* FORM date_format *
FORM date_format.
CLEAR g_date.
CONCATENATE t_disp1-fkdat+6(2)
t_disp1-fkdat+4(2)
t_disp1-fkdat(4) INTO g_date SEPARATED BY '.'.
ENDFORM. "date_format
* FORM SUB_TOTAL *
FORM sub_total.
g_tot_vemng = g_tot_vemng + t_disp1-vemng.
g_tot_ctnno = g_tot_ctnno + t_disp1-ctnno.
g_tot_brgew = g_tot_brgew + t_disp1-brgew.
g_tot_ntgew = g_tot_ntgew + t_disp1-ntgew.
g_tot_tavol = g_tot_tavol + t_disp1-tavol.
ENDFORM. "sub_total
* FORM write_sub_total *
FORM write_sub_total.
DATA:
chrvemng(18) TYPE c,
chrctnno(18) TYPE c,
chrbrgew(18) TYPE c,
chrntgew(18) TYPE c,
chrtavol(18) TYPE c.
chrvemng = g_tot_vemng.
chrctnno = g_tot_ctnno.
chrbrgew = g_tot_brgew.
chrntgew = g_tot_ntgew.
chrtavol = g_tot_tavol.
CONDENSE: chrbrgew, chrntgew, chrtavol, chrvemng, chrctnno.
* WRITE: /15 sy-uline(200),
* /10 'TOTAL',
* 55(15) g_tot_vemng,
* 75(10) g_tot_ctnno,
* 120(18) g_tot_brgew,
* 140(18) g_tot_ntgew,
* 160(18) g_tot_tavol,
WRITE: /11 sy-uline(200),
/5 'TOTAL',
65(15) chrvemng,
80(10) chrctnno,
120(18) chrbrgew,
130(18) chrntgew,
140(18) chrtavol,
/11 sy-uline(200).
CLEAR: g_tot_vemng, g_tot_ctnno, g_tot_brgew,
g_tot_ntgew, g_tot_tavol.
ENDFORM. "write_sub_total
* FORM GRAND_TOTAL *
FORM grand_total.
g_gtot_vemng = g_gtot_vemng + g_tot_vemng.
g_gtot_ctnno = g_gtot_ctnno + g_tot_ctnno.
g_gtot_brgew = g_gtot_brgew + g_tot_brgew.
g_gtot_ntgew = g_gtot_ntgew + g_tot_ntgew.
g_gtot_tavol = g_gtot_tavol + g_tot_tavol.
ENDFORM. "grand_total
* FORM WRITE_GRAND_TOTAL *
FORM write_grand_total.
DATA:
chrvemng(18) TYPE c,
chrctnno(18) TYPE c,
chrbrgew(18) TYPE c,
chrntgew(18) TYPE c,
chrtavol(18) TYPE c.
chrvemng = g_gtot_vemng.
chrctnno = g_gtot_ctnno.
chrbrgew = g_gtot_brgew.
chrntgew = g_gtot_ntgew.
chrtavol = g_gtot_tavol.
CONDENSE: chrbrgew, chrntgew, chrtavol, chrvemng, chrctnno.
SKIP.
* WRITE: /10 'GRAND TOTAL',
* 55(15) g_gtot_vemng,
* 75(10) g_gtot_ctnno,
* 120(18) g_gtot_brgew,
* 140(18) g_gtot_ntgew,
* 160(18) g_gtot_tavol,
WRITE: /5 'GRAND TOTAL',
65(15) chrvemng,
80(10) chrctnno,
120(18) chrbrgew,
130(18) chrntgew,
140(18) chrtavol,
/11 sy-uline(200).
CLEAR: g_gtot_vemng, g_gtot_ctnno, g_gtot_brgew,
g_gtot_ntgew, g_gtot_tavol.
ENDFORM. "write_grand_total
* top_of_page *
TOP-OF-PAGE.
PERFORM sub_top_of_page.
PERFORM column_header.
* FORM sub_top_of_page *
FORM sub_top_of_page.
IF date-high IS INITIAL.
date-high = date-low.
ENDIF.
SKIP.
WRITE :/45 'JOHN WHILE SPRINGS (S) PTE. LTD.',
130 'Page', 135 sy-pagno, 170 '',
/45 'Packing List Report',
/45 'Invoice Date FROM ', date-low , '-', date-high,
130 'Date:', 135 sy-datum, 170 ''.
ULINE.
ENDFORM. "sub_top_of_page
* FORM column_header *
FORM column_header.
*--> Start insert "CN6
DATA: l_party(13) TYPE c.
IF sold = 'X'.
l_party = 'Sold To Party'.
ELSEIF ship = 'X'.
l_party = 'Ship To Party'.
ENDIF.
*<-- End insert "CN6
WRITE: /4 'Invoice / DO Number', 40 l_party, 59 'Invoice Date', 76 'Buyer Code', "CN6
* /10 'Part ID/Rev',
* 35 'PO No.',
* 65 'Qty',
* 75 'Carton No.',
* 95 'Carton Size',
* 125 'Gross Wt(KG)',
* 147 'Net Wt(KG)',
* 167 'Volume(M3)'.
* /10 'Buyer Code',
/5 'Part ID/Rev',
45 'PO No.',
65 'Qty',
72 'Carton No.',
85 'Carton Size',
114 'Gross Wt(KG)',
127 'Net Wt(KG)',
138 'Volume(M3)'.
ULINE.
ENDFORM. "column_header
* Form Convert_Volume
FORM convert_volume USING l_itab1_vhilm
CHANGING l_itab1_tavol.
DATA: unit_1 LIKE t006-msehi,
unit_2 LIKE t006-msehi VALUE 'M3',
var1 TYPE f,
var2 TYPE f,
var3 TYPE f,
var4 LIKE t006-andec VALUE 3,
l_volum TYPE p DECIMALS 5,
dimid LIKE t006-dimid VALUE 'VOLUME',
l_voleh LIKE t006-msehi.
SELECT SINGLE voleh FROM mara INTO l_voleh
WHERE matnr = l_itab1_vhilm.
IF sy-subrc = 0.
unit_1 = l_voleh.
CALL FUNCTION 'CONVERSION_FACTOR_GET'
EXPORTING
no_type_check = ' '
unit_in = unit_1
unit_out = unit_2
IMPORTING
add_const = var1
denominator = var2
numerator = var3
decimals = var4
dimension = dimid
EXCEPTIONS
conversion_not_found = 1
overflow = 2
type_invalid = 3
units_missing = 4
unit_in_not_found = 5
unit_out_not_found = 6
OTHERS = 7.
IF sy-subrc = 0.
l_volum = l_itab1_tavol * ( var3 / var2 ) + var1.
l_itab1_tavol = l_volum.
ENDIF.
ENDIF.
ENDFORM. " Convert_Volume
*start delete CN4
*FORM GetLongMatnr USING shortMatnr CHANGING longMatnr.
*DATA:
* intLength TYPE i,
* rowMARA LIKE MARA.
* CALL FUNCTION 'CONVERSION_EXIT_MATN2_OUTPUT'
* EXPORTING
* INPUT = shortMatnr
* IMPORTING
* OUTPUT = longMatnr.
** Format the material number
** Get the material type
* SELECT SINGLE *
* INTO rowMARA
* FROM MARA
* WHERE matnr = shortMatnr.
* intLength = strlen( longMatnr ).
** Remove prefix.
* IF rowMARA-mtart = 'ZFPT' OR rowMARA-mtart = 'ZMFG' OR rowMARA-mtart = 'ZSEC' OR
* rowMARA-mtart = 'ZTOL' OR rowMARA-mtart = 'ZTRD'.
* intLength = intLength - 2.
** Remove 1st 2 characters of prefix
* longMatnr = longMatnr+2(intLength).
** ELSEIF rowMARA-mtart = 'ZRAW'.
*** Remove prefix - 1st 2 characters.
** intLength = intLength - 2.
** longMatnr = longMatnr+2(intLength).
*** Remove last 4 digits
** intLength = intLength - 4.
** longMatnr = longMatnr+0(intLength).
* ENDIF.
*ENDFORM.
*end delete CN4
*start insert CN4
FORM getlongmatnr USING shortmatnr tmp_matwa CHANGING longmatnr.
DATA:
intlength TYPE i,
rowmara LIKE mara.
IF shortmatnr = tmp_matwa.
CALL FUNCTION 'CONVERSION_EXIT_MATN2_OUTPUT'
EXPORTING
input = shortmatnr
IMPORTING
output = longmatnr.
* Format the material number
* Get the material type
SELECT SINGLE *
INTO rowmara
FROM mara
WHERE matnr = shortmatnr.
intlength = STRLEN( longmatnr ).
* Remove prefix.
IF rowmara-mtart = 'ZFPT' OR rowmara-mtart = 'ZMFG' OR rowmara-mtart = 'ZSEC' OR
rowmara-mtart = 'ZTOL' OR rowmara-mtart = 'ZTRD'.
intlength = intlength - 2.
* Remove 1st 2 characters of prefix
longmatnr = longmatnr+2(intlength).
ENDIF.
ELSE.
* if material entered is different
longmatnr = tmp_matwa.
CALL FUNCTION 'CONVERSION_EXIT_MATN2_OUTPUT'
EXPORTING
input = longmatnr
IMPORTING
output = longmatnr.
ENDIF.
ENDFORM. "GetLongMatnr
*end insert CN4But when I executed above sql query I got some of the users also listed in the output who were not using TFS and also some service accounts.
Could you please confirm why this is happening. -
Basically trying to do this with text..(example shown)
I want the text to scroll from this point changing perspective along with curve. I know how to do it in AI, PS but without doing like 100 pictures of it slowly moving and putting them in flash like an old style cartoon I have no idea how to do this... Basically when someone rolls over the button I want This to come from nothing and scroll up onto the arc and stay till they roll off... I know how to do the simple button... it's designing a movie clip that does this on an arc that i cannot figure out
Thanks
Stephen J Clifford
please excuse the poorness of this design i did it in 2 seconds just to illustrate what i mean
http://www.sjcjr.com/123.jpgbut i'm not sure that i am willing or able to sort through that to come up with what i wanted to do...
This is no easy for a person who is not familiar with AS3, of course.
Now my question is why don't they just have perspective/warp plugin for flash that would do this simply....
One can write it quite fast. AS3 has a lot of capabilities that allow for implementing very sophisticated graphics. But there is no big enough market for Adobe to justify spending time on it because, again, it can be done without any kind of plug-ins. In addition, no plug-in can possibly cover all the use cases. Personally, I think plug-ins are lame from the standpoint of AS3 capabilities. So, it is up to developers to implements what they need.
Also, using OOP approaches is, in a way, like using plugins anyway.
This is IMHO... -
Transport Basics: Can you explain this to me?
Hello Experts,
In Transport Organizer: Requests (se09), I double clicked on a Transport request and I could see a display of the Transport Request number (Request/Task: BWIK ..) and 3 tabs (Properties, Objects, Documentation).
1. Under Objects tab I see InfoArea, InfoObject, info Catalogue Are these the referring to object grouped in the transportable package?
The Status of each of them was Object Locked, what is the significance of this status?
2. On double clicking the InfoObject, (ZCO_AREAS) from this list, I see a long list of infoobjects consisting of Table Names, Tale Keys, and A or A*. Can you help me interpret this information?
3. On double clicking on the first (table name: RSDATRNAV) from the list, it gives
the Display Key for Table RSDATRNAV
Med. Field label | Field Name | T.. | Length | Key Value
Characteristic | .
Version |
Attribute |
If these are field names in the table RSDATRNAV, why is it listing e.g. Attribute?
When I double click on Characteristic from this screen, it brings another screen and it kept going.
Can you help me interpret the above screen and what is going on?
4. On the other hand, if I double click on the Transport Request number (Request/Task: BWIK ..) I get Display key for Table with this info:
Med. Field label | Field Name | T.. | Length | Key Value
| DIMID | I | 4 |
| TCO45 | C | 5 |
| TCO46 | C | 3 |
And when I click on e.g. TCO45, it brings a screen and it continues even much longer until a point when I get No next object exists with keys
I will appreciate if you could help me to understand what is taking place. Please in your explanation touch on the tables and keys.Amanda,
Its the contents of your transport requests, the name and properties of objects which you were trying to transport to next level.The objects will be on lock to break this lock then you have to go to SE03 click unlock object then mention your transport request then go with unlock.If you want to delete any object in your transport then first you have to unlock the request then you will be able to delete the object.
BWIK is nothing but your transport name, its start with that name.
Everything which you mentioned as question is properties.
Once you release the request then it will display you the status.Is the transport moved to quality or to production all the details.
Hope its help.
Please let me know if you need anything more.
Thanks
Ram
"BW is Everywhere" -
HAS ANYBODY ELSE EXPERIENCED THIS?
There was a bug related to the font submenus that many people encountered. (It could result in a crash up to a few seconds after having used the font menu.)
An update went live yesterday that addresses it, and a number of other issues. Please go to the Creative Cloud Desktop App and download the update. Thanks. -
Launch Firefox Browser and the Plug-in Check launches a page at the same time. No matter what I do, I can't get the page to stop launching at startup.
Thanx. I suspected it might have something to do with FF 4.0 still being in Beta. Guess I'm heading back to the old version until such time as the changes are made.
Again, many thanx. Pete -
Basic "how to use this" question
I have a subscription to Creative Cloud, I have updated inDesign through creative cloud, and when I try to open the application, I get an error message that my trial has expired and I can't open the program. Any ideas as to what I am doing wrong?
Log out of your paid Cloud account... Restart your computer... Log in to your paid Cloud account
-Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
or
A chat session where an agent may remotely look inside your computer may help
Creative Cloud chat support (all Creative Cloud customer service issues)
http://helpx.adobe.com/x-productkb/global/service-ccm.html
Maybe you are looking for
-
IPod Cannot be updated or mounted with ipod updater or itunes
Every time i try to update my ipod on itunes i either get "The iPod "Tdunks iPod" cannot be updated. The disk cannot be read from or written to." or i will get "The iPod "Tdunks iPod" cannot be updated. Required file not found." When i try to use ipo
-
Hi, I am creating a portfolio where all of my images are being loaded from an xml doc. The thumbail loader is being loaded into level0, my problem is that all of the images are being loaded over my UI assets that are already on stage. Flash is not re
-
Subscribe to podcast that is not available outside a country?
Does anyone know if/how I can subscribe to a podcast that is not available outside its "home" country? More specifically, I'd like to subscribe to this podcast: http://pod.drs.ch/diskothek_im_zwei_mpx.xml I can subscribe to it, but I only get "epi
-
WLC2504 - Dynamic interface problem
Hi, I have problem with my WLC2504. My WLC is connected through two ports (1 and 2 of four) to my distro switch, where I have dot1q trunks configured. WLC is configured with Management interface (IP address 192.168.255.9/24), over which my LAPs a
-
Calendar info window does not appear?
When I double click an appointment in the calendar app the info window doesn't appear. However, it sometimes shows up when swiping the trackpad for mission control, but as if it's coming from off the screen. It still shows as being on Desktop 1 (I ha