Reference to another column id in a javascript
Hi
I have created a tabular form a 4 uptatable fields and a 5th item as a link. This link is calling a javascript in which a want to refer one of the updatable colums in the same row as the calling link e.q. id="f03_0003". (Row no 3)
The link itself don't get any id.
How do I do that ?
BR Klaus
Hi Klaus,
You can retreive the values by determining what row the link is on and then checking all the INPUT items in that row.
Assume that your link is:
<a href="#" onclick="javascript:showValues(this);">Click</a>Then add the following into the page's HTML Header setting:
<script type="text/javascript">
function showValues(xxx)
var p = xxx.parentNode;
while (p.tagName != 'TR')
p = p.parentNode;
var f = p.getElementsByTagName("INPUT");
var f01 = f[0];
var f02 = f[1];
var f03 = f[2];
var f04 = f[3];
var s = "Values on this row:\n\n";
s += f01.value + "\n";
s += f02.value + "\n";
s += f03.value + "\n";
s += f04.value + "\n";
alert(s);
</script>When you click on a link, the script will work out what TR (that is, Row) the link is on and then create a collection of all INPUT items on that row. Assuming that your f01, f02 etc items are in order, then f[0] should refer to the "f01" item on the same row.
Andy
Similar Messages
-
Adding Specific columns of dynamic internal table row into another column
Hi Gurus,
I need to add few columns of a dynamic internal table row into another column:
Article description hy01 hy02 total
101 panza 10 12 22
102 masht 12 12 24
dynamic internal table is created and columns hy01 hy02.... can increase
How to add the the values in hy01 hy 02... into total.
Regards,
DepHi,
If you really want to have a dynamic table, then you will have to find a way to generate a whole new table, and then copy the data from the old table to the new one. There is no way to modify a type during runtime in ABAP.
Here an example how to generate a dynamic table based on another internal table, hope this will help you.
TYPE-POOLS: slis.
PARAMETERS: p_nb_hy TYPE i DEFAULT 2. "Number of new HY columns to be added
* Type ZST_T:
* matnr TYPE matnr
* maktx TYPE maktx
* hy01 TYPE i
* total TYPE i
TYPES: ty_t TYPE STANDARD TABLE OF zst_s.
PERFORM main.
*& Form main
* text
FORM main.
DATA: lt_fieldcat TYPE slis_t_fieldcat_alv,
lt_t TYPE ty_t,
lr_new_t TYPE REF TO data.
FIELD-SYMBOLS: <lt_new_t> TYPE STANDARD TABLE.
"Add some lines to LT_T just to have something to display on screen
DO 10 TIMES.
APPEND INITIAL LINE TO lt_t.
ENDDO.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'ZST_S'
CHANGING
ct_fieldcat = lt_fieldcat.
"Copy LT_T to LR_NEW_T
PERFORM extend_and_copy_table USING lt_t p_nb_hy CHANGING lr_new_t lt_fieldcat.
CLEAR lt_t. "Not needed anymore...
ASSIGN lr_new_t->* TO <lt_new_t>.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = lt_fieldcat
TABLES
t_outtab = <lt_new_t>.
ENDFORM. "main
*& Form extend_and_copy_table
FORM extend_and_copy_table USING ut_t TYPE STANDARD TABLE
uv_nb_hy TYPE i
CHANGING cr_t TYPE REF TO data
ct_fieldcat TYPE slis_t_fieldcat_alv
RAISING cx_sy_struct_creation cx_sy_table_creation.
DATA: lo_tabledescr TYPE REF TO cl_abap_tabledescr,
lo_structdescr TYPE REF TO cl_abap_structdescr,
lo_new_structdescr TYPE REF TO cl_abap_structdescr,
lo_new_tabledescr TYPE REF TO cl_abap_tabledescr,
lt_components TYPE cl_abap_structdescr=>component_table,
ls_component TYPE cl_abap_structdescr=>component,
lv_field_cnt TYPE numc2,
ls_fieldcat TYPE slis_fieldcat_alv,
lr_fieldcat TYPE REF TO slis_fieldcat_alv.
FIELD-SYMBOLS: <ls_old_s> TYPE ANY,
<lt_new_t> TYPE STANDARD TABLE,
<ls_new_s> TYPE ANY.
"Get the list of all components from UT_T line structure
lo_tabledescr ?= cl_abap_tabledescr=>describe_by_data( ut_t ).
lo_structdescr ?= lo_tabledescr->get_table_line_type( ).
lt_components = lo_structdescr->get_components( ).
"The new columns will be from type of column HY01
ls_component-type = lo_structdescr->get_component_type( 'HY01' ).
"The new columns will have the same fieldcat info as column HY01
READ TABLE ct_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'HY01'.
"HY<lv_field_cnt> = new field name
lv_field_cnt = uv_nb_hy + 1.
"For each new column...
DO uv_nb_hy TIMES.
"Generate the new column field name
CONCATENATE 'HY' lv_field_cnt INTO ls_component-name.
ls_fieldcat-fieldname = ls_component-name.
"Add the new field to the components of the new structure
INSERT ls_component INTO lt_components INDEX 4.
"Add the new field's fieldcat info to the fieldcat
INSERT ls_fieldcat INTO ct_fieldcat INDEX 4.
lv_field_cnt = lv_field_cnt - 1.
ENDDO.
"Adjust the COL_POS from fieldcat
LOOP AT ct_fieldcat REFERENCE INTO lr_fieldcat.
lr_fieldcat->col_pos = sy-tabix.
ENDLOOP.
"Create the new table
lo_new_structdescr = cl_abap_structdescr=>create( p_components = lt_components ).
lo_new_tabledescr = cl_abap_tabledescr=>create( p_line_type = lo_new_structdescr ).
CREATE DATA cr_t TYPE HANDLE lo_new_tabledescr.
ASSIGN cr_t->* TO <lt_new_t>.
"Copy all data from old to new table
LOOP AT ut_t ASSIGNING <ls_old_s>.
APPEND INITIAL LINE TO <lt_new_t> ASSIGNING <ls_new_s>.
MOVE-CORRESPONDING <ls_old_s> TO <ls_new_s>.
ENDLOOP.
ENDFORM. "main -
Create a new condition type, which reference to another condition type
I have a condition type Z002, which is reference to another condition type Z001 (Z001 is always negative, I have set the condition limit from -0.01 to -99,999,999), but with opposite sign.
User need to maintain only condition record for condition type Z001.
e.g. value for Z001 is -100, then value for Z002 is 100.
I have set Z002 reference to condition type Z001, but how to setup so that they always have opposite sign?
Thanks.Go to pricing procedure in t.code V/08. Against condition type Z002, maintain routine number 164 (Basis * -1)in the column Alternative formula for condition base value. If this routine is not available, you can develop one in t.code VOFM (you can get help from ABAP'er) with required logic and assign here.
Regards, -
Hi All,
I've been running into this error message when trying to create a new subsite
Sorry, something went wrong
The formula cannot refer to another column. Check the formula for spelling mistakes or update the formula to reference only this column.
Note everything was working fine before, this just started happening recently...
At first I thought it was because of my template, but as I have tried, I can't even create subsite using the templates provided by Sharepoint...
has anybody encountered similar problems recently?
Any help is apprieciated!
Fan YangHi Fan,
If you create asubsite using the SharePoint default template, what error did you meet? Was it same with the error?
Which site template did you use for the parent site?
Please check whether you can create subsite at other site collection.
In addition, please trace the exact error by using Correlation ID.
Here are two great blogs for you to take a look at:
http://www.habaneroconsulting.com/insights/An-Even-Better-Way-to-Get-the-Real-SharePoint-Error#.UwrFamiwrwo
http://blog.credera.com/technology-insights/microsoft-solutions/troubleshooting-sharepoint-errors/
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
'group by' works good, but need another column
Hi,
I am seeking for better construction for next issue, this code is not good-readable and seems I can't add another column to returned output:
;WITH q AS (
SELECT srvs.description as srv, apps.description as app
FROM srv_link_app as link LEFT JOIN servers as srvs
ON link.srv = srvs.id
LEFT JOIN apps
ON link.app = apps.id
SELECT
FROM (
SELECT DISTINCT app
FROM q
) qo CROSS APPLY
SELECT CASE ROW_NUMBER() OVER(ORDER BY srv) WHEN 1 THEN '' ELSE '; ' END + qi.srv
FROM q qi
WHERE qi.app = qo.app
ORDER BY
srv
FOR XML PATH ('')
) qi(srv)
Works perfect, It connects 3 tables: apps, servers, link and groupy by column servers. So,
link table is auxiliary connection.
Output is:
app1 | server1;server3
app16 | server6;server13
It's good but I need add another column app.long_info, for example (Output):
app1|srv1;srv2;srv5 | app.long_info hereCan you post DDL? What little you showed us is a mess. You have a magic generic “description” that transform from servers to applications in violation of ISO-11179 Standards, logic and data modeling. Likewise, you have the classic noob “id” that also morphs
from servers to applications. I will bet it can be a squid or an automobile, too!
>> So, link_table is auxiliary connection. <<
Auxiliary connections?? I never head that term before and I think been around SQL for awhile :). The term “link” comes from 1970's network databases. It was a type of pointer structure. Pointers connect, references do not. We would never use it in RDBMS. We
have n:m, 1:m or n:1 relationships and the relationships have real names. Using OUTER JOINs makes no sense.
Next, I see you hate Dr. Codd and First Normal Form (1NF). You use XML to make the code hard to port, hard to maintain an unpredictable. Good SQL programmers write and do not do display formatting in the query. This is the principle of any tiered architecture,
not just SQL.
Here is my guess, with clean up:
CREATE TABLE Applications
(app_id CHAR(12) NOT NULL PRIMARY KEY,
app_description VARCHAR(25) NOT NULL,
CREATE TABLE Servers
(server_id CHAR(12) NOT NULL PRIMARY KEY,
server_description VARCHAR(25) NOT NULL,
CREATE TABLE Application_Assignments
(app_id CHAR(12) NOT NULL
REFERENCES Applications
ON DELETE CASCADE
ON UPDATE CASCADE,
server_id CHAR(12) NOT NULL
REFERENCES Servers
ON DELETE CASCADE
ON UPDATE CASCADE,
PRIMARY KEY (app_id, server_id),
Since we have no sample data, no sample output, we can only guess. But your terms an approach are completely wrong. Have read any book on data modeling or RDBMS?
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
I need to set a field to be blank when another field is blank:
when [Return Date] is blank [when item has not been returned]
[Received by] should be set to blank
I tried this:
=IF(ISBLANK([Return Date]),ISBLANK([Received by]),TRUE)
But it failed.
Is this possible through list validation settings?Hi
you cannot reference another column in a formula that creates a default value for a column.
PF below link for the same.
http://ricardoramirezblog.wordpress.com/2013/05/02/calculated-field-formulas-for-default-value/
Regards,
Rajendra Singh
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
http://sharepointundefind.wordpress.com/ -
Radio group in classic report based on another column on the same row.
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
Application Express 4.1.0.00.32
How can I have a radio group column based on an LOV utilizing another column on the same row of the report?
For example: what if I had a survey application and depending on the likert scale that was assigned to the question there would be different possible answer choices:
Question 1 on row 1 of the report: The class instructor was friendly?
Likert scale choice is Agreement.
Choices on Radio Group: Strongly Agree, Agree, Undecided, Strongly Disagree
Question 2 on row 2 of the report: The class offered good materials?
Likert scale choice is Quality.
Choices on Radio Group: Excellent, Below Average, Average, Above Average, Excellent
The radio group can change per row depending on the Likert scale assigned to the question which is assigned to a different column on the row.
Can LOV utilize the column? :
SELECT scale_text
FROM scale_choices
WHERE scale_category_choice_id = 2 <<= this would be the Likert scale identifier
ORDER
BY display_orderHere is the answer:
APEX_ITEM.SELECT_LIST_FROM_QUERY(
p_idx IN NUMBER,
p_value IN VARCHAR2 DEFAULT NULL,
p_query IN VARCHAR2,
p_attributes IN VARCHAR2 DEFAULT NULL,
p_show_null IN VARCHAR2 DEFAULT 'YES',
p_null_value IN VARCHAR2 DEFAULT '%NULL%',
p_null_text IN VARCHAR2 DEFAULT '%',
p_item_id IN VARCHAR2 DEFAULT NULL,
p_item_label IN VARCHAR2 DEFAULT NULL,
p_show_extra IN VARCHAR2 DEFAULT 'YES')
RETURN VARCHAR2; -
How to place one column under another column in obiee report?
Hi all,
I am new to obiee, so need some help from obiee experts. Can anyone tell me how to place one column data under another column in obiee report?
i need the report to be as below
category total_students Course_enrollment Test_attended pass_test
total N % N % N %
all students ##### ## ## ## ## ## ##
Ethnicity
Asian ###### ## ## ## ## ## ##
African American ###### ## ## ## ## ## ##
white ######
Filipino ######
Gender
Male ##### ## ## ## ## ## ##
Female ##### ## ## ## ## ## ##
and similarly for other columns
where ethnicity, gender are columns in the table and Course_enrollment, Test_attended, pass_test are calculated columns.
Please help me to create a report as above if anyone knows how to do it.
Edited by: Shailaja on Jul 19, 2010 12:23 AMTwo ideas I can think of:
1) Create multiple pivot tables and then display them one under the other
2) Create multiple measure columns such as "male_amt", "female_amt", "white_amt", "asian_amt", "black_amt", etc. for all the columns you need. Then you could simple stack them in a single pivot table.
Option #2 might give you the prettiest results - but also requires a lot more maintenance (for instance, if you reclassify ethnic groups, you'd have to go through the reports to add additional metric columns).
Hope this helps,
Scott -
Is it possible to create a Column with Conditional Mandatory with another Column?
Is it possible to create a Column with Conditional Mandatory with another Column?
For example
In a Table we have column A, B, C.
A is Primary Column.
B is Optional
C is Conditional Mandatory.
A B
C
12345 ABC
OK
12346 NULL
NULL
12347 ABC
OK
Only if the B Column has the value then only C column should be mandatoryI guess you can't create a condtional mandatory column directly. However, you can use check constraint to on the column
create table YourTable
A int primary key,
B char(3),
C int,
constraint ch_con check(
B
is not null
or C is null -
Conditional inclusion of column cells based on value in another column?
I was wondering if something like the following is possible -- I've looked through the forums and Numbers user guide but can't figure it out:
Suppose I have a column A of sales figures, and columns B and C which basically have different attributes (say, color (yellow or green), size (small or large), and material (cotton or polyester)).
I want to run basic statistics on various combinations: e.g. all yellow items regardless of size, all green cotton items regardless of size, all large yellow items regardless of material, etc.
I want to be able to specify something like this:
'Compute the average of every cell in column A where column B=="green" and column C=="large"'
Is there a good way to go about doing this? Would I want to attack the problem using categories, sorting, and multiple tables? Or is there a way to conditionally include cell values from a range based on the value of that row's cell in another column?
Thanks for any help.All I can think of to solve the quartile and median functions is to have another table of the same size as your original table that gets populated with just the items that match. Then you can do the quartile and median (and average) on that table. It's a one-at-a-time affair; you can only do one selection of size, color, and/or material at a time but you can get the median, mean, and quartiles of it. Of course, you could have multiple copies of this second table if you want to do more than one comparison at a time.
In the attached file, unhide the hidden rows in Table 2 to see the formulas that do all the work.
[files.me.com/pwb3/6hobt0.numbers.zip]
Message was edited by: Badunit
Message was edited by: Badunit -
Create a sales order with reference to another one. (BAPI)
Hi everybody,
I'm trying to create a new sales order with reference to another one (That's important because of the documents flow).
I'm using 'BAPI_SALESORDER_CREATEFROMDAT2' but I couldn´t do it yet. I've read some ideas about this kind of creation in this forum; but I still haven´t found the solution yet.
Some ideas about the BAPI parameters I nedd to complete?
Thanks in advance!!Hi,
Go through this one
*& Report ZSD_R_SALESORDER
report zsd_r_salesorder1 line-size 132 message-id zmmbapi .
*& Created By : shailaja
*& Created on : 13.10.2007
*& Requested By : vardhman
*& Description of program :
Internal table definition *
data: gt_order_header_in like bapisdhead occurs 0 with header line,
gt_return like bapireturn1 occurs 0 with header line, " Return Messages
gt_order_items_in like bapiitemin occurs 0 with header line, " Item Data
gt_salesdocument like bapivbeln-vbeln , "Number of Generated Document
gt_order_partners like bapiparnr occurs 0 with header line, "Document Partner
gt_return1 like bapiret2 occurs 0 with header line.
Data definition *
types: begin of ty_gt_ft_sales ,
partn_numb(10) type n ,"Customer Number 1
partn_role(2) ,"Partner function
sales_org(4) , "Sales Organization
distr_chan(2) , "Distribution Channel
division(002), "DIVISION
doc_type(4) , "Sales Document Type
purch_no(020), "Purchase order
material(18), "MATERIAL
targetquantity(020),"Target quantity
reqqty(020), "Req quantity
reqdate(010), "req date
*REQ_DATE_H(010),
ref_1(012), "Ref
unload_pt(025),
*PARTN_ROLE(2) ,"Partner function
*PARTN_NUMB(10) ,"Customer Number 1
end of ty_gt_ft_sales,
begin of ty_header ,
partn_numb(10) ,"Customer Number 1
partn_role(2) ,"Partner function
sales_org(4) , "Sales Organization
distr_chan(2) , "Distribution Channel
division(002), "DIVISION
doc_type(4) , "Sales Document Type
purch_no(020), "Purchase order
unload_pt(025),
req_date_h(010),
end of ty_header,
begin of ty_item,
material(18), "MATERIAL
targetquantity(020),"Target quantity
reqqty(020), "Req quantity
reqdate(010), "req date
ref_1(012), "Ref
*UNLOAD(025),
end of ty_item.
data : msg(240) type c, " Return Message
e_rec(8) type c, " Error Records Counter
rec_no(8) type c, " Records Number Indicator
s_rec(8) type c, " Successful Records Counter
t_rec(8) type c, " Total Records Counter
v_matnr like mara-matnr,
v_parvw type parvw.
data : gt_ft_sales type standard table of ty_gt_ft_sales with header line.
data : wa_gt_ft_sales type ty_gt_ft_sales,
wa_order_items_in like gt_order_items_in,
wa_gt_ft_sales1 type ty_gt_ft_sales,
wa_header type ty_header,
salesdocument like bapivbeln-vbeln.
selection block for EXCEL UPLOAD FILE
selection-screen begin of block b1 with frame title text-000.
parameters file type ibipparms-path obligatory.
selection-screen end of block b1.
*<<<<AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE .
at selection-screen on value-request for file .
perform getname.
form getname.
call function 'F4_FILENAME'
exporting
program_name = syst-cprog
dynpro_number = syst-dynnr
importing
file_name = file.
endform.
*TOP-OF-PAGE.
top-of-page.
skip 3.
format color col_heading inverse on.
write 40 text-001.
format color col_heading inverse off.
skip 1.
format color col_negative inverse on.
write :/ text-002, 13 sy-mandt , 104 text-003, 121 sy-uname,
/ text-004, 13 sy-datum , 104 text-005, 121 sy-uzeit.
format color col_negative inverse off.
skip 3.
*START-OF-SELECTION.
start-of-selection.
perform get_data.
perform bapi.
*end-of-page.
perform result.
form result.
t_rec = e_rec + s_rec.
skip 3.
format color col_total inverse on.
write: /38 text-007, t_rec.
format color col_total inverse off.
format color col_negative inverse on.
write: /38 text-008, e_rec.
format color col_negative inverse off.
format color col_total inverse on.
write: /38 text-009, s_rec.
format color col_total inverse off.
endform.
*& Form get_data
text
--> p1 text
<-- p2 text
form get_data .
call function 'WS_UPLOAD' "#EC *
exporting
filename = file
filetype = 'DAT'
tables
data_tab = gt_ft_sales
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
no_authority = 10
others = 11.
if sy-subrc 0 .
message e000.
endif.
endform. " get_data
*& Form BAPI
form bapi .
loop at gt_ft_sales into wa_gt_ft_sales.
wa_gt_ft_sales1 = wa_gt_ft_sales.
at new partn_numb.
wa_header-doc_type = wa_gt_ft_sales1-doc_type..
wa_header-sales_org = wa_gt_ft_sales1-sales_org . "'0001'
wa_header-distr_chan = wa_gt_ft_sales1-distr_chan. "'01'
wa_header-division = wa_gt_ft_sales1-division. " '01'
wa_header-purch_no = wa_gt_ft_sales1-purch_no.
wa_header-req_date_h = wa_gt_ft_sales1-reqdate.
call function 'CONVERSION_EXIT_PARVW_INPUT'
exporting
input = wa_gt_ft_sales1-partn_role
importing
output = v_parvw.
wa_header-partn_role = v_parvw.
wa_header-partn_numb = wa_gt_ft_sales1-partn_numb.
wa_header-unload_pt = wa_gt_ft_sales1-unload_pt.
move-corresponding wa_header to gt_order_partners.
move-corresponding wa_header to gt_order_header_in.
append gt_order_header_in.
append gt_order_partners.
endat.
call function 'CONVERSION_EXIT_CCMAT_INPUT'
exporting
input = wa_gt_ft_sales1-material
importing
output = v_matnr.
gt_order_items_in-material = v_matnr .
gt_order_items_in-target_qty = wa_gt_ft_sales1-targetquantity . "'1000'
gt_order_items_in-req_qty = wa_gt_ft_sales1-reqqty.
gt_order_items_in-req_date = wa_gt_ft_sales1-reqdate.
*GT_ORDER_ITEMS_IN-BILL_DATE = wa_GT_FT_SALES1-REQDATE.
gt_order_items_in-ref_1 = wa_gt_ft_sales1-ref_1.
append gt_order_items_in.
clear : wa_gt_ft_sales1,wa_header.
at end of partn_numb.
call function 'BAPI_SALESORDER_CREATEFROMDAT1'
exporting
order_header_in = gt_order_header_in
WITHOUT_COMMIT = ' '
CONVERT_PARVW_AUART = 'X'
importing
salesdocument = salesdocument
SOLD_TO_PARTY =
SHIP_TO_PARTY =
BILLING_PARTY =
return = gt_return
tables
order_items_in = gt_order_items_in
order_partners = gt_order_partners.
ORDER_ITEMS_OUT =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CCARD =
ORDER_CFGS_BLOB =
ORDER_SCHEDULE_EX =
if gt_return-type eq 'E' .
e_rec = e_rec + 1.
read table gt_return with key id = 'V1'.
format color col_negative inverse on.
rec_no = e_rec + s_rec.
concatenate text-006 rec_no ':'
gt_return-message into msg separated by space .
condense msg.
write: / msg.
format color col_negative inverse off.
elseif gt_return-number = '000'.
s_rec = s_rec + 1.
format color col_positive inverse on.
msg = 'SUCCESS'.
condense msg.
write: / msg .
format color col_positive inverse off.
write :/ salesdocument, 'Has been created'.
perform commit_mm.
endif.
clear: gt_return[], msg.
endat.
endloop.
endform. " SLALE_UPLOAD_DATA
*& Form COMMIT_MM
text
--> p1 text
<-- p2 text
form commit_mm .
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'
importing
return = gt_return1.
clear: gt_order_items_inhttp://].\"GT_ORDER_CONDITIONS_IN[.
endform. " COMMIT_MM
inthis pass re_doc field in header...
Edited by: Naresh kumar -
Create a Sales order with reference to another sales order using BAPI
Dear All,
Can any one tell me what are all the parameters required to create a Sales order with reference to another sales order using BAPI_SALESORDER_CREATEFROMDAT2....
Thanks in advanceHi Madhan
Thanks a lot for your reply.
However, I would like to know which parameters need to passed in this BAPI in case of SO creation with reference. I beleive there are only a few parameters that need to passed in ORDER_HEADER_IN, ORDER_ITEMS_IN, etc.
Need to know exactly which are these parameters.
Regards
Mihir Shah. -
Sales order with reference to another Sales order
Hi SAP Gurus,
Good day.
I would like to seek an advice from u regarding this scenario:
First if all, is this scenario possible-create sales order w/ reference to another sales order?
We have a scenario wherein the original sales order has a material w/ free goods. And then when we create another sales order w/ ref to that iriginal sales order, the free goods appeared twice.
Original SO:
Item. Material. Qty. item cat
10. 123. 5. ZOR
20. 123. 1. ZORR
SO w/ ref to above orig SO:
Item. Material. Qty. item cat
10. 123. 5. ZOR
20. 123. 1. ZORR
30. 123. 1. TANN
Item 30 should not appear since our goal is to copy exactly what was on the original sales order.
I have checked the item cat and copy control & seems it is correct.
Please advice
Thanks,
Erzadear friend,
your 'key' transaction is VTAA
the copy control has two parts - header and item levels - check them both
1.
find out your record (source to target) , goto Deatails and check out two checkboxes - "Copy item number" and "Complete reference" . also check out the copying requirements - look at routine number and make sure it is correct
2. at item level check out all relevant 'copying' fields
good luck -
PR with reference to another PR
Hello!
I have two PR types named RNP and PPAP. Can I create a RNP document with reference to PPAP, for example?
If so, how can I do that? I would also what that the reference number to be saved in a field in EBAN like when I create PO with reference to PR.
Thanks in advance!!>
Ioana Bacanu wrote:
> Thank you for your quick response Afshad!
> I know that I can do what you have just said, but my problem is that I would like to memorize in a field the reference number of the PR.
> So that I now that specific PR was created with reference to another.
> For example I adopt in my RNP an item from PR no. 40000120. I would like to se this number (40000120) somewhere.
You can input your reference PR number in REQUISITIONER field in the item overview, or use the TRACKING NUMBER in CONTACT PERSON TAB in item detail or you can customize a field with help of ABAP to input reference No. of PR. -
Create a configurable material with reference to another config material
Hi,
I want to create a configurable material with reference to another configurable material from different system.
Please tell me what data i need to check to see if that material has been created (copied manually) successfully.
Thanks.Hi,
In case of configurable material most important thing is configuration so please check weather the configuration is copied perfectly with all characteristics or not. Similarly check the valuation class and price control is proper or not.
Regards,
Umesh
Maybe you are looking for
-
Time Machine and Windows Home Server 2011 - Why no worky? (Original WHS worked fine)
So I've had an original WHS (HP Mediasmart) for years, thought it was time to upgrade...built a new server using WHS 2011 and everything on the windows side works great. I'm not a mac guy, so only mac in the house is my GF's which had no trouble back
-
what is Open Po and Open stock . and how they are managed pls explain with example
-
Setting in and out points in list view.
I am in list view. I am showing several favorited clips from one video. Say I am playing back the third favorited range and I want to select in and out points for that favorited range. The video is playing and I hit i. I am immediately jumped fro
-
How do I find model number of Nokia phone?
New poster here. I have become the proud owner of an old (estimate 6 years) Nokia prepaid phone. How do I find its model number? Looking at the pictures of phones on the Nokia website, nothing jumps out at me. Was owned by a family member who recentl
-
Only some LR adjustments shows up in PS
Very annoying problem I have never had before: When I use send an image from LR to PS using "Edit in..." Only some of the LR adjustments show up in PS. (E.g. color adjustments are visible while crop and exposure are not). All versions (LR, PS, ACR) a