Removinga field from the segment which is already released
Hi Folks,
I have created a custom segment & released it. But later when I want to remove a field from it I'm not able to do so. I tried to cancel the release of the segment & then make the required changes but while tried to cancel the release I'm getting an error saying "Error while resetting release of segment ZDATA_BASIC_SEG". Kindly let me know how could I remove the field from this segment. For your information the current release of our system is 700 & the release of segment is also 700.
Thanks & Regards,
santosh
Hi Santosh,
As you said, current release of your system is 700 & the release of segment is also 700.
I tried to test the possible errors during the release of the segment. Please have a breakpoint in the program LEDIJF05 in the form CHANGE_CLOSE_SEGDEF. The error could be mismatch with the previous definition of the segment, where the release is not equal to 700.
Message Id : EA, msg no 259.
Please check.
Hope this helps.
Regards,
Satish Kanteti
Similar Messages
-
Adding as segment which is already used in in the bais idoc type .
HI Every one
Could u pls clarify me can we add a segment which is already being used in the basic type . If so how to do that .
Thanks in advance .
Example :
We have basic type as : ACC_DOCUMENT03
For the above basic type we have different segments .
One of the segement is : E1BPACGL09 which is being used for differnt G L Accounts postring . Now we want to use the above segement once again.
1) Can we add segement
2) If so how to do ?
Thanks in advance .Thanks very much for your answer, Mohit. That's exactly what I feared!
I thought about another option, so I'd like to know what you think about it.
If I set this vehicle's status (OIGV-VEH_STATUS) as 2 (Vehicle to be deleted) and run SARA with object OIG_VEHCLE, will it be successfully archived if the TD Shipment's still in the database with status=6?
And... let's suppose it get archived somehow. Will I be able to use this very same vehicle code (OIGV-VEHICLE) to create a different (another) vehicle?
Thank you once again!
Regards,
Giuliano -
Error while adding new field in the Segment type thru WE31.
Hi All,
I want to add one field in the Z segment type using WE31.But i am getting the error message as
'Current segment definition <segment name> can no longer be changed and The current segment definition
is already released.You can either add a new segment definition or cancel the release of the current segment definition'.
The current segment defenition which i am trying to change got the SAP release of 45B. But the system has upgraded to Ecc6 recently.
I tried going to the edit menu and cancel the release, but still it is not allowing.
Whats the impact of the Add button(Add version) and creating a new version?.will it create a new version for ECC6?.
Points will be rewarded
regards,
neslin.Hi
You can create a new version. This will not create any problems. You might not be able to cancel the release because of upgrade.
Thanks
Vijay -
Deleting AET custom field from the SAP tableu2019s level.
Hi experts,
I am deleting few un-used custom fields in AET. I am able to see delete symbol as status in AET. Although deleted custom fields are present in lot of structure and tables (eg: CRMD_ORDERADM_H) in SAP GUI tables. I want to delete the custom field from SAP GUI tables and structures.
I tried to delete custom field from the SAP GUI tableu2019s level. But it is not allowing.
Please get me some clue on deleting custom field from the SAP GUI tableu2019s level.
Thanks in advance
ChandHi,
The deletion of custom field in AET happens in two steps:
1. You select a custom field that you want to delete, than you press on the delete icon in the Custom Field Assignment Block.
Doing this, you mark the selected custom field to be deleted.
2. You press on "Save and Generate" button. The "Save" will persist the deletion mark of the custom field. It means the custom field is marked to be deleted in the database. The "Generate" will process all the deletion of objects which are needed to delete the custom field, for example: Domain, Data Element, Append, etc.
If the "Generate" does not happen due any reason, the deletion mark is already persisted in DB. It means, later on if you go back to AET, you will see that the custom field is marked to be deleted, but it is not yet deleted.
If you do not press "Save and Generate" button at all, it means, you do not persist the deletion mark in DB. Later on if you go back to AET, you won't see that the custom field marked to be deleted.
Note: Please make sure, "Generation" is only applied for field that is flagged to be generated. The "Generate" flag column is by default hidden. You can use personlization to show the column.
Regards,
Steve -
Modify field from idocs segment
Hi
I am new with Idocs and i have to change 2 fields from a segment in my idoc.Is this possible.If yes,how can they be modified?
Also i tried to place a break-point in my FM that generates the idoc but the debugger does not stop in my FM,eventhough the idoc is generated with succes.Help please.
ThanksHi,
Creating Custom IDoc type and Message type
All the objects created should be present on both source as well as target system(s).
1. Create segments - Transaction WE31
Create a segment ZRZSEG1
Add all fields of table ZCUSTOMERS to it
Save the segment
Release it using the menu path Edit -> Set Release
Similarly create two more segments given below
Seg. ZRZSEG2 - to hold all fields of table ZSOHEADERS
Seg. ZRZSEG3 - to hold all fields of table ZSOITEMS
2. Create Basic IDoc type - Transaction WE30
Create a Basic type ZRZORDER
Add the created segments in the hierarchy shown
Maintain attributes for each of the segments
Save the object and go back
Release the object using the menu path Edit -> Set Release
3. Create/Assign Message type - Transactions WE81/WE82
Go to WE81
Create a new Message type ZRZSO_MT
Save the object
Go to WE82 and create new entry
Assign the message type ZRZSO_MT to the basic type ZRZORDER
Also specify the Release Version
Save the object
Thus we have defined the IDoc structure which will hold the data to be transferred.
Please Refer Following Link of IDOCS,
https://wiki.sdn.sap.com/wiki/display/ABAP/ALE+IDOCS
https://wiki.sdn.sap.com/wiki/display/ABAP/ALE%2CIDOC
For Debugging IDOC.
Execute transaction WE19 , in Existing Idoc give the Idoc number and Execute it will take you to another screen. In this press the Inbound Function Module tab , Give the Function Module and check the check box Call in Debugging Mode , and process In ForeGround.
Thanks & Regards,
ShreeMohan
Thanks & Regards,
\ShreeMohan -
Getting Error while deleting a field from the 'Z' Structure
Hi All,
I have created a 'z' structure in which i have 5 fields, now i want to delete one field from the structure, but it is giving me error like Invalid Change.
Its a structure so i cant activate and adjust as we do for Tables.(se14)
So pls help me out asap.
thanks & Regards,
Dhruv ShahThanks for Quick Reply.
I have not used this field in any FM/ Report.
I have tried log off and then log on. but it make no difference.
Now the Other scenario is that i want to change the datatype of this field to TEXT25.
But it is also not allowing me to change because currently datatype is TEXT20.
So now how can i change the length from 20 to 25.
Regards,
Dhruv Shah -
Select rows from the table which don't exist in another table
Hi, in this relatively simple task I have some problem. I need to get the records from the T1 which don't exist in T2, based on some criteria.
here is my query:
select a.ordernum, sum(totchg), b.tracknum, rownum from T1 a, T2 b where 1=1 and a.ordernum not in( select ordernum from T2 ) and entrydate between to_date('06/23/2007','MM/dd/yyyy') and to_date('06/30/2007','MM/dd/yyyy') group by a.ordernum, b.tracknum, rownum
it suppose to return me "TRACKNUM" empty, however it's being returned populated.
I also tried :
select a.ordernum, sum(totchg),b.tracknum, rownum from T1 a,
T2 b where[b] not exists( select '1' from T2 where a.ordernum = b.ordernum )
and entrydate between to_date('06/23/2007','MM/dd/yyyy') and to_date('06/30/2007','MM/dd/yyyy') group by a.ordernum, b.tracknum, rownum
the results are the same.
please advise.You are trying to get a returned value field from T2 when you just said that the
records returned from Only T1 are not found in T2, therefore no T2 record to return.
You only get T1 records where the Ordernum key is not found in T2.
select ordernum, tracknum, rownum, sum(totchg)
from T1
where ordernum not in( select ordernum from T2 )
and (entrydate between to_date('06/23/2007','MM/dd/yyyy') and
to_date('06/30/2007','MM/dd/yyyy') )
group by ordernum, tracknum, rownum -
How can I get the "text" field from the actionEvent.getSource() ?
I have some sample code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.ArrayList;
public class JFrameTester{
public static void main( String[] args ) {
JFrame f = new JFrame("JFrame");
f.setSize( 500, 500 );
ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
buttonsArr.add( new JButton( "first" ) );
buttonsArr.add( new JButton( "second" ) );
buttonsArr.add( new JButton( "third" ) );
MyListener myListener = new MyListener();
( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
JPanel panel = new JPanel();
panel.add( buttonsArr.get( 0 ) );
panel.add( buttonsArr.get( 1 ) );
panel.add( buttonsArr.get( 2 ) );
f.getContentPane().add( BorderLayout.CENTER, panel );
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
f.setVisible( true );
public static class MyListener implements ActionListener{
public MyListener() {}
public void actionPerformed( ActionEvent e ) {
System.out.println( "hi!! " + e.getSource() );
// I need to know a title of the button (which was clicked)...
}The output of the code is something like this:
hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
I need this: "first" (from this part: "text=first" of the output above).
Does anyone know how can I get the "text" field from the e.getSource() ?System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
In a real-world application, no.
In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button). -
How to hide the field from the view in the webdynpro application?
Hi Gurus,
I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
I got a few inputs from forum that we can achieve this by implementing the following steps..........
Create In context => Value attribute => Say Visibility
Go to its properties
Select com.sap.ide.webdynpro.uielementdefinitions.Visibility
In View Layout
Select UI Element Set Visible property to this context variable Visibility.
In wdDoModifyView() You can set this property to false
wdContext.currentContextElement().setVisibility(false);
Can you people tell me where to create the value attribute........
In the view context or in the component context...........
and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
Please calrify this ASAP...........
Thanks in Advance,
DharaniHi Manoj......
Hi Murutuza,
As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
wdContext.currentFieldVisibilityElement().setOldTimeDuration(WDVisibility.NONE);
But if I deploy the application and see still am getting the same field dispalying in the screen.........
I even tried putting this code in wdmodifyview method.........same results........
Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
Thanks in Advance,
Dharani -
I've copied my itunes library onto an external hard drive. Is there any way I can do this and delete songs from my PC without also deleting from the external drive? Already lost two songs!!! I just want a back up - using a work PC and don't want others accessing my songs. Hope someone can help. Thanks!
I see. To get a better idea of what is being stored where please download and run the script iTunesInfo which should output something like this:
I'm interested in the block of 4 results starting ITL location. If your profile name shows up somewhere replace it with <Name>. It is also worth checking under Edit > Preferences > Advanced to see where iTunes thinks your media is supposed to go. My script estimates the setting based on the location of the first media file it can actually find.
tt2 -
Need to know how to iterate a list of field from the req xml in page servic
Hi All,
Please help me out with java code in which i am able to iterate a list of field coming in the request xml to my page service class under read(Pageheader header) method of mine queryPagemaintenace class.
package com.splwg.cm.domain.pageService;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import com.ibm.icu.math.BigDecimal;
import com.splwg.base.api.businessObject.BusinessObjectDispatcher;
import com.splwg.base.api.businessObject.BusinessObjectInstance;
import com.splwg.base.api.businessObject.COTSInstanceListNode;
import com.splwg.base.api.datatypes.Date;
import com.splwg.base.api.lookup.BusinessObjectActionLookup;
import com.splwg.base.api.service.DataElement;
import com.splwg.base.api.service.ItemList;
import com.splwg.base.api.service.PageHeader;
import com.splwg.shared.common.ApplicationError;
import com.splwg.shared.environ.FieldDefinition;
import com.splwg.shared.environ.ListDefinition;
import com.splwg.shared.logging.Logger;
import com.splwg.shared.logging.LoggerFactory;
* @author
@QueryPage (program = CMUSER, service = CMUSER,
* body = @DataElement (contents = { @ListField (name = USER_GROUP_LIST)
* , @ListDataField (name = USR_GRP_ID)
* , @DataField (name = MESSAGE_TEXT)
* , @DataField (name = USER_ID)
* , @DataField (name = PASSWORD)
* , @DataField (name = LAST_NAME)
* , @DataField (name = FIRST_NAME)
* , @DataField (name = USER_TYPE_FLG)
* , @DataField (name = EMAILID)}),
* actions = { "add"
* ,"read"
* , "delete"
* , "change"},
* header = { @DataField (name = USER_TYPE_FLG)
* , @DataField (name = EMAILID)
* , @DataField (name = LAST_NAME)
* , @DataField (name = FIRST_NAME)
* , @DataField (name = PASSWORD)
* , @DataField (name = USER_ID)},
* headerFields = { @DataField (name = USER_TYPE_FLG)
* , @DataField (name = USR_GRP_ID)
* , @DataField (name = EMAILID)
* , @DataField (name = LAST_NAME)
* , @DataField (name = FIRST_NAME)
* , @DataField (name = PASSWORD)
* , @DataField (name = USER_ID)},
* lists = { @List (name = USER_GROUP_LIST, size = 100, includeLCopybook = false,
* body = @DataElement (contents = { @DataField (name = USR_GRP_ID)}))},modules = {})
public class CMUSER extends CMUSER_Gen {
public static final Logger logger = LoggerFactory.getLogger(CMUSER.class);
DataElement root = new DataElement();
PageHeader page = new PageHeader();
protected DataElement read(PageHeader header) throws ApplicationError{
I want to know how can i iterate this USER_GROUP_LIST in my read method and get the USR_GRP_ID field data from it.
A Prompt reply from your end will help me to resolve this issueGuru Sir,
i tried to override the add() method of the framework in that i was able to iterate the field from the list. But now the i am facing there is that i am not able to send back the response to the external system in XML format. I am getting a blank response in my SOAP UI Tool while testing here is the code:
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import com.ibm.icu.math.BigDecimal;
import com.splwg.base.api.businessObject.BusinessObjectDispatcher;
import com.splwg.base.api.businessObject.BusinessObjectInstance;
import com.splwg.base.api.businessObject.COTSInstanceListNode;
import com.splwg.base.api.datatypes.Date;
import com.splwg.base.api.lookup.BusinessObjectActionLookup;
import com.splwg.base.api.service.DataElement;
import com.splwg.base.api.service.ItemList;
import com.splwg.base.api.service.PageHeader;
import com.splwg.shared.common.ApplicationError;
import com.splwg.shared.logging.Logger;
import com.splwg.shared.logging.LoggerFactory;
* @author
@QueryPage (program = CMUSER4, service = CMUSER4,
* body = @DataElement (contents = { @DataField (name = MESSAGE_TEXT)
* , @DataField (name = PASSWORD)
* , @DataField (name = USER_ID)
* , @DataField (name = LAST_NAME)
* , @DataField (name = FIRST_NAME)
* , @DataField (name = USER_TYPE_FLG)
* , @DataField (name = EMAILID)
* , @ListDataField (name = USR_GRP_ID)
* , @ListField (name = USER_GROUP_LIST)}),
* actions = { "add"
* , "delete"
* , "change"
* , "read"},
* header = { @DataField (name = USER_ID)
* , @DataField (name = MESSAGE_TEXT)},
* headerFields = { @DataField (name = USER_ID)
* , @DataField (name = MESSAGE_TEXT)},
* lists = { @List (name = USER_GROUP_LIST, size = 100,
* body = @DataElement (contents = { @DataField (name = USR_GRP_ID)}))}, modules = {})
public class CMUSER4 extends CMUSER4_Gen {
public static final Logger logger = LoggerFactory.getLogger(CMUSER4.class);
DataElement root = new DataElement();
PageHeader page = new PageHeader();
protected PageHeader add(DataElement item) throws ApplicationError{
BusinessObjectInstance boInstance = BusinessObjectInstance.create("CM-USER");
String USR_GRP_ID = null;
try{
logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.USER_ID));
logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.FIRST_NAME));
logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.LAST_NAME));
logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.EMAILID));
// logger.info("Data coming from the Service into the Application is :"+getInputHeader().getString(STRUCTURE.list_USER_GROUP_LIST.USR_GRP_ID));
// Iterator it = STRUCTURE.
ItemList sourceList = item.getList(STRUCTURE.list_USER_GROUP_LIST.name);
List userGrpID = new ArrayList();
logger.info("The Size of the User Group List here is :"+sourceList.size());
Iterator iter;
if ((sourceList != null) &&
(sourceList.size() > 0)) {
for (iter = sourceList.iterator(); iter.hasNext(); ) {
DataElement myItem = (DataElement)iter.next();
USR_GRP_ID = myItem.get(STRUCTURE.list_USER_GROUP_LIST.USR_GRP_ID);
logger.info("The User Group Id coming in the List here is :"+USR_GRP_ID);
logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.PASSWORD));
boInstance.set("user", item.get(STRUCTURE.USER_ID));
boInstance.set("firstName", item.get(STRUCTURE.FIRST_NAME));
boInstance.set("lastName", item.get(STRUCTURE.LAST_NAME));
boInstance.set("emailAddress", item.get(STRUCTURE.EMAILID));
// COTSInstanceList userGrpList = boInstance.getList("userGroupUser");
// COTSInstanceListNode userGroupList = userGrpList.newChild();
COTSInstanceListNode userGroupList = boInstance.getList("userGroupUser").newChild();
userGroupList.set("userGroup", USR_GRP_ID);
logger.info("Data coming from the Service into the Application is :"+userGroupList.toString());
/*boInstance.set
boInstance.set("userGroup", getInputHeader().getString(STRUCTURE.HEADER.USR_GRP_ID));*/
// UserTypeLookup.constants.TEMPLATE_USER
//if(element.get(STRUCTURE.USER_TYPE_FLG))
//boInstance.set("user", element.get(STRUCTURE.));
boInstance.set("dashboardWidth","200");
boInstance.set("homeNavigationOption","CI0000000574");
boInstance.set("language","ENG");
boInstance.set("toDoEntriesAge1", new BigDecimal(50));
boInstance.set("toDoEntriesAge2",new BigDecimal(100));
boInstance.set("displayProfileCode", "NORTHAM");
String expirationDate = "2100-12-31";
String[] array = expirationDate.split("-");
userGroupList.set("expirationDate",new Date(Integer
.parseInt(array[0]), Integer
.parseInt(array[1]), Integer
.parseInt(array[2])));
//boInstance.set("userGroupUser", userGroupList);
COTSInstanceListNode roleUserList = boInstance.getList("roleUser").newChild();
roleUserList.set("toDoRole","F1_DFLT");
COTSInstanceListNode dataAccessList = boInstance.getList("dataAccessUser").newChild();
dataAccessList.set("dataAccessRole","***");
String expiryDate = "2100-01-01";
String[] array1 = expiryDate.split("-");
dataAccessList.set("expireDate",new Date(Integer
.parseInt(array1[0]), Integer
.parseInt(array1[1]), Integer
.parseInt(array1[2])));
BusinessObjectDispatcher.execute(boInstance,
BusinessObjectActionLookup.constants.FAST_ADD);
page.put(STRUCTURE.HEADER.MESSAGE_TEXT, "User Added Successfully");
page.put(STRUCTURE.HEADER.USER_ID,item.get(STRUCTURE.USER_ID));
}catch(Exception e){
e.printStackTrace();
page.put(STRUCTURE.HEADER.MESSAGE_TEXT, "Caught Exception in the ORMB System. Please reach out to the Admin"+e.getMessage());
page.put(STRUCTURE.HEADER.USER_ID,item.get(STRUCTURE.USER_ID));
return page;
If you can help me to find out what went wrong here while sending the response back it can close my issue. -
How to skip one field from the file by using sqlldr
Hi ,
i'm using DB 10g R2 on Redhat ,
my control file hereunder ,
LOAD DATA
INTO TABLE reber.AAA_BILL
APPEND
REENABLE DISABLED_CONSTRAINTS
EXCEPTIONS reber.AAA_BILL
FIELDS TERMINATED BY '|'
(Streamnumber ,
MDN ,
USERNAME ,
DOMAIN ,
USERIP ,
CORRELATION_ID ,
ACCOUNTREASON ,
STARTTIME ,
PRIORTIME ,
CURTIME ,
SESSIONTIME ,
SESSIONVOLUME ,
RATEPOLICYIDX ,
FEE ,
GROUPID ,
SERVICEID)and this is one records of the file ,
222|1|0664363446|12D0DC90||10.15.6.45|007b8aa5|3|20111029204824|20111029204824|20111029211504|1600|0|147|0|4000|10154|really i want to skip the first field in the file which is (222|) and starting from the second field ,
any help pleaseThank you for you reply ,
really i know the Filler to skip colomn from the table , is the Filler working also to skip field from the File . i'll read the link to check this -
How to delete a field from search help which is delivered
hi
I got a requirement to delete a field from search help which is delivered long back
Regards
krishnaHi
Whether it exists in DEV system or not?
Take the name of that Search Help from PRD/Quality(if it is not there in DEV system) and modify/change it by removing that field from the search help in DEV system and create a Transport request and transport the same request to Quality/PRD systems
Now the New changes (in which the field was removed) will be over written on the old search help in the PRD system, since it is the same Name (search help)
Regards
Anji -
Drop down in the selection for the field from the table
Hi.
i want to put the drop down for the field from the table fo which i dont know the number of entries for the field zregion1 of the table zbwcntry.
please tell me how to use the function module and what could be the line of codes.
the drop down is for the select option on the slection screen of the classical report.
please help .HI,
Check below code..it may help you.
REPORT Zbunu .
TYPES :BEGIN OF STR ,
MATNR TYPE MATNR ,
END OF STR .
DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
VAR TYPE MARA-MATNR .
PARAMETERS : S_MATNR TYPE MATNR ,
P_MATNR TYPE MATNR.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MATNR .
SELECT MATNR FROM MARA INTO
CORRESPONDING FIELDS OF TABLE ITAB UP TO 1000 ROWS.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = 'MATNR'
PVALKEY = ' '
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_MATNR'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = 'X'
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
tables
value_tab = ITAB
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Ansumesh -
Fucntion module to reterieve ANFDT field from the structure RM06E
hi,
I need Function module to reterieve ANFDT field from the structure RM06E or is there any other table for this field.
Regards,
anithaAnitha,
That looks like the date on which the RFQ is created. What you can do is to get this date from EKKO table for a given RFQ, however you need to check the document category and type to A and AN respecitvely.
Regards,
Ravi
Note : Please mark all the helpful answers
Maybe you are looking for
-
Unable to install Adobe Shockwave on MSIE 11 in Windows 8.1 (Update 1)
Heey there, I have encounterd an installation issue when I try to install Adobe Shockwave Player on MSIE 11 in Windows 8.1 (Update 1). I neither cannot download nor installing it. The Adobe FAQ tells me to use the 32-bit version of MSIE, but even the
-
Connecting PCMCIA Sound Blaster Audigy 2 ZS Notebook to Onkyo HT-S580 Recei
Hi I have PCMCIA Sound Blaster Audigy 2 ZS Notebook audio card with my Thinkpad laptop. I have bought Onkyo HT- S580 Hometheater system. I was hoping to connect the Line out, Line out2, Line out3 jacks to the receiver's Front, Surround(rear) and Cent
-
i will plug it in and neither itunes nor my computer reconize that its pluged in. this phone is brand new s there is no faults in it.
-
Why wont my mac recognize anything plugged into my usb ports
My desktop will no longer recognize anything I plug into any of my usb ports! I have rebooted and updated my software but still nothing-.help!
-
ITunes/Quicktime removal/ reInstallation problem
iTunes suddently stopped launching day before yesterday and I get a message which explains that "windows data protection" stopped this program from executing. I tried reinstalling iTunes with the same result so I decided to uninstall and reinstall.