Proposed Invoicetype for contract is not coming rightly
Hi
I have maintained 3 types of Service Contract types for each sales organizations.And the billing type is also diff for each Contact type.
Like ZPWV Contact type----
ZPFV Billing type.
In VOV8 i have assigned ZPFV Billing type for the proposed billing type for ZPWV contract type.
But when i create invoice for ZPWV contract type it is coming different invoice type insted of ZPFV billing type.
Where to do the necessary settings so that for that particular Contract type only ZPFV should come.
regards
Subhasish
Mishra,
Billing plan would not have that kind of effect.
Just check Billing Request under Contract in sales Doc type. That might be the root cause.
Take care.
JP.
Similar Messages
-
Sales contracts could not coming into the KE24
Hi,
Only sales contracts(VA43) not coming ito the KE24
But whenever we created the sales order with reference to the sales contracts then that time its appearing into the ke24
why only sales contracts(do not having the Sales orders) not coming into the KE24
Is it requires any config for thisHi
Contaract is not standard charactor in co-pa thats y only contract it won be appear in the ke 24 report . if you are using contract with reference to sales order when you are doing the billing system it will take both sale order and coanaract fields it will update in co-pa .
If you want to take contaract in to co-pa without sales order u have to create charactor strics dervation rule in KEDR transaction then it will update in copa . -
Agreement ( Contract) is not coming up in SAP (VA42)
Agreement ( Contract) is not coming up in SAP (VA42)...How to troubleshoot...
Agreement letter has been Archieved.
-
Print out in MB90 for GRN is not coming in English
Dear Friends,
While taking the print out in MB90 for GRN document, it is not coming in English.It is coming in some unreadableformat.
In MN21 I have mentioned the language as EN.
In the configuration of output type WE03 I have mentioned the language as EN intransaction code M706.
A reply will be highly appreaciated.
Regards
Rutabhadra Pandahi
check whether the printer you installed is having the proper driver. -
Release Strategy for Contract is not getting picked whereas it is ok for PO
Dear Experts,
I have created release strategy for PO with doc type, p.org, net value as chars and frg_ekko as class and release group as 02.
I kept NB,FO,MK and WK as char values. it is working fine for PO's whereas it is not getting picked for Contracts. we need same release strategy for PO as well as for Contract.
Kindly resolve the issue.
SatishS0004830404 wrote:
Dear Experts,
>
> I have created release strategy for PO with doc type, p.org, net value as chars and frg_ekko as class and release group as 02.
> I kept NB,FO,MK and WK as char values. it is working fine for PO's whereas it is not getting picked for Contracts. we need same release strategy for PO as well as for Contract.
>
> Kindly resolve the issue.
>
> Satish
hi,
use create other characteristic for value CEKKO-GNETW in this use the mk , wk values in value field and assign this characteristic to your class and save.
Thanking you -
My thumbnail for movies is not the right one
my thumbnail (previews) for my movies arent the right picture. I am finding that one image is being used for more than clip. Please how do I fix this?
http://support.apple.com/kb/HT5312
-If you established a rescue email address, there will be a link on the "Passwords & Security" page of id.apple.com. Clicking the link will send the reset to your rescue email address (NOTE: This is not the same address as your Apple ID email)
-If there is no link on the page, then you didn't establish a rescue email address. Contact AppleCare at 800.694.7466 (If you are in the US), and ask for account security. You will need to answer some questions to verify your identity, AND you will need access to a computer to generate a temporary support pin.
-If you are not in the US, click http://support.apple.com/kb/HT5699 - Apple ID: Contacting Apple for help with Apple ID account security
HTH -
I am trying to print a photo its not coming right
Hi my printer is not the right colour photo of my dog he is black but I can not see him itswas working ok but now its gone wrone please can you help
This question was solved.
View Solution.Can I send you the photo
-
Data is not coming right for few Document nos.
Hi All,
I have a problem in my report that in 10-12 records, data not picking the values against Document Number...means from where i pick the lifnr, there a few records not showing related information...
I tell u in detail..
I pick Document Number from BSIK table, Purchasing Doc. No, with ref. to Document Number...Vendor Code with Purchasing Ref. and Vendor Name with Ref. to Vendor Code...
But in some document we have not maintain Purchasing document no. against Document Number...
So we cann't display Vendor Code and name...
This is the problem...
Now i have a link between Document Number and Vendor Code without Purchasing Document No...in BSEG table...
But what will the condition with my existing query on BSEG...please tell me....
My Code is---
REPORT zak_form_c4 NO STANDARD PAGE HEADING LINE-SIZE 125 .
TABLES : bsik,bkpf,bseg,j_1imovend,lfa1,t001,t005u,bsak,ekko,bsis, ekkn, anla, anlc.
TYPE-POOLS : slis.
DATA : BEGIN OF itab OCCURS 0,
belnr LIKE bsik-belnr, "Document number
buzei LIKE bseg-buzei, "line item
hkont LIKE bseg-hkont, "Gl account
mwskz LIKE bseg-mwskz, "Tax Code
dmbtr LIKE bseg-dmbtr, "Amount
ebeln LIKE bseg-ebeln, "Purchasing Document
ebelp LIKE bseg-ebelp, "line item nbr
hwbas LIKE bseg-hwbas, "Base amount
shkzg LIKE bseg-shkzg, "Debit/Credit code
gjahr LIKE bsik-gjahr, "Fiscal Year
bldat LIKE bsik-bldat, "Document Date
budat LIKE bsik-budat, "Posting Date
lifnr LIKE bsik-lifnr, "Vendor number
xblnr LIKE mkpf-xblnr, "Ven invoice nbr
name1(25), "name1
ort01 LIKE lfa1-ort01, "City
j_1ilstno LIKE j_1imovend-j_1ilstno, " Vendor tin nbr
regio LIKE lfa1-regio, "Region Code
bezei LIKE t005u-bezei, "Region desc
dmbtr1 LIKE bseg-dmbtr, "Amount
hwbas1 LIKE bseg-hwbas, "Base amount
END OF itab.
DATA:
v_bldat TYPE bldat,
v_budat TYPE budat,
v_lifnr TYPE lifnr,
v_name1 TYPE name1,
v_ebeln TYPE ebeln,
v_mwskz TYPE mwskz,
v_dmbtr TYPE dmbtr,
v_hwbas TYPE hwbas,
v_xblnr TYPE xblnr.
DATA : BEGIN OF itab1 OCCURS 0.
INCLUDE STRUCTURE itab.
DATA:END OF itab1.
DATA : BEGIN OF itab2 OCCURS 0.
INCLUDE STRUCTURE itab.
DATA : END OF itab2.
DATA : itab3 LIKE STANDARD TABLE OF itab2 WITH HEADER LINE.
***********************************Purchase order history
DATA: BEGIN OF bet OCCURS 50.
INCLUDE STRUCTURE ekbe.
DATA: END OF bet.
DATA: BEGIN OF bzt OCCURS 50.
INCLUDE STRUCTURE ekbz.
DATA: END OF bzt.
DATA: BEGIN OF betz OCCURS 50.
INCLUDE STRUCTURE ekbez.
DATA: END OF betz.
DATA: BEGIN OF bets OCCURS 50.
INCLUDE STRUCTURE ekbes.
DATA: END OF bets.
DATA: BEGIN OF xekbnk OCCURS 10.
INCLUDE STRUCTURE ekbnk.
DATA: END OF xekbnk.
DATA : w_container TYPE scrfname VALUE 'CL_GRID',
w_cprog TYPE lvc_s_layo,
g_repid LIKE sy-repid,
w_save TYPE c,
w_exit TYPE c,
cl_grid TYPE REF TO cl_gui_alv_grid,
cl_custom_container TYPE REF TO cl_gui_custom_container,
it_fld_catalog TYPE slis_t_fieldcat_alv,
wa_fld_catalog TYPE slis_t_fieldcat_alv WITH HEADER LINE ,
layout TYPE slis_layout_alv,
col_pos LIKE sy-cucol ,
alvfc TYPE slis_t_fieldcat_alv.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : hkont LIKE bseg-hkont OBLIGATORY. "GL Code
*SELECT-OPTIONS : hkont FOR bseg-hkont .
SELECT-OPTIONS : belnr FOR bsik-belnr .
SELECT-OPTIONS : gjahr FOR bsik-gjahr .
SELECT-OPTIONS : bldat FOR bsik-bldat.
SELECT-OPTIONS : budat FOR bsik-budat.
SELECTION-SCREEN : END OF BLOCK b1.
PERFORM fill_catalog1 USING:
'HKONT' 'ITAB2' 'G/L Code' ,
'BELNR' 'ITAB2' 'Document Number',
'GJAHR' 'ITAB2' 'Year',
'BLDAT' 'ITAB2' 'Doc. date' ,
'BUDAT' 'ITAB2' 'Posting Date',
'LIFNR' 'ITAB2' 'Vendor',
'NAME1' 'ITAB2' 'Name',
'EBELN' 'ITAB2' 'Purchasing Document',
'MWSKZ' 'ITAB2' 'Tax Code',
'HWBAS' 'ITAB2' 'Base Amount',
'DMBTR' 'ITAB2' 'Tax Amount',
'XBLNR' 'ITAB2' 'Vendor Inv. No.'.
SELECT DISTINCT hkont belnr gjahr bldat budat INTO CORRESPONDING FIELDS OF TABLE itab
FROM bsis
WHERE bukrs = '1000'
AND hkont = hkont
AND belnr IN belnr
AND gjahr IN gjahr
AND bldat IN bldat
AND budat IN budat.
SORT itab BY belnr.
LOOP AT itab.
SELECT * FROM bseg WHERE belnr = itab-belnr AND gjahr = itab-gjahr
AND bukrs = '1000'
AND ( ebeln <> ' ' OR hkont = hkont ).
IF sy-subrc = 0.
itab-buzei = bseg-buzei.
itab-mwskz = bseg-mwskz.
IF bseg-ebeln <> ' '.
itab-ebeln = bseg-ebeln.
itab-ebelp = bseg-ebelp.
MODIFY itab.
ENDIF.
IF bseg-hkont = hkont.
itab-shkzg = bseg-shkzg.
itab-hwbas = bseg-hwbas.
itab-dmbtr = bseg-dmbtr.
IF itab-shkzg = 'H'.
itab-dmbtr = itab-dmbtr * ( -1 ).
ENDIF.
MOVE-CORRESPONDING itab TO itab2.
APPEND itab2.
ENDIF.
ENDIF.
ENDSELECT.
ENDLOOP.
LOOP AT itab2.
SELECT SINGLE * FROM ekko WHERE ebeln = itab2-ebeln.
IF sy-subrc = 0.
itab2-lifnr = ekko-lifnr.
ENDIF.
CALL FUNCTION 'ME_READ_HISTORY'
EXPORTING
ebeln = itab2-ebeln
ebelp = itab2-ebelp
webre = 'X'
TABLES
xekbe = bet
xekbz = bzt
xekbes = bets
xekbez = betz
xekbnk = xekbnk.
itab2-xblnr = bet-xblnr.
SELECT SINGLE * FROM lfa1 WHERE lifnr = itab2-lifnr.
itab2-name1 = lfa1-name1.
itab2-ort01 = lfa1-ort01.
itab2-regio = lfa1-regio.
SELECT SINGLE * FROM t005u WHERE bland = itab2-regio
AND spras = 'EN'
AND land1 = 'IN'.
itab2-bezei = t005u-bezei.
SELECT SINGLE * FROM j_1imovend WHERE lifnr = itab2-lifnr.
IF sy-subrc = 0 .
itab2-j_1ilstno = j_1imovend-j_1ilstno. " Vendor tin nbr
ENDIF.
MODIFY itab2.
ENDLOOP.
SORT itab2 BY belnr.
LOOP AT itab2.
v_dmbtr = v_dmbtr + itab2-dmbtr.
v_hwbas = v_hwbas + itab2-hwbas.
v_bldat = itab2-bldat.
v_budat = itab2-budat.
v_lifnr = itab2-lifnr.
v_name1 = itab2-name1.
v_ebeln = itab2-ebeln.
v_mwskz = itab2-mwskz.
v_xblnr = itab2-xblnr.
AT END OF belnr.
itab2-bldat = v_bldat.
itab2-budat = v_budat.
itab2-lifnr = v_lifnr.
itab2-name1 = v_name1.
itab2-ebeln = v_ebeln.
itab2-mwskz = v_mwskz.
itab2-dmbtr = v_dmbtr.
itab2-hwbas = v_hwbas.
itab2-xblnr = v_xblnr.
APPEND itab2 TO itab3.
CLEAR: itab2, v_dmbtr, v_hwbas, v_bldat, v_budat, v_lifnr, v_name1, v_ebeln, v_mwskz, v_xblnr.
ENDAT.
ENDLOOP.
layout-zebra = 'X' .
layout-colwidth_optimize(1) = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'ZAK_FORM_C4'
is_layout = layout
it_fieldcat = it_fld_catalog
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = itab3
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 FILL_CATALOG1
* text
* -->P_FIELDNAME text
* -->P_REF_TABLE text
* -->P_SCRTEXT text
FORM fill_catalog1 USING p_fieldname TYPE any
p_ref_table TYPE any
p_scrtext TYPE any.
CLEAR : wa_fld_catalog.
wa_fld_catalog-fieldname = p_fieldname.
wa_fld_catalog-tabname = p_ref_table.
wa_fld_catalog-seltext_s = p_scrtext.
wa_fld_catalog-seltext_m = p_scrtext.
wa_fld_catalog-seltext_l = p_scrtext.
* wa_fld_catalog-datatype = 'CURR'.
wa_fld_catalog-outputlen = 20.
APPEND wa_fld_catalog TO it_fld_catalog.
ENDFORM. " fill_catalog1.
Plz help....
Edited by: Prince Kumar on Jan 16, 2009 12:29 PM
Edited by: Vijay Babu Dudla on Jan 16, 2009 4:27 AMHi Dear,
Thanks for reply....
I use this code, in the LOOP AT ITAB...
IF bseg-ebeln = ' ' AND bseg-KOART eq 'K' .
itab-lifnr = bseg-lifnr.
ENDIF.
But, not working....means its not displaying Vendor name against Document Number in BSEG.
Plz let me know...How...where i can change,,, -
Type Column for Email is not coming in Business context
Hi All,
I have enhanced the component ICCMP_BT_BCXT.
I am able to get the required values in business context.
I get hyperlinks in the TYPE column for customer follow-up/interaction record.
But when email is sent then TYPE column does not show the hyperlink as Email.
Other details like key/description are occuring for email.
Any pointers on how to get the hyperlink for Email.
Thanks and Regards,
Gauri.Hi,
by default when you get the hyperlink for interations record/followup document, its logical because on click on this hyperlink, system takes you to the interaction record/Followup document that is linked.
If you set it to email, and if we provide hyperlink to it, where should it navigate on click of the hyperlink ?
Its very easy to provide the hyperlink however it is very important to know what is required on click of the hyperlink, to give the right design .
Thanks & Regards
Suchita -
Element Entries for some employee not coming
Dear All
I am facing a problem in element entries. Let me take you step by step.
1 - I defined 7 employees and obviously one is assigned as CEO and other as management and supervisors grade.
2 - Suppose Mr. A is a CEO and MR. Z is a supervisor.
3 - I created elements name Company Car element and COLA allowance element.
4 - I created element link and provided Company Car element to a person having position of CEO and grade of Executive.
5 - I created another element link and provided COLA allowance element to supervisors with standard check box checked.
6 - when i returned to employee form to confirm the element entries then their i found that list of value containing entries of company car allowance for CEO is coming in element entries form, but when i check for supervisors then in entries form list of values containing no entries.
Note: Effective date for all the entries i took is 01-Jan-2009. I am setting up all the setup on vision instance.
Can any one share the idea what could be going wrong.Duplicate thread
trouble creating element entries -
RIght now I bought an app hoping it is for iPad but it is not. I want to return it. How can I do that?
FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
Phone: 800-275-2273 How to reach a live person: Press 0 four times
Hours of Operation: Mon-Fri: 9am-5pm ET
Email: [email protected]
How to report an issue with Your iTunes Store purchase
http://support.apple.com/kb/HT1933
iTunes Purchase Problems: How to Report a Problem to iTunes Support
http://tinyurl.com/7tscpa7
How to Get a Refund from the App Store
http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
Canceling a Digital Subscription
http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
Cheers, Tom -
Descriptions for attributes is not coming in PPOMA_BBP
Hi Friends,
We are facing a problem.
We have maintained the attributes for Purchasing Organisation. Currently we can see the description only in english , if we logon using french language we dont get the description.
Though when we check the structure in SE11 where these attributes have been used, we get the description maintained in french too.
How can we overcome this problem?
Thanks in advance.
Regards
SohitHi,
Are you referring that you could not view your Purchasing Organization text description in French? All the object and text wrt to language is maintained should appears in table HRP1000. Take a look if your P.Org object is maintained in french.
Regards. -
Output not coming right, if we give LIFNR in selection screen
Hi,
i have LIFNR in selection screen, when i execute my report without inserting value in it...output is proper coming, but when i insert value in LIFNR, report doesn't display any data...
please check my code and guide me...
TABLES : bsik,bkpf,bseg,j_1imovend,lfa1,t001,t005u,bsak,ekko,bsis, ekkn, anla, anlc.
TYPE-POOLS : slis.
DATA : BEGIN OF itab OCCURS 0,
belnr LIKE bsik-belnr, "Document number
buzei LIKE bseg-buzei, "line item
hkont LIKE bseg-hkont, "Gl account
mwskz LIKE bseg-mwskz, "Tax Code
dmbtr LIKE bseg-dmbtr, "Amount
ebeln LIKE bseg-ebeln, "Purchasing Document
ebelp LIKE bseg-ebelp, "line item nbr
hwbas TYPE i,
shkzg LIKE bseg-shkzg, "Debit/Credit code
wrbtr LIKE bseg-wrbtr,
gjahr LIKE bsik-gjahr, "Fiscal Year
bldat LIKE bsik-bldat, "Document Date
budat LIKE bsik-budat, "Posting Date
lifnr LIKE bsik-lifnr, "Vendor number
xblnr LIKE mkpf-xblnr, "Ven invoice nbr
name1(25), "name1
ort01 LIKE lfa1-ort01, "City
j_1ilstno LIKE j_1imovend-j_1ilstno, " Vendor tin nbr
regio LIKE lfa1-regio, "Region Code
bezei LIKE t005u-bezei, "Region desc
bland LIKE t005u-bland,
tax TYPE p DECIMALS 2,
matkl LIKE ekpo-matkl,
END OF itab.
DATA : x TYPE bseg-lifnr,
y TYPE j_1imovend-j_1ilstno,
z TYPE bseg-mwskz,
a TYPE bseg-hwbas,
b TYPE t005u-bezei.
DATA:
v_bldat TYPE bldat,
v_budat TYPE budat,
v_gjahr TYPE gjahr,
v_lifnr TYPE lifnr,
v_name1 TYPE name1,
v_j_1ilstno TYPE j_1ilstno,
v_bezei TYPE bezei,
v_ebeln TYPE ebeln,
v_mwskz TYPE mwskz,
v_dmbtr TYPE dmbtr,
v_hwbas TYPE hwbas,
v_xblnr TYPE xblnr,
v_buzei TYPE buzei,
v_wrbtr TYPE wrbtr,
v_matkl TYPE matkl,
v_tax TYPE i,
v_regio TYPE regio,
v_hkont TYPE hkont.
DATA : BEGIN OF itab1 OCCURS 0.
INCLUDE STRUCTURE itab.
DATA:END OF itab1.
DATA : BEGIN OF itab2 OCCURS 0.
INCLUDE STRUCTURE itab.
DATA : END OF itab2.
DATA : itab3 LIKE STANDARD TABLE OF itab2 WITH HEADER LINE.
***********************************Purchase order history
DATA: BEGIN OF bet OCCURS 50.
INCLUDE STRUCTURE ekbe.
DATA: END OF bet.
DATA: BEGIN OF bzt OCCURS 50.
INCLUDE STRUCTURE ekbz.
DATA: END OF bzt.
DATA: BEGIN OF betz OCCURS 50.
INCLUDE STRUCTURE ekbez.
DATA: END OF betz.
DATA: BEGIN OF bets OCCURS 50.
INCLUDE STRUCTURE ekbes.
DATA: END OF bets.
DATA: BEGIN OF xekbnk OCCURS 10.
INCLUDE STRUCTURE ekbnk.
DATA: END OF xekbnk.
DATA : w_container TYPE scrfname VALUE 'CL_GRID',
w_cprog TYPE lvc_s_layo,
g_repid LIKE sy-repid,
w_save TYPE c,
w_exit TYPE c,
cl_grid TYPE REF TO cl_gui_alv_grid,
cl_custom_container TYPE REF TO cl_gui_custom_container,
it_fld_catalog TYPE slis_t_fieldcat_alv,
wa_fld_catalog TYPE slis_t_fieldcat_alv WITH HEADER LINE ,
layout TYPE slis_layout_alv,
col_pos LIKE sy-cucol ,
alvfc TYPE slis_t_fieldcat_alv.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : hkont FOR bsis-hkont ."OBLIGATORY.
SELECT-OPTIONS : lifnr FOR bsik-lifnr ."OBLIGATORY.
*PARAMETERS : lifnr for bsik-lifnr.
SELECT-OPTIONS : belnr FOR bsik-belnr .
SELECT-OPTIONS : gjahr FOR bsik-gjahr .
SELECT-OPTIONS : bldat FOR bsik-bldat.
SELECT-OPTIONS : budat FOR bsik-budat.
SELECTION-SCREEN : END OF BLOCK b1.
PERFORM fill_catalog1 USING:
'HKONT' 'ITAB2' 'G/L',
'BELNR' 'ITAB2' 'Document Number',
'BLDAT' 'ITAB2' 'Doc. date' ,
'BUDAT' 'ITAB2' 'Posting Date',
'LIFNR' 'ITAB2' 'Vendor',
'NAME1' 'ITAB2' 'Name',
'J_1ILSTNO' 'ITAB2' 'TIN No.',
'BEZEI' 'ITAB2' 'Region',
'MATKL' 'ITAB2' 'Material Group',
'EBELN' 'ITAB2' 'Purchasing Document',
'MWSKZ' 'ITAB2' 'Tax Code',
'HWBAS' 'ITAB2' 'Base Amount',
'DMBTR' 'ITAB2' 'Tax Amount',
'TAX' 'ITAB2' 'Tax Rate',
'XBLNR' 'ITAB2' 'Vendor Inv. No.'.
SELECT DISTINCT hkont belnr gjahr bldat budat INTO CORRESPONDING FIELDS OF TABLE itab
FROM bsis
WHERE bukrs = '1000'
AND hkont IN hkont
AND belnr IN belnr
AND gjahr IN gjahr
AND bldat IN bldat
AND budat IN budat
AND blart <> 'JV'.
SORT itab BY belnr.
LOOP AT itab.
SELECT * FROM bseg WHERE belnr = itab-belnr AND gjahr = itab-gjahr AND bukrs = '1000' AND ( ebeln <> ' ' OR hkont IN hkont ).
IF sy-subrc = 0.
itab-buzei = bseg-buzei.
itab-mwskz = bseg-mwskz.
IF bseg-ebeln <> ' '.
itab-ebeln = bseg-ebeln.
itab-ebelp = bseg-ebelp.
MODIFY itab.
ENDIF.
IF bseg-hkont = itab-hkont.
itab-shkzg = bseg-shkzg.
itab-hwbas = bseg-hwbas.
itab-dmbtr = bseg-dmbtr.
IF itab-hwbas NE '0'.
itab-tax = itab-dmbtr / itab-hwbas * 100.
MODIFY itab INDEX sy-tabix TRANSPORTING tax.
ENDIF.
IF itab-shkzg = 'H'.
itab-dmbtr = itab-dmbtr * ( -1 ).
ENDIF.
MOVE-CORRESPONDING itab TO itab2.
APPEND itab2.
ENDIF.
ENDIF.
ENDSELECT.
ENDLOOP.
LOOP AT itab2.
SELECT SINGLE * FROM ekko WHERE ebeln = itab2-ebeln .
IF sy-subrc = 0.
itab2-lifnr = ekko-lifnr.
ENDIF.
CALL FUNCTION 'ME_READ_HISTORY'
EXPORTING
ebeln = itab2-ebeln
ebelp = itab2-ebelp
webre = 'X'
TABLES
xekbe = bet
xekbz = bzt
xekbes = bets
xekbez = betz
xekbnk = xekbnk.
itab2-xblnr = bet-xblnr.
SELECT SINGLE * FROM lfa1 WHERE lifnr = itab2-lifnr.
itab2-name1 = lfa1-name1.
itab2-ort01 = lfa1-ort01.
itab2-regio = lfa1-regio.
SELECT SINGLE * FROM t005u WHERE bland = itab2-regio
AND spras = 'EN'
AND land1 = 'IN'.
itab2-bezei = t005u-bezei.
SELECT SINGLE * FROM j_1imovend WHERE lifnr = itab2-lifnr.
IF sy-subrc = 0 .
itab2-j_1ilstno = j_1imovend-j_1ilstno. " Vendor tin nbr
ENDIF.
MODIFY itab2.
ENDLOOP.
SORT itab2 BY belnr.
LOOP AT itab2.
v_dmbtr = v_dmbtr + itab2-dmbtr.
v_hwbas = v_hwbas + itab2-hwbas.
v_bldat = itab2-bldat.
v_budat = itab2-budat.
v_gjahr = itab2-gjahr.
v_lifnr = itab2-lifnr.
v_name1 = itab2-name1.
v_j_1ilstno = itab2-j_1ilstno.
v_bezei = itab2-bezei.
v_ebeln = itab2-ebeln.
v_mwskz = itab2-mwskz.
v_xblnr = itab2-xblnr.
v_buzei = itab2-buzei.
v_wrbtr = itab2-wrbtr.
v_matkl = itab2-matkl.
v_tax = itab2-tax.
v_regio = itab2-regio.
v_hkont = itab2-hkont.
AT END OF belnr.
itab2-bldat = v_bldat.
itab2-budat = v_budat.
itab2-gjahr = v_gjahr.
itab2-lifnr = v_lifnr.
itab2-name1 = v_name1.
itab2-j_1ilstno = v_j_1ilstno.
itab2-bezei = v_bezei.
itab2-ebeln = v_ebeln.
itab2-mwskz = v_mwskz.
itab2-dmbtr = v_dmbtr.
itab2-hwbas = v_hwbas.
itab2-xblnr = v_xblnr.
itab2-buzei = v_buzei.
itab2-wrbtr = v_wrbtr.
itab2-matkl = v_matkl.
itab2-tax = v_tax.
itab2-regio = v_regio.
itab2-hkont = v_hkont.
APPEND itab2 TO itab3.
CLEAR: itab2, v_dmbtr, v_hwbas, v_bldat, v_budat, v_gjahr, v_lifnr, v_name1, v_j_1ilstno, v_ebeln,
v_mwskz, v_xblnr, v_buzei, v_wrbtr, v_matkl, v_tax, v_regio, v_hkont.
ENDAT.
ENDLOOP.
LOOP AT itab3.
IF itab3-lifnr = ' '.
SELECT SINGLE lifnr FROM bseg INTO x WHERE belnr = itab3-belnr AND gjahr = itab3-gjahr AND bukrs = '1000' AND koart = 'K'." AND lifnr IN lifnr.
IF sy-subrc = 0.
itab3-lifnr = x .
SELECT SINGLE * FROM lfa1 WHERE lifnr = itab3-lifnr.
itab3-name1 = lfa1-name1.
itab3-ort01 = lfa1-ort01.
itab3-regio = lfa1-regio.
MODIFY itab3.
ENDIF.
ENDIF.
SELECT SINGLE bezei FROM t005u INTO itab3-bezei WHERE bland = itab3-regio AND spras EQ 'EN' AND land1 EQ 'IN'.
MODIFY itab3 INDEX sy-tabix TRANSPORTING bezei.
SELECT j_1ilstno FROM j_1imovend INTO y WHERE lifnr = itab3-lifnr .
itab3-j_1ilstno = y.
MODIFY itab3 INDEX sy-tabix TRANSPORTING j_1ilstno .
ENDSELECT.
SELECT mwskz FROM bseg INTO z WHERE belnr = itab3-belnr AND gjahr = itab3-gjahr AND bukrs = '1000' .
MODIFY itab3 INDEX sy-tabix TRANSPORTING mwskz .
ENDSELECT.
IF sy-subrc = 0.
itab3-mwskz = z .
MODIFY itab3.
ENDIF.
IF itab3-hwbas = ' '.
SELECT wrbtr FROM bseg INTO itab3-hwbas WHERE belnr = itab3-belnr AND gjahr = itab3-gjahr AND bukrs = '1000' AND buzei = '2'.
MODIFY itab3 INDEX sy-tabix TRANSPORTING wrbtr.
ENDSELECT.
ENDIF.
SELECT matkl FROM ekpo INTO itab3-matkl WHERE ebeln = itab3-ebeln .
MODIFY itab3 INDEX sy-tabix TRANSPORTING matkl .
ENDSELECT.
SHIFT itab3-lifnr LEFT DELETING LEADING '0'. " For Removing 0's
SHIFT itab3-hkont LEFT DELETING LEADING '0'. " For Removing 0's
MODIFY itab3.
IF itab3-hwbas NE '0'.
itab3-tax = itab3-dmbtr / itab3-hwbas * 100.
MODIFY itab3 INDEX sy-tabix TRANSPORTING tax.
ENDIF.
ENDLOOP.
layout-zebra = 'X' .
layout-colwidth_optimize(1) = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'ZFI_LP07'
is_layout = layout
it_fieldcat = it_fld_catalog
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = itab3
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 FILL_CATALOG1
text
-->P_FIELDNAME text
-->P_REF_TABLE text
-->P_SCRTEXT text
FORM fill_catalog1 USING p_fieldname TYPE any
p_ref_table TYPE any
p_scrtext TYPE any.
CLEAR : wa_fld_catalog.
wa_fld_catalog-fieldname = p_fieldname.
wa_fld_catalog-tabname = p_ref_table.
wa_fld_catalog-seltext_s = p_scrtext.
wa_fld_catalog-seltext_m = p_scrtext.
wa_fld_catalog-seltext_l = p_scrtext.
wa_fld_catalog-datatype = 'CURR'.
wa_fld_catalog-outputlen = 20.
APPEND wa_fld_catalog TO it_fld_catalog.
ENDFORM. " fill_catalog1.
ThanksHi Anil,
check for the availability of records for values entered in selection screen lifnr..
select single lifnr
into wa_lifnr
from lfa1
where lifnr in s_lifnr.
check sy-subrc.
Regards,
Mdi.Deeba -
Two proposed solutions for iOS TOS not allowing runtime code
I understand that loading runtime code is prohibited by Apple iOS TOS. Fine. I am willing to compile all my resources into one big SWF to get the job done to meet the legal requirements.
However, in our setup (and I imagine for many projects) it's not possible to do this easily. Different SWFs are owned by different teams - it's actually part of what makes the Flash ecosystem so great and the workflows so powerful.
The easiest solution is embedding all my assets, which I assumed would work but it didn't, becasue the [Embed] tag uses Loader, which under iOS nixes embedded actionscript.
Porposed solution #1:
It seems to me to be in the spirit of the TOS to allow actionscript code in SWFs that are embedded into the iOS actionscript code, because all of this code was available at compile-time and at packaging-time.
[Embed(source="myAnim.swf")]
private var anim:Class;
Code in the embedded myAnim.swf should be allowed. Technically the only reason it isn't is because embed's result in a Loader - merely an implementation detail. If this isn't acceptable...
Propsed solution #2:
What about a new feature to meet this need: [LinkedEmbed] that results in a statically linked class compiled at compile-time and not Loaded at runtime?
[LinkedEmbed(source="myAnim.swf")]
private var anim:Class;
Thanks for your time and consideration,
-JeffOk, truth in advertising, these aren't "solutions" in the sense that they don't allow runtime code, but they are workarounds to ease the transition of Flash-platform workflows to iOS, which is what AIR is supposed to be all about.
-
Dynamic Texts from Bex ( for Key Figures ) not coming to WEBI Query
Hi Gurus,
We have a Query in BEx : Each Key figure column text changes dynamically - Like based on Present month
it will Display Month +1 Month +2 up to Month +12. Used dynamic Text variables .
But when i created the universe and Webi report , i am missing the text in the column for Key figures .
How should i get the column text in Webi which is same as in Bex : Points will be awarded for helpful
answers.
Thanks
MaggeHi,
text variables with replacement path are supported in BO4.0, see following document: SAP BusinessObjects BI4 - Supported BEx Query Elements
As an example after entering 2012 in the prompts window, the name of the corresponding key figure will dynamically change:
After refreshing and selecting 2013, the column name will update:
Im not sure though if this is the case with unv universe access to BEx queries.
Best regards,
Victor
Maybe you are looking for
-
How to determine the user who placed a certain concurrent request?
Hi there, Is there a way (SQL query, for example) that can help me determine the user (EBS username) who placed a certain concurrent request? Thanks, Tareq
-
Read number of XML nodes in a document& return result in text member
Hi all, I wonder if you can help me with the following: I want to read the number of nodes in an XML document and return the result in a text cast member. This is what i am doing so far, but it refuses to work
-
Indesign CS5 application crash
Problem details below. Problem signature: Problem Event Name: APPCRASH Application Name: InDesign.exe Application Version: 7.0.0.355 Application Timestamp:
-
CW LMS 2.5 deamon manager not starting win2000
For some reason the deamon manager service on this server refuses to start. Here is what I see when trying to start: error 1053. The service did not respond to the start or control request in a timely fashion. I tried to reboot the server, no luck. t
-
AE CS5 says missing component and refuses to fireup
after effects could not start because a required component could not be found. this may be because of a damaged installation or unsupported operating system. Please consult the minimum requiremtns of re install After Effects. (998) thats the error me