How to get planning area if I have planning book - Function module/table
Hello All,
Our basic requirement is to find out whether the planning book we are using is DP relevant or SP relevant. (inside the custom program)
One way is to find out the relevant planning area and find out if the planning area is DP relevant or SP relevant.
But can anyone suggest if there are any tables or function modules to achieve the same?
Thanks a lot.
Regards,
Chandan
Dear Chandan,
You can use the table "/SAPAPO/PBMVW" for your issue. "APP_SNP" field tells if it SNP planning book or not. Thee tables gives all planning books present in the system.
If you want dataview's you can use table ""/SAPAPO/PBDVW"".
I hope the information solves your issue.
Thanks and Regards,
Nithin.
Similar Messages
-
How to get Java Version of an application server using Function Module?
Hi Friends,
We are doing developments for system performance reporting for multiple BW Systems. For this purpose we need to get the JAVA Version for these multiple systems.
If anyone tell us about any Function Module or Program that we can use to get this information?
Thanks
Nayan JoshiHi,
Calling an SAP Function Module from Java
To call an SAP function module from a Java application, you first need SAP JCo (Java Connector); you can download it from SAP's site, though you need an account to do so.
To actually open the connection, use the tip code shown here.
Class jcoClass = Class.forName("com.sap.mw.jco.JCO", true, this.getClass().getClassLoader());
Client client = JCO.createClient(clientNumber, user, passWord, lang, host, systemId);
//all parameters are strings
client.connect();
Repository repository = new JCO.Repository("SAP", client);
IFunctionTemplate functionTemplate = repository.getFunctionTemplate
("YOUR_FUNCTIONAL_MODULE_NAME");
Function function = functionTemplate.getFunction();
ParameterList parameterList = function.getImportParameterList();
parameterList.setValue("value1", "INPUT_PARAM_NAME");
parameterList.setValue("value2", "INPUT_PARAM_NAME2");
client.execute(function);
Regards,
Marasa. -
How to get sales area text data ( line1) from XD02
hi sap gurus,
how to get table name for sales area text xd02 (like marking, remarks , tag ) or we have to use function module to fetch it in the report.
thanks ,
Amit Ranjan .Table names for all texts are STXH,STXL but from table u cannot fetch them as in the table these texts are stored in RAW format. To fetch this text in human readable format use the FM READ_TEXT. To use this Fm u have to pass text name, text id and object name..u can get all data by double clicking the editor for each text..it will goto the sapscript editor(line editor) then from menu path Goto->Header..u will get all the info....
Regards,
JOy. -
I will like to know how to get the money that i have in my itunes acc how to used it up to buy a cd with it
LatachaM_VZW wrote:
If the incorrect PIN code is entered too many times, a PIN Unlock Key must be obtained from Verizon Wireless at 908-559-4899 if you are outside of the United States and 800-922-0204 or *611(send) from your mobile number inside the United States..
The SIM PIN option is only available when the handset is in GSM / UMTS mode. Refer to Network Mode Setting for further assistance.
Thank you, LatachaM_VZW
Are you talking about the PUK code (when the PIN for the SIM has been wrong too many times)? The OP is talking about network unlock, and is using a foreign SIM. Global Services certainly wouldn't have the unlock code for a SIM that isn't theirs.
I have heard that if you do enter the incorrect network unlock code too many times, the phone becomes permanently locked (i..e cannot be unlocked even with a valid unlock code) but not everyone agrees that this is true for all phones.
Jax's post above really says it all, you will need to search the web for a service that will unlock this Motorola phone. In doing so, you might find a number of threads that say the Global has to be activated in the US before an unlock code will work. Others were able to unlock without this. -
last night I stole my ipad and not how to get the serial number I have the itunes account that I do
What To Do If Your iDevice or Computer Is Lost Or Stolen
If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
Reporting a lost or stolen Apple product
What-To-Do-When-Iphone-Is-Stolen
Lost or Stolen iPhone? Here’s What to do.
6 Ways to Track and Recover Your Lost/Stolen iPhone
Find My iPhone
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
Find My iPhone
Setup your iDevice on MobileMe
OS X Lion- About Find My Mac
How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Third-party solutions for computers:
VUWER 1.5.4
Sneaky ******* 0.2.0
Undercover 4.7
LoJack for Laptops Premium Mac
STEM 2.1 -
I disabled my iPhone 4 and while doing a restore via iTunes, it is downloading and timing out so the download is not completing. any idea how to get past that? I have tried many times and the same error keeps happening.
You need to force the phone into recovery mode, as described here, & restore it:
http://support.apple.com/kb/ht1808
Sorry, you've already lost all data on your phone. -
I have lost my "Basic" panel in the Develop module and can't figure out how to get it back. My right panel goes from the Histogram straight to the Tone Curve panel. My Basic panel should be below the Histogram. Any ideas how to get it back. I have even uninstalled my lightroom and reinstalled it with same issue. Help!!!
Right click on or near one of the other headers and a pop-up will appear and you will be able to select the Basic Panel for viewing.
-
My daughter downloaded a bunch of apps and I need to know how to get them reversed. I have not received any email receipts, but the charges have shown up on my bank account. This has all happened within the last couple of hours. I have tried numerous times to "report a problem" but am not having any success. Keeps redirecting me to support. I need help trying to get a hold of someone. I know that there has been a settlement recently about this situation.
Apple - Support - iTunes Store - Contact Us - http://www.apple.com/emea/support/itunes/contact.html
How to request a refund for an iTunes or App Store purchase - http://www.imore.com/how-request-refund-itunes-or-app-store-purchase
iOS: Understanding Restrictions - http://support.apple.com/kb/HT4213 - "You can enable Restrictions, also known as Parental Controls, on an iPhone, iPad, or iPod touch to prevent access to specific features."
Children should not have access to your iTunes account password.
You should also consider removing credit card information from your account so no unconsidered purchases can be made by anybody. iTunes Store: Changing Account Information - http://support.apple.com/kb/HT1918 -
Where do I get to know, which planning area belongs to which DP Book ?
Hi All
Where will I get to see the details like:
Which planning area belongs to which DP Book?
Which Planning Object Structure is assigned to which Planning area and other stuff, I mean the whole tree?
Please do reply...
SnehaPunjHi Sneha,
You can do this in multiple ways:
1. T code: /SAPAPO/MSDP_ADMIN - Administration of Demand Planning and Supply Network Planning
Right click the planning area and choose "details". You can find all the corresponding details
2.Go to T code: /sapapo/sdp94
right click on the planning book "info about planning book", you would get the details
Thanks,Bopanna -
I need to know how to get my desktop (mac mini) laptop (mac book pro) iPhone4S
I need to know how to get my desktop (mac mini) laptop (mac book pro) iPhone4S & ipad all sharing the same iCloud... I have four deveices... I\iPad & iPhone are synced to the mini, but the laptop is the main one.
First, your Macs must have OS X Lion, and your devices iOS 5. Then, go to your devices and open Settings > iCloud to configure the same Apple ID. In your computers, go to System Preferences > iCloud and set up iCloud with the Apple ID
-
How to get the name of a Data Element of a generic Table!
Hi guys!
In my function i have the following import paramenter
i_outtab type standard table
now i import a table and i want to get the dataelement of the fields.
is there a way to do this??Hello Thomas
Perhaps the following sample report may be useful for you.
*& Report ZUS_SDN_RTTI_STRUCT_COMPONENTS
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145711"></a>
*& Thread: How to get the name of a Data Element of a generic Table!
REPORT zus_sdn_rtti_struct_components.
TYPE-POOLS: abap.
TYPES: BEGIN OF ty_s_outtab.
TYPES: bukrs TYPE bukrs.
TYPES: kunnr TYPE kunnr.
TYPES: END OF ty_s_outtab.
DATA: gdo_data TYPE REF TO data.
DATA: gs_outtab TYPE ty_s_outtab.
DATA: go_typedescr TYPE REF TO cl_abap_typedescr,
go_structdescr TYPE REF TO cl_abap_structdescr,
go_datadescr type ref to cl_abap_datadescr.
DATA: gs_comp TYPE abap_compdescr,
gd_dtel type string,
gt_dfies type ddfields.
FIELD-SYMBOLS:
<gs_struct> TYPE ANY.
START-OF-SELECTION.
BREAK-POINT.
GET REFERENCE OF gs_outtab INTO gdo_data.
ASSIGN gdo_data->* TO <gs_struct>.
go_typedescr = cl_abap_typedescr=>describe_by_data( <gs_struct> ).
go_structdescr ?= go_typedescr.
BREAK-POINT.
LOOP AT go_structdescr->components INTO gs_comp.
go_datadescr = GO_STRUCTDESCR->GET_COMPONENT_TYPE( gs_comp-name ).
gd_dtel = go_datadescr->get_relative_name( ).
write: / syst-tabix, 'Data element =', gd_dtel.
ENDLOOP.
END-OF-SELECTION.
Regards
Uwe -
How to get an error icon with tool tip in a displaying table in a particu
How to get an error icon with tool tip in a displaying table in a particular field..
Thanks.Hi,
In the context create an attribute of type string .
Create the attribute in the node which you bind for table.
In the layout .
1.create a Table UI element.
2 create binding for UI element.
3Right click on the Table UI and select insert table column.
4.once the table column is inserted right click on table column and select insert cell editor.
5.create the cell editor of the type image.
6.Bind the source property of the image to the attribute in the node which you have created.
so depending on what image(type of icon) needs to be displayed set the attibute accordingly.
refer to the link for image :
[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm]
Priya -
How can I list all users who have access to a particular TABLE or VIEW
Hi,
Can someone tell me how I can list all users who have access to a particular TABLE or VIEW.
AbhishekHi,
Take a look on this link: http://www.petefinnigan.com/tools.htm
Cheers -
How to get Header in Downloaded .xls file using GUI_Download function
How to get Header in Downloaded .xls file using GUI_Download function ???
How to use the the Header parameter available in GUI_Download function .HI,
see this sample code..
data : Begin of t_header occurs 0,
name(30) type c,
end of t_header.
data : Begin of itab occurs 0,
fld1 type char10,
fld2 type char10,
fld3 type char10,
end of itab.
DATA: v_pass_path TYPE string.
append itab.
itab-fld1 = 'Hi'.
itab-fld2 = 'hello'.
itab-fld3 = 'welcome'.
append itab.
append itab.
append itab.
append itab.
append itab.
t_header-name = 'Field1'.
append t_header.
t_header-name = 'Field2'.
append t_header.
t_header-name = 'Field3'.
append t_header.
CALL FUNCTION 'GUI_FILE_SAVE_DIALOG'
EXPORTING
default_extension = 'XLS'
IMPORTING
fullpath = v_pass_path.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = v_pass_path
filetype = 'DBF'
TABLES
data_tab = itab
FIELDNAMES = t_header
Cheers,
jose. -
How to get field separator in flat file using GUI_DOWNLOAD function
hi,
how to get field separator in flat file using GUI_DOWNLOAD function.
thanking you.Hi,
Use WRITE_FIELD_SEPARATOR = 'X'.
Check this sample code
REPORT z_file_download.
DATA: w_name(90) TYPE c.
DATA:
BEGIN OF fs_flight,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price LIKE sflight-price,
currency LIKE sflight-currency,
END OF fs_flight.
DATA:
BEGIN OF fs_head,
carrid(10) TYPE c,
connid(10) TYPE c,
fldate(10) TYPE c,
price(10) TYPE c,
curr(10) TYPE c,
END OF fs_head.
DATA:
t_head LIKE
TABLE OF
fs_head.
DATA:
t_flight LIKE
TABLE OF
fs_flight.
fs_head-carrid = 'CARRID'.
fs_head-connid = 'CONNID'.
fs_head-fldate = 'FLDATE'.
fs_head-price = 'PRICE'.
fs_head-curr = 'CURRENCY'.
APPEND fs_head TO t_head.
SELECT-OPTIONS:
s_carrid FOR fs_flight-carrid.
START-OF-SELECTION.
SELECT carrid
connid
fldate
price
currency
FROM sflight
INTO TABLE t_flight
WHERE carrid IN s_carrid.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = 'D:\flight.xls'
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* IMPORTING
* FILELENGTH =
tables
data_tab = t_head
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
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 'GUI_DOWNLOAD'
EXPORTING
filename = 'D:\flight.xls'
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = t_flight
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc EQ 0.
MESSAGE 'Download successful' TYPE 'I'.
ENDIF.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Maybe you are looking for
-
Create a new Section in Pages Beta
I've uploaded my Pages document in which I create new sections to modify the Header I use. Can't see how to create a new section in iCloud Pages Beta.
-
Hi All, When I am trying to sync my Mobile Client to the Middleware, I am getting this error: ERROR: Error occured on server: "Error while Registering"; error Code 22 ERROR: Error occured on server: "Error while Registering"; error Code 22 <b>Syncron
-
Parked Invoice document (Help Required URG)
Hello Experts, 1) Can any one guide me how to display Parked document which are deleted. 2) In accounting document there is one Icon "Doc Status-Z(Parked document which was deleted)" can you please highlight your view
-
Interfaces fails twice but executes correclty from next time
Hi, I have interfaces which are coping data from MS Access tables to oracle tables. NOw here i am facing somewhat strange issue. I have 3 environments Dev,Test and PROD. Now when i am moving scenarios from TEST to PROD ,the interfaces fails for first
-
Error code 4005 in itunes restore
Well im on my iphone 4 and it dies then when i charge it it is stuck on the apple logo screen i talked to apple and said to restore it so i when i did it would give me an error code 4005. i run a windows 8.0 toshiba laptop 64 bit. its in ios 7.1. it