Suppress Non Changed Fields in change pointer triggered IDOC
I have a requirement to clone message type MATMAS as ZMATMAS. This ZMATMAS is the message type I used to create change pointer triggering outbound idoc for change/create of materials.
When i change a material, all fields are sent instead of the fields only changed(of course key fields should be sent as well). Is there a way via configuration that I can suppress fields which are not changed? Or do i need to clone FM MASTERIDOC_CREATE_SMD_MATMAS and suppress the fields via program
Thanks in Advance!
i'll clarify the requirement again.
Let say i changed a field BRGEW in the material master.
Currently, all the segements which contains BRGEW is sent, but these segements contains other data which are not changed in the material master.
How do i suppress it?
Thanks,
Similar Messages
-
Old key field FROMNUMBER is now non-key field
Hi All,
I am getting one issue with NRIV table.When I tried to activate this table from se11 it is giving error as
Program start============================================================
Mass activation
=========================================================================
Process..................: presap_4
User.....................: ABAP1
Date, time...............: 19.02.2007, 12:50:33
Platform.................: CUSTOMER-PRE(620)/ORACLE/WindowsNT/presap
Tool.....................: SE11_OLD/RADMASG0
Log......................: T, ABAP120070219125033
Program parameters:
Input medium..............: Direct object entry
Activation method.........: Activ
Chk. mode.................: O
Version to be activated...: M
Versions to Be Deleted....: Delete only active versions
Lock against paral. exec..: Shared
Parallel mode.............: Switched off
=========================================================================
Start phase 001 **********************************************************
Activation of objects
Activate objects at level 1
Old key field FROMNUMBER is now non-key field
Structure change at field level (convert table NRIV)
Activation of objects
End phase 001 ***********************************************************
Activation of objects
Activate objects at level 1
Old key field FROMNUMBER is now non-key field
Structure change at field level (convert table NRIV)
Activation of objects
End phase 001 ***********************************************************
Start phase 002 **********************************************************
Final log
Following objects not activated/deleted or activated/deleted w. warning:
Table NRIV could not be activated
(E- Structure change at field level (convert table NRIV) )
Final log
End phase 002 ***********************************************************
Start phase 003 **********************************************************
Statistics on activated and deleted objects
Number of objects to be activated............: 1
Objects not activated........................: 1
Activated objects with errors in dependencies: 0
Objects activated with warning...............: 0
Successfully activated objects...............: 0"
Can any one help in this.It is bit urgent.
Thanks,
KrishnaHi Brend,
Thanks for the reply.
But could you tell me how to convert this table and what to convert.
Posibble could you give this with step by step, we are struck with number range issues with this problem and needed with critical.
Thanks for the help in advance.
Krishna -
Changing Non key field to Key field in a custom table
Hello Abap gurus:
I have a requirement in which i need to change a non key field in my custom table(Z TABLE) to key field.
For example; i have field sequence as
field 1 key field
field 2 key field
field 3 key field
field 4 non-key field
field 5 non-key field
field 6 non-key field
field 7 non-key field.
i want to change field 7 as key field.
Can i do perform operation??
when i am tryingto perform bove operation it is taking long time to get the table activated.
Could any one please help me in getting this resolved.
regards,
Sravanthi.Use DB Utility (se14) to perform alter table or conversion. The latter is used when atemps to perform first operation fails. Which one is used, really depends on system and current DB table state (i.e. if has any content and what is being adjusted).
The way Max suggested is similar to [conversion process|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21f1b8446011d189700000e8322d00/content.htm] which system takes care of itself.
Refer [Adjusting Database Structures|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21f1ab446011d189700000e8322d00/content.htm] and already given link to conversion.
Please also consider potential errors while doing conversion . This can lead to data loss, so you should think of some backup to prevent that.
Regards
Marcin -
When we change the non-mandatory field in the form, it doesn't get updated
Hi... I have one question here..
If I have non-mandatory fields in a custom form, and when I query the form and change the value in the non-mandatory field and click on save, then it doesn't save. It says 'No Changes to Save'. But, it's not the same for non-mandatory fields.
Can you please suggest me?
-vrdidaVRdida,
If I understand correctly, you have a non-Required item in your form that has an LOV assigned. While this item is Required=No, it works correctly. When you change the Required property of the item to 'Yes' then it fails. When this occurs, do you get an error message? Are you able to select a value from the LOV?
It sounds like the Required=Yes property might be preventing you f rom opening the LOV. Try setting the Module property: Defer Required Enforcement = Yes. This is the typical setting in an EBS form. This is what allows you to navigate out of a Required field if the value is NULL, but will give you a Required message when you attempt to save the record if the value is still NULL.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Apr 6, 2011 11:43 AM -
In Sales doc.,Shiping Point need to change automatically by changing itemca
Hi,
I need a quick help from you all...
In a sales order,For a specific line item...while changing the Item category the respecitive shiping point has to change automatically.
Could you please suggest any approach of solving through standard....
In rare case,If we cannot able to do it standards (config) May I know the approch thorugh ABAP programme.
Thnaks & Regards,
PugalHi there,
By standard SAp this is not possible coz Shipping point ddetermination is Shipping conditions /Loading grp / Plant.
When you change the item catg, none of the above parameters change. So shipping point willnot change.
But from customizing point of view, you can define a enw Z table, maintain the fields like item catg, shipping point etc.
In the table yu can enter the item catg - shipping point combination. In the prog MV45AFZZ, you can write a ABAP code sothat when the user changes the item catg in VA02, system should call the Z table & change the shipping point accordingly.
Pls note that this will only change the shipping point when the item catg is changed. Shiiping point that is proposed during sales order initial entry will always be standard determination.
If you also by-pass standard shipping point determination, then you need to write the ABAP code in MV45AFZZ to always refer the shipping point from Z table whatever may be the item catg.
But why do you want to relate all standard parameters with item catg?
Regards,
Sivanand -
Posting Key Field Status changes - unable to generate Transport request
Dear All,
I did posting key field status change from suppress to optional ( P.Key 24).
However I am unable to generate a transport request.
Please share your inputs
Thanks
SanjaiHiii sanjai Babu... your client would have set automatic recording of changes in scc4... or the request would be created and yo woulnt have left the page after saving soo it might have been saved... hope it helps...
Regards
Abhay -
Mapping - Checking 3 fields to change IDOC
Hello,
I am triggering a new IDOC whenever the source field1 changes as below.
field1 -> removecontext -> splitbyvalue [value change] -> collapsecontext -> IDOC
If i need to check for 2 more fields field2 & field3 and if any one of these 3 field changes trigger the creation of new IDOC field?
How do I map the other two fields to IDOC?
Thanks,
HariHi,
Since we can not map the target IDOC when any of the field changes using nodefunctions , you can write UDF and check the same i.e if field1 changes or field2 changes or field3 changes then trigger new IDoc. This is one of the options that you can try...please try it once.
Regards
Priyanka -
Issue while changing fields in a fillable form PDF (Acrobat 10.1.4 Pro)
Good Afternoon!
This is my first time posting here, so forgive me if this is in the wrong place.
I am an IT technician trying to support a user who is trying to change a PDF into a fillable form using Acrobat 10.1.4. She is trying to use the wizard as shown in the image below:
When she uses this function, Acrobat goes through and automatically detects all possible fields and creates them for her. Below is an image of the result:
What she is trying to do is change some of the field types - specifically, she wants to change the box next to "Adult/non-college request" to a check box. She right clicks on this field to change it, and when she does, Acrobat simply closes. No error comes up, and she is not given the option to save the document - when she opens it again, it is an ordinary PDF. In addition, if she creates the form, and then only tries to save the form (without trying to change the fields), Acrobat again simply closes itself. However, she is able to manually create fillable fields if she does not use the wizard at all, and the document functions normally.
Any help with this issue would be most appreciated.Save early and often.
I would save the result right after the wizard has made its errors.
One needs to delete the form field and then manually add the correct type of field. If you want that check box and the next to be mutually exclusive, one gives them the same name and sets the export value for each check box to a unique value.
I edit forms by opening the "Tools => Forms => Edit fields".
How to create editable PDF form fields
I do not like the wizards and create forms by adding all form fields manually according to my planned form design. -
Changing Field Labels of module pool screen dynamically
Hi All,
Can anybody tell me how to change field label of text field in dialog screen dynamically.
The Screen/Transaction is standard one.
I have created a Enhancement point for this change in one of PBO module's subroutine for this screen.
This Field label is defined as a 'Text' field only. We can't change it any more as it is standard one.
Can anybody tell me the solution for the same.
I have to change this label value as per some validations and its corresponding text field value will remain as is.
Thanks,
Deep.Hello,
I think it is not possible, but try changing the name by Looping on screen table on PBO,
Bye
Gabriel -
Please Help, I want to change field value in a table, based on another field value in the same row (for each added row)
I am using this code :
<HTML>
<HEAD>
<SCRIPT>
function addRow(tableID) {
var table = document.getElementById(tableID);
var rowCount = table.rows.length;
var row = table.insertRow(rowCount);
var colCount = table.rows[0].cells.length;
for(var i=0; i<colCount; i++ ) {
var newcell = row.insertCell(i);
newcell.innerHTML = table.rows[1].cells[i].innerHTML;
switch(newcell.childNodes[0].type) {
case "text":
newcell.childNodes[0].value = "";
break;
case "checkbox":
newcell.childNodes[0].checked = false;
break;
case "select-one":
newcell.childNodes[0].selectedIndex = 0;
break;}}}
function deleteRow(tableID) {
try {var table = document.getElementById(tableID);
var rowCount = table.rows.length;
for(var i=0; i<rowCount; i++) {
var row = table.rows[i];
var chkbox = row.cells[0].childNodes[0];
if(null != chkbox && true == chkbox.checked) {
if(rowCount <= 2) {
alert("Cannot delete all the rows.");
break;}
table.deleteRow(i);
rowCount--;
i--;}}}catch(e) {alert(e);}}
</SCRIPT>
</HEAD>
<BODY>
<INPUT type="button" value="Add Row" onClick="addRow('dataTable')" />
<INPUT type="button" value="Delete Row" onClick="deleteRow('dataTable')" />
<TABLE id="dataTable" width="350px" border="1">
<TR>
<TD width="32"></TD>
<TD width="119" align="center"><strong>Activity</strong></TD>
<TD width="177" align="center"><strong>Cost</strong></TD>
</TR>
<TR>
<TD><INPUT type="checkbox" name="chk"/></TD>
<TD>
<select name="s1" id="s1">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</TD>
<TD><input type="text" name="txt1" id="txt1"></TD>
</TR>
</TABLE>
</BODY>
</HTML>Hi,
Let me make sure u r working with table control.
First u have to create a event(VALIDATE) to do the validation.
Inside the event,
1. First get the current index where user has pointed the curson
2. Once u get the index read the internal table with index value.
3. Now u can compare the col1 and col2 values and populate the error message.
1. DATA : lo_elt TYPE REF TO if_wd_context_element,
l_index type i.
lo_elt = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
CALL METHOD LO_ELT->GET_INDEX( RECEIVING MY_INDEX = l_index.
above code should be written inside the event.
Thanks, -
Tcode CS02 changed triggers idoc but not CS21 using BD21
Hi
when bom is changed using CS02 then when using BD21 triggers IDOC for the message type
but
when bom is changed using CS21 then it does not trigger idoc using BD21
I checked the code for BD21 message type function
I found that change pointer (bdcp2-object id ) is different for both transaction CS02 and CS21.
CS02 is updating object id with mast-stlal but this entry is missing for CS21
I am not able to find how the table (BDCP , BDCP2) for change pointers is updated for bom change.
Can you please let me know the patof code which i should check for updating the change pointers entries in BDCP , BDCP2 for bomI checked the sap system is creating enteries in cdhdr change pointer usin fm STUE_V_WRITE_DOCUMENT . I checked that when used TCODE CS05 the entry is updated for stlal as
In CS02 the entry for OBJID hold the value for stlal (Alternative BOM)
ie 500M0001064220110914 01 20110914
In CS21 the entry for OBJID does not hold the value for stlal (Alternative BOM)
ie 500M0001064220110913 20110913 (entry missing for stlal)
It clears the value of stlal . Is ther any sap note or configration setting for CS21 to get the value for alternative bom . -
CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW' fields have changed since 46C
We are implementing upgrade to mysap 700 from 46C
PROGRAMS USING function call to 'SX_OBJECT_CONVERT_ALI_RAW' fields have changed
we used to send tables directly and now we are sendin fields to be changed
i have tried to send the data but continue to have errors
700 version has this function with these paramaters
CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW'
EXPORTING
FORMAT_SRC = SOURCE_NAME
FORMAT_DST = OUT_NAME
ADDR_TYPE = 'FAX' " int or fax
DEVTYPE = DEVTYPE
FUNCPARA = 255
CHANGING
TRANSFER_BIN = LISTOBJECT
CONTENT_TXT = content_txt
CONTENT_BIN = content_bin
OBJHEAD =
LEN = OUTLEN
EXCEPTIONS
ERR_CONV_FAILED = 1
OTHERS = 2
changing
TRANSFER_BIN TYPE SX_BOOLEAN
CONTENT_TXT TYPE SOLI_TAB
CONTENT_BIN TYPE SOLIX_TAB
OBJHEAD TYPE SOLI_TAB O
LEN TYPE SO_OBJ_LEN
when ran we get an abap dump content_bin
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught in
procedure "GET_MEMORY_LIST" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The call to the function module "SX_OBJECT_CONVERT_ALI_RAW" is incorrect:
The function module interface allows you to specify only
fields of a particular type under "CONTENT_BIN".
The field "CONTENT_BIN" specified here is a different
field type
it looks like i need to set <fs> pointer to the field but i am akwardly at this any help please will do well.
this is how we used to use the function
CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW '
EXPORTING
FORMAT_SRC = SOURCE_NAME
FORMAT_DST = OUT_NAME
DEVTYPE = DEVTYPE
FUNCPARA = FUNCP
LEN_IN = INLEN
IMPORTING
LEN_OUT = OUTLEN
TABLES
CONTENT_IN = LISTOBJECT
CONTENT_OUT = OBJTXT
EXCEPTIONS
ERR_CONV_FAILED = 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.ok i solved my own problem.... i new i could. here is the results
first i had to dig into the bapi to find the proper definition to declare in my program i will present the code
and let you exame the example.
FORM GET_MEMORY_LIST TABLES P_MYSECOND STRUCTURE ZLIPOV.
DATA: LSIND LIKE SY-LSIND,
LISTTAB LIKE ABAPLIST OCCURS 1 WITH HEADER LINE,
OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
SOURCE_NAME LIKE SXCONVERT-FORMAT_SRC,
OUT_NAME LIKE SXCONVERT-FORMAT_DST,
DEVTYPE LIKE SXSERV-DEVTYPE,
FUNCP LIKE SXFUNCPARA,
INLEN LIKE SOOD-OBJLEN,
OUTLEN LIKE SOOD-OBJLEN,
UPDFLG TYPE I VALUE 0,
LNCNT TYPE I VALUE 0,
LABLNCNT TYPE I VALUE 0,
PRVLN TYPE I VALUE 0.
this is the added structures for the new fields
used for SX_OBJECT_CONVERT_ALI_RAW and the rest of the SX_OBJECT_CONVERT family
data:
TRANSFER_BIN TYPE SX_BOOLEAN, " SHOULD BE SET TO X
OBJHEAD like SOLI occurs 0,
content_txt LIKE soli OCCURS 0,
content_bin LIKE solix OCCURS 0.
CLEAR LISTOBJECT[].
CLEAR OBJHEAD.
CLEAR CONTENT_TXT[].
CLEAR CONTENT_BIN[].
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = LISTTAB
EXCEPTIONS
NOT_FOUND = 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.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
COMPRESSED_SIZE =
TABLES
IN = LISTTAB
OUT = CONTENT_BIN " this will receive the data
EXCEPTIONS
COMPRESS_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.
SOURCE_NAME = 'ALI' .
OUT_NAME = 'RAW'.
DEVTYPE = 'POSTSCPT'.
TRANSFER_BIN ='X'. " set to x our program will fail to convert stupid but needed
describe table listtab lines inlen.
DESCRIBE TABLE LISTOBJECT LINES INLEN.
SX_OBJECT_CONVERT_ALI_RAW
SX_OBJECT_CONVERT_ALI_PRT
SX_OBJECT_CONVERT_OTF_RAW
SX_OBJECT_CONVERT_OTF_PRT
SX_OBJECT_CONVERT_INT_RAW
DESCRIBE TABLE content_bin LINES INLEN.
CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW'
EXPORTING
FORMAT_SRC = SOURCE_NAME
FORMAT_DST = OUT_NAME
ADDR_TYPE = 'FAX' " int or fax
DEVTYPE = DEVTYPE
FUNCPARA = 255 " this is used to prevent wrapping if beyond 132 characters
CHANGING
TRANSFER_BIN = TRANSFER_BIN
CONTENT_TXT = content_txt " returns the data we want to address and work with
CONTENT_BIN = content_bin" data is conpressed and in binnary format
OBJHEAD = OBJHEAD
LEN = OUTLEN
EXCEPTIONS
ERR_CONV_FAILED = 1
OTHERS = 2
move content_txt[] to OBJTXT[]. " in my case the program origianly used OBJTXT
" so i chose to compy the data back here -
To Restrict fields when change posted SC
Hello,
Is there any way to restrict fields when change posted SC ? currently if SC already approved by 3 manager and waiting for the last manager for approval then the requestor change any fields in the SC, the approval flow will be reset from the beginning.
Is there any way to restrict some fields so whatever changes on these field will not reset existing approval ?
Fyi, we're using SRM 4.0
Thank's & Regards,
SastraHi,
To disable changing the SC by the requester durng any level of approval,you can set the value for the parameter "BBP_WFL_SECURITY" in SU01(under personalization tab) for the requester user.
Also based on the value of this paramtere you can also define whether the workflow for approval should be restarted in case of any chnage in the SC.
See the foll link for more details:
http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
BR,
Disha.
Do reward points for useful answers. -
Assignment Date Track History-Changed Field Summary
Hi all,
We have Oracle HR 11.5.7 FP.G.
In the HRMS there is a for the Employee's Assignment Date Track History showing the Changed Field Summary.
We want to specify the exact field(s) changed in Assignment for a period using SQL or Discoverer for Reporting Purposes.
Does anyone have any sample coding or idea on how to perform this?That is to specify exactly what fields changed in an assignment change.
What I can think of is to compare values but I'm not sure how I can get the desired result.
I would appreciate any feedback.
Thanking you in advance
ElenaElena,
To meet you're requirement: changes per person during a period
- done this before using audit trail, be aware that the reports that comes out standard, does not resemble anything a HR user can read. Quite often it says this ID has change to that ID. Building a reports that changes this into something meaning full for a HR/Payroll person does require a considerable effort.
- using the change event log (system extract) or the retro notification report (payroll) will give you're results in a better format. Problem you may encounter here, is that not all entities are available (by default). You may have to add some dynamic triggers.
- if you want to understand how the datetrack functionality is deriving the data, this paper on metalink may help : Create and Modify DateTrack History Views Note:177734.1 -
Opportunity create or change field condition
Hi All
a simple query...a functionality has to be added only when the opportunity is created or sales prospect field value is changed. That means create / change in prospect field value are the conditions to be checked before proceeding further.
How to achieve this in the simplest manner?
Thanks in advance.Hi Dipesh
thanks for the reply
actually parties involved tab has to be populated.
I am using crm_ordar_maintain in order_save badi.
now the value to be populated depends on the sales prospect of opportunity. so in case sales prospect is changed the corresponding value to be populated should also change.
but since order_save gets triggered every time we save opportunity, I want to restrict it to create/ change in prospect field only.
hope m clear.
thanks
Maybe you are looking for
-
How to set up Open Gl Application in C using Xcode
i am trying to work for University Project in Xcode. Xcode always rocks my work but sometimes i probably unaware of its features i get problems like today i am having a problem in creating an application in C++ in which i have to use graphics. i dont
-
Apex 4.1 Grid branching two pages from a field
Apex 4.1,how create two branches inside the GRID Hello, I'm using Apex 4.1, as per the functionality, I need to use interactive report to "SEARCH records", the same will be shown in the GRID. GRID should look like as below, | Col 1 | Col 2 | Col 3 |C
-
Web dynpro application deployment problum on sneak preview 2004S
Hi all, I have installed SAP Netweaver sneak preview 2004S every thing is fine but when ever I am try to deploy a simple web dynpro application I got this error. Nov 2, 2006 5:02:03 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadM
-
What's wrong with my iPhone 5s touch screen?
Attached a video that demonstrates a problem with my iPhone 5s: http://youtu.be/zOnQsrdgURI Tried restoring - didn't work. Tried disabling Touch ID - didn't work. Tried removing the case and the screen protector - didn't work. Any suggestions other t
-
EJB handle containing t3://null:7001
I'm working on a cluster, using in-memory replication, on SunOs 5.6 (WLS 5.01 sp1). I've 102 stateless session bean, and only 1 stateful. The stateful has in weblogic-ejb-home.xml the following: <weblogic-ejb-j