SAP LSMW to upload values against characteristics in CL20N
Morning,
I need to upload values against characteristics in transaction code CL20N using LSMW.
I have tried batch input recording method, but I receive the error below.
The setup of characteristics is as follows:
Plants – Upload all plants
Purchasing Groups – Upload all purchasing groups
Cost Centre – Upload cost centres specific to a strategy
Value of PR – Upload PR value specific to a strategy
Account Assignment - – Upload account assignments specific to a strategy
Document Type – Upload document types specific to a strategy
We have over 800 strategies and I need LSMW to upload the characteristics across all 800 strategies.
I started creating a LSMW program by recording the transaction CL20N, but I get the following error:
Error received "Runtime error DYNPRO_NOT_FOUND has occurred"
Please advise or send me user guide on what I need to do to successfully create the LSMW.
See attached screen shots.
Many thanks,
George
Hi George,
For Idoc CLFMAS / CLFMAS02: when updating nodes, add table for nodes OBTAB = 'PNODID'.
For CL24N recording it is the same as other LSMW recodings, use selects if all data isn't available to fill needed recoding fields.
Anete
Similar Messages
-
Verify a value against value set
Hi,
I am trying to import price list lines along with Pricing attribute values.
I have to validate the uploaded values against the pricing attribute value set, before I import them into base tables.
Value set defined is of type table validation.
I wanted to know if there are any public APIs that can be used to validate the value against the Value set values within my PL/SQL procedure
Also please point me to documentation that lists various public PL/SQL APIs
Regards,
MrutyunjayHi,
You can query the fnd_flex_values or fnd_flex_value_segments_vl to find the name of the value set defined.
Another point is that the Value Set is defined of validation type Table so the values are dependent on the base tables.
There are no such API's to cater the need for Verfying a Value against a Value Set.
If u want to search for public API's go to the metalink.
Regards -
Validate a value against table validation value set within PL/SQL
Hi,
I am trying to import price list lines along with Pricing attribute values.
I have to validate the uploaded values against the pricing attribute value set, before I import them into base tables.
Value set defined is of type table validation.
I wanted to know if there are any public APIs that can be used to validate the value against the Value set values within my PL/SQL procedure
Also please point me to documentation that lists various public PL/SQL APIs
Regards,
MrutyunjayYou can find functions and procedure for Value sets in packages FND_FLEX_VAL_API or FND_FLEX_VAL_UTIL.
Example : get_table_vset_select gives you the select statement of your value set. Executing this statement will allow you to validate your values. -
LSMW Direct input method: 0150 Characteristics with Values
I am trying to upload several characteristics with Values using LSMW Direct Input method 0150.I have defined 2 level structure for Characetristic header and values. Have set the relevant indicators as 1 for characterisitc data and 2 for Values. I have set the T-code to CT04.I am trying to upload the data but only Characteristic data is getting generated and not the values. Can anyone help me out as to what may be the reason.
The fields I have in my uploading template is as below:
LINK NAME DESCRIPT STATUS FORMAT LENGTH DECIMALS UNIT WERT
1 TON WEIGHT LIFT CAPACITY 1 NUM 8 0 ton
2 20
2 50
2 60
2 70
2 100
The Fields I have mapped in Source structre are:
Source Fields
CHARACTERISTIC PM Characteristics
LINK C(001) Identify Field Content:1
Identifing Field Content: 1
NAME C(030) Characteristic Name
DESCRIPT C(030) Characteristic description
STATUS C(001) Status of a characteristic
FORMAT C(004) Data Type
LENGTH C(002) Number of Characters
DECIMALS C(002) Number of Decimal Places
UNIT C(006) Unit of Measure, Language-
CHARACTVALUE Characterisitc Values
LINK C(001) Identify field content
Identifing Field Content: 2
BLANK1 C(001) Blank1
BLANK3 C(001) Blank3
BLANK2 C(001) Blank2
BLANK4 C(001) Blank4
BLANK5 C(001) Blank5
BLANK7 C(001) Blank7
BLANK6 C(001) Blank6
WERT C(030) Characteristic Value
Source Structure is:
Source Structures
CHARACTERISTIC PM Characteristics
CHARACTVALUE Characterisitc Values
Structure relation is as below:
Structure Relations
BGR00 Batch Input Structure for Session Data <<<< CHARACTERISTIC PM Characteristics
Select Target Structure BGR00 .
BIMST Batch input for characteristics <<<< CHARACTERISTIC PM Characteristics
Select Target Structure BIMST .
BIMZW Batch Input: Allowed Characteristic Values <<<< CHARACTVALUE Characterisitc Values
Can anyone help me resolve this issue.....
Thanks in advance
MuradHi,
Go through this links its might helpfull to you.
Re: Porblem during characteristics LSMW
Assigning Characteristics to a class using LSMW
Issues Uploading Characteristics Data into SAP Using LSMW
LSMW: CHaracteristics Load
Thank you, -
PO Order value against Contract
Hi,
I am loading data from 2lis_02_hdr, 2lis_02_itm, 2lis_02_scl datasources in to cusotmized cube.
In the ITM datasource we have fields EBELN(PO Number), KONNR(Agreement number), and we have a filed NETWR(Net Order value) against the PO number.
Here requirement is they want report which contain Target value(KTWRT), Order Value(NETWR) against Agreement no(KONNR).
In the customized cube I consider Agreement and Agreement Item fileds as per requirment
I have created query with the following navigations:
I restricted PO number with Doc type=WK (for Agrement number)
selcted PO number in Rows
selected Target value and Order value in columns.
In Query Output it is not showing Order value against the Agreement number,
As we know One Agrement number can have more than One PO's but in datasource level he maintains Order value against PO number.
So How will I get the Order value against Aggrement number..what calculations are required at what level..if routines required let me know the code in brief
Thanks in Advance
I will assign points for each reply..please help out this problem immediately..hi,
Wht exactly do you need??
yes, once you use del. comp. indicator and then you post the doc. later, the qty remains same it doesn't get updated bcoz by default system updates it in PO History...
Why do you want same with GR?? Why you wanna keep GR histories?? it'll increase complications and will create problem while invoicing and that the reason sap has not provided it...
Regards
Priyanka.P -
'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Hello Experts:
I am facing the following problem:
While uploading G/L master data with the BDC program, 'create' push button is not working even after executing following lines.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ACC_CRE'.
Create G/L account screen is not coming in BDC. Please suggest me what to do.
Thanks !!Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Hi Glen Anthony
Thank you for the reply Glen Anthony please take a look at the following code.
REPORT ZFI_BDC_FS00
NO STANDARD PAGE HEADING LINE-SIZE 255.
*INCLUDE BDCRECX1.
TYPES : BEGIN OF STR,
BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS, "Company Code
SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR, "G/L Account Number
KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS, "G/L Account Group
XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT, "P&L statement account
XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK, "Indicator: Account is a balance sheet account?
TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML, "G/L account short text
TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML, "G/L account short text
WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS, "Account currency
XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH, "Indicator: Only Manage Balances in Local Currency
MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ, "Tax Category in Account Master Record
XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO, "Indicator: Tax code is not a required field
MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ, "Account is reconciliation account
XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW, "Indicator: Open item management?
XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES, "Indicator: Can Line Items Be Displayed by Account?
ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA, "Key for sorting according to assignment numbers
FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG, "Field status group
XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB, "Indicator: Is account only posted to automatically?
END OF STR.
DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
TXT(4096) TYPE C OCCURS 0,
MSG TYPE STRING,
COUNT(5) TYPE N.
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
SELECTION-SCREEN : END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
* FIELD_NAME = ' '
IMPORTING
FILE_NAME = MY_FILE
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR =
* I_LINE_HEADER =
I_TAB_RAW_DATA = TXT
I_FILENAME = MY_FILE
TABLES
I_TAB_CONVERTED_DATA = ITAB[]
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* IMPLEMENT SUITABLE ERROR HANDLING HERE
ENDIF.
START-OF-SELECTION.
COUNT = 0.
LOOP AT ITAB.
*PERFORM OPEN_GROUP.
REFRESH IT_BDCDATA.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_KEY-BUKRS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ACC_CRE'.
*PERFORM BDC_FIELD USING 'BDC_CURSOR'
* 'GLACCOUNT_SCREEN_KEY-BUKRS'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
ITAB-SAKNR. "'5'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
ITAB-BUKRS. "'TATA'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=2102_GROUP'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-KTOKS'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
ITAB-XPLACCT. "'X'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=2102_BS_PL'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-XBILK'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
ITAB-XPLACCT. "''.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XBILK'
ITAB-XBILK. "'X'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=TAB02'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XBILK'
ITAB-XBILK. "'X'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-TXT50_ML'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
ITAB-TXT20_ML. "'G/L ACCOUNT'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
ITAB-TXT50_ML. "'G/L ACCOUNT'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=TAB03'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
ITAB-WAERS. "'INR'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
ITAB-XSALH. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
ITAB-MWSKZ. "'*'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
ITAB-XMWNO. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
ITAB-MITKZ. "''.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
ITAB-XOPVW. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
ITAB-XKRES. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
ITAB-ZUAWA. "'1'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=SAVE'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-XINTB'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
ITAB-FSTAG. "'G019'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
ITAB-XINTB. "'X'.
*PERFORM BDC_TRANSACTION USING 'FS00'.
CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
COUNT = COUNT + 1.
*PERFORM CLOSE_GROUP.
ENDLOOP.
CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
MESSAGE MSG TYPE 'I'.
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR IT_BDCDATA.
IT_BDCDATA-PROGRAM = PROGRAM.
IT_BDCDATA-DYNPRO = DYNPRO.
IT_BDCDATA-DYNBEGIN = 'X'.
APPEND IT_BDCDATA.
ENDFORM.
* INSERT FIELD *
FORM BDC_FIELD USING FNAM FVAL.
* IF FVAL <> NODATA.
CLEAR IT_BDCDATA.
IT_BDCDATA-FNAM = FNAM.
IT_BDCDATA-FVAL = FVAL.
APPEND IT_BDCDATA.
* ENDIF.
ENDFORM. -
LSMW to upload documents in DMS
Hello guys
Can we use LSMW to upload large number of documents at once?
If yes, please list the detailed steps. I have never used LSMW before.
So keeping that in mind, please respond in detail.
Looking forward to your replies
Thanks a lot
Best Regards
AmareshHi Amaresh
There is a good tutorial on lsmw in sap technicaldotcom. It would be useful to you definitely.
Prasad K -
Hi All,
can any one tell me how to write LSMW for uploading PO text, as I am having only material no and po text I want to modify all material and update po text only
thanksHi
look at this..
<b>http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm</b>
Reward if useful
Anji -
Please enter valid value for characteristics
Hi,
One of our user got this error when opening a query Please enter valid value for characteristics.
How do I fix this since I couldn't see any errors in SU53 and authourization logs.
thanksHi Bhat,
Check SAP notes : 1077144
Thanks,
Vijay. -
My requirement is to upload values to Transaction FB50 . Could any help me in getting the Method I have to use in LSMW?..
Thanks youbdc
Re: Custom BAPI for FB50 or FB50L for Parking FI document..
else bapi
u can use the bapi 'BAPI_ACC_GL_POSTING_POST'.
and i think you can also write a bdc in your own bapi too.
Look at the sample code....................
loop at podoc_it.
clear: offset_it, it_hdr, it_gl, it_curr.
refresh: it_hdr, it_gl, it_curr.
read table offset_it with key bukrs = podoc_it-bukrs
saknr = podoc_it-hkont.
Header Data
it_hdr-comp_code = podoc_it-bukrs.
it_hdr-doc_date = sy-datum.
it_hdr-pstng_date = sy-datum.
it_hdr-doc_type = podoc_it-blart.
it_hdr-ref_doc_no = bkpf_it-xblnr.
it_hdr-username = sy-uname.
it_hdr-bus_act = 'RFBU'.
IF podoc_it-shkzg = 'S'.
First Item
Account number
it_gl-itemno_acc = '1'.
it_gl-gl_account = podoc_it-hkont.
it_gl-item_text = podoc_it-sgtxt.
it_gl-fis_period = v_monat.
it_gl-fisc_year = v_gjahr.
it_gl-acct_key = 'A00'.
APPEND it_gl.
Second Item
Account number
it_gl-itemno_acc = '2'.
it_gl-gl_account = offset_it-osaknr.
it_gl-item_text = podoc_it-sgtxt.
it_gl-fis_period = v_monat.
it_gl-fisc_year = v_gjahr.
it_gl-acct_key = 'A00'.
APPEND it_gl.
Set amount
it_curr-itemno_acc = '1'.
it_curr-currency = podoc_it-waers.
it_curr-amt_doccur = podoc_it-wrbtr.
APPEND it_curr.
it_curr-itemno_acc = '2'.
it_curr-currency = podoc_it-waers.
it_curr-amt_doccur = podoc_it-wrbtr.
it_curr-amt_doccur = it_curr-amt_doccur * -1.
APPEND it_curr.
ELSE.
First Item
Account number
it_gl-itemno_acc = '1'.
it_gl-gl_account = podoc_it-hkont.
it_gl-item_text = podoc_it-sgtxt.
it_gl-fis_period = v_monat.
it_gl-fisc_year = v_gjahr.
it_gl-acct_key = 'A00'.
APPEND it_gl.
Second Item
Account number
it_gl-itemno_acc = '2'.
it_gl-gl_account = offset_it-osaknr.
it_gl-item_text = podoc_it-sgtxt.
it_gl-fis_period = v_monat.
it_gl-fisc_year = v_gjahr.
it_gl-acct_key = 'A00'.
APPEND it_gl.
Set amount
it_curr-itemno_acc = '1'.
it_curr-currency = podoc_it-waers.
it_curr-amt_doccur = podoc_it-wrbtr.
it_curr-amt_doccur = it_curr-amt_doccur * -1.
APPEND it_curr.
it_curr-itemno_acc = '2'.
it_curr-currency = podoc_it-waers.
it_curr-amt_doccur = podoc_it-wrbtr.
APPEND it_curr.
ENDIF.
check posting
CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
EXPORTING
documentheader = it_hdr
TABLES
accountgl = it_gl
currencyamount = it_curr
return = t_result.
LOOP AT t_result WHERE ( type = 'E' OR
type = 'A' ).
EXIT.
ENDLOOP.
IF sy-subrc <> 0.
REFRESH t_result.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = it_hdr
TABLES
accountgl = it_gl
currencyamount = it_curr
return = t_result.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
move: podoc_it-bukrs to doc_it-bukrs,
podoc_it-belnr to doc_it-belnr,
podoc_it-gjahr to doc_it-gjahr,
podoc_it-shkzg to doc_it-shkzg,
podoc_it-hkont to doc_it-hkont,
offset_it-osaknr to doc_it-osaknr.
ENDIF.
Print Message
LOOP AT t_result.
WRITE: t_result-message.
Get Number
IF t_result-id = 'RW' AND
t_result-number = '605'.
belnr = t_result-message_v2(10).
gjahr = t_result-message_v2+14(4).
ENDIF.
move: belnr to doc_it-obelnr,
gjahr to doc_it-ogjahr.
ENDLOOP.
append doc_it.
clear: doc_it, podoc_it.
endloop.
loop at doc_it.
write:/ doc_it-bukrs,
doc_it-belnr,
doc_it-gjahr,
doc_it-shkzg,
doc_it-hkont,
doc_it-osaknr,
doc_it-obelnr,
doc_it-ogjahr.
endloop.
Look at the example code for that.......
Re: BAPI - - POINTS guarenteed !!!! -
How to upload values for Territory attributes.
Hi Is there any standard SAP practice to upload territory attribute values. i could see we can upload territory structure in sap. but attribute values is there any way ?
thanks
chapHi Chap,
If you are planning to create territory attributes via CRM GUI then please refer to the below link. This is what immediately I can suggest. Meanwhile I will let you know the programmatic approach if I find one.
Re: To Add attribute in Territory Management
<b>Reward if helps</b>
Regards,
Paul Kondaveeti -
Use of makit chart for multiple values against month
Hi all,
here is my test data:
var testDate = { mycollection : [ {Consumption : 200, Consumption1 : 170, ReadingDateTime: February},
{Consumption : 300, Consumption1 : 170, ReadingDateTime: March},
{Consumption : 200, Consumption1 : 130, ReadingDateTime: April},
{Consumption : 200, Consumption1 : 230, ReadingDateTime: May},
{Consumption : 200, Consumption1 : 270, ReadingDateTime: June},
{Consumption : 200, Consumption1 : 200, ReadingDateTime: July},
In this consumption is for present year and consumption 1 is for previous year.
I want to implement both the values against the month using makit column charts:
var oChartj = new sap.makit.Chart({
height: "80%",
width: "100%",
showRangeSelector :false,
primaryColorPalette:["#18458D"],
category : new sap.makit.Category({ column : "month" }),
values : [new sap.makit.Value({ expression : "consumption"})]
var jsonModel = new sap.ui.model.json.JSONModel();
jsonModel.setData(testData);
oChartj.addColumn(new sap.makit.Column({name:"month", value:"{ReadingDateTime}"}));
oChartj.addColumn(new sap.makit.Column({name:"consumption", value:"{Consumption}"}));
oChartj.setModel(jsonModel);
oChartj.bindRows("/mycollection");
in this way i am able to print the data as consumption against month, I need to add consumption1 also.
How to do this?
Regards,
ArunHi All,
I was able to do the same with the help of series property in makit charts.
series : new sap.makit.Series({ column : "year" }),
In our test data we need to create the data's based on this value, for example if we are plotting consumption against month then the year should be a differentiating quantity within the test data.
So that the graph will iterate for that and plot two values for the same month.
Regards,
Arun -
With a contract number, how to know the total PO release value against it?
Usually one contract corresponds to multiple PO records, now we know the contract number, then how to know the total PO release value against this contract. In other word, we would like to know the total release value of all the POs with the same contract number. To just input the contract number in EKPO table? but then look for which field in this table to add these PO release values up?
We will give you reward points!
Thanks!hi Mohammad,
By following your instruction, input the contract number 4800000112 into Document number field, then hit Enter, get the following (only copy two records here for example), but kind of a mess. Could you let us know which one is the PO release value for this contract?
Contract Type Vendor Name PGp Agmt. date
Item Material Short text Mat. group
D I A Plnt SLoc Targ.qty. Un Net price Curr. per Un
4800000112 WK 2000012012 GULF INTERSTATE FIELD SERVICES QBH 06/20/2006
Agreement start06/20/2006 Agreement end 12/31/2007
Tgt. val. 1,000,000.00 USD Open 1,000,000.00 USD 100.00 %
00001 Inspection Svcs, Construction R3VNI
L U 0 UL 0.00 USD 1 EA
00002 Chief Inspector R3VNI
L U 0 DAY 390.00 USD 1 DAY -
Coding to calculate net purchase order value against the contract?.
Hi ,
Please help.
Can any one send me the coding to calculate net purchase order value against the contract?.
ThanksI got the below coding and information from SDN, would you please help me to fix this coding
infomation from SDN
For the above requirment I have coded a program in Endroutine but it is not populating cummulative Order value against Contract.
DATA:
WA_ty_t_TG_1 TYPE tys_TG_1.
data: netsum type char15.
types:begin of ty_net,
netsum type /BI0/OINET_PO_VAL,
V_EBELN TYPE /BI0/OIOI_EBELN,
end of ty_net.
data:t_net type standard table of ty_net .
data:wa_net type ty_net.
SORT RESULT_PACKAGE BY CONTRACT.
loop at RESULT_PACKAGE INTO WA_ty_t_TG_1.
WA_NET-V_EBELN = <RESULT_FIELDS>-CONTRACT.
AT END OF CONTRACT.
netsum = WA_ty_t_TG_1-NET_PO_VAL + NETSUM.
ENDAT.
WA_NET-netsum = NETSUM.
APPEND WA_NET TO T_NET.
CLEAR:T_NET,NETSUM.
ENDLOOP.
loop at RESULT_PACKAGE assigning <RESULT_FIELDS> .
READ TABLE T_NET INTO WA_NET WITH KEY
V_EBELN = <RESULT_FIELDS>-CONTRACT
<RESULT_FIELDS>-/BIC/YNET_VAL = NETSUM.
CLEAR: WA_NET-NETSUM.
endloop.
<RESULT_FIELDS>-/BIC/YNET_VAL = netsum.
CLEAR:NETSUM,<RESULT_FIELDS>-/BIC/YNET_VAL.
ENDLOOP.
I have coded above one..let me know what mistake I have done.in the bolded loop I have given INTO instead of Assigning, because I need all records which assigns to WorkArea, but while executing DTP its leading to shortdump.if I replace Assigning statement,its working fine. but zero values in output( I think wrong in logic part)
Let me know the brief coding part if I am wrongly coded. -
Validate field value against LOV in JClient
Hi,
I have wondered is it possible when i have a LOV attached to a textfield or column from JTable to validate entered value against values in LOV. I mean when i enter wrong value in field, automatically to invoke LOV panel when the field lost focus.
Thanks in advance!Hi,
this is currently not a feature available in JClient. We are evaluating this as a new feature in a next version fo ADF JClient (which will be named ADF Swing then)
Frank
Maybe you are looking for
-
Using the same apple ID on multiple iPads
I have to set up about 13 iPads and that involves downloading an app and installing some files on it. To do this can I just create one apple ID and use it on all 13 iPads or do I have to create a new one for each iPad?
-
The other day iTunes 6 would not open and gave me the error message "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience." The offset number is 001006bd. After reinstalling, I still get the same message. Quicktime
-
How to re-download Acrobat Standard DC? Exceeded 5 times download
I cannot complete download after exceeding 5 times. What should I do? Who should I contact?
-
Hi! Im getting this error when Im trying to "launch" ocs popup from Collab suite index (content/index.jspx) Error You have too many sessions for a user. Disconnect some sessions and try again. How can I fix this?
-
I'm disappointed with the home screen tray options, specifically the option of being able to switch between "Home," "Favorites," "Media," etc. I much prefer the way the Curve is set up, with 5 or 6 icons on the home screen and the rest of the icons i