SNP - Descriptive characteristics in Macro
Hello,
we are using descriptove characteristics in SNP to make the customer information from DP available with the forecast.
Does anyone of you know whether there is any macro function that can be used to read the value of the descriptive characteristic?
Thanks and regards,
Anke
you can use characteristics to write forecast on customer number and to consume the forecast from r/3 sales orders on characteritic customer number
Similar Messages
-
APO DP - descriptive characteristics used in consumption groups
I am using APO DP V5.
I need to use descriptive characteristics in consumption groups ( for use in release of DP to SNP).
Do these descriptive characteristics have to be planning characteristics of the planning object structure, or can they also be navigation attributes?
Thanks,
Bob AustinTechnically yes. But in the business context, is this makes sense? Descriptive characteristics are used to consume at lower level than , the level at demand is getting released from DP to SNP. Navigational attributes are used for N:1 relationship. Eg. Customer to Sales Region association. When you release at Customer level, it doesnt put any value keeping Region as consumption group. (Customer is already more detail level than region.. the consumption will happen at the customer level)
-Shibu
Thanks for rewarding point if this is helpful. -
STO with descriptive characteristics
Hello Experts,
Please could someone help me with descriptive characteristics for stock transport order in APO? Please could someone tell me if it is possible to have descriptive characteristics for stock transport orders? I have R/3 STOs which are consuming the forecast in APO without descriptive characteristics. Any help is appreciated.....
Cheers, SachinHi Sachin,
Descriptive characteristics can be used in APO mainly
for PP and CTM.
I dont think STO will be supported by this.
Regards
R. Senthil Mareeswaran. -
Releasing Sales Orders from SNP to DP at correct levels
We have a requirement where we want to do month to date tracking of sales orders in DP compared with the forecast. We have three important characteristics in DP at which we want the data to be released - Product, Location and Customer. Is there a way to release Sales Order data from SNP to DP at such a detailed level ? A product at a location could have sales orders from multiple customers.
why would you want to send Sales Orders from SNP to DP
Why not load it into DP planning area through a cube in the DW workbench directly
As far as i know you can only trasfer from SNP to DP in Product Location (or similar characterstic Level)
DP to SNP demand transfer can use descriptive characteristics but dont think you can do it in reverse -
Penalty Cost Groups in SNP Optimization
Hello APO experts!!
I would like to know if any of you have more information about the of penalty cost group in SNP Optimization.
I have been researching on the help.sap.com web site but I need more details.
Can anybody help me?
Best Regards
AngelaHi Angela,
1) You can use penalty cost group for optimization-based planning in Supply Network Planning (SNP) to define that customer demand is prioritized.
2) You can use the Business Add-In (BAdI) /SAPAPO/SDP_RELDATA to assign penalty cost groups to forecasts and sales orders
3) You then release the forecasts with descriptive characteristics, such as customer, to SNP or transfer sales orders from SAP ERP to SAP SCM via the Core Interface (CIF).
4) In SNP 1 tab page for product master data, you can assign penalty costs for non-delivery and delays to the penalty cost groups. In this way, penalty costs become customer-dependent.
5) You can use the penalty cost group to define that the system first covers the demand from penalty cost groups with a higher priority, and only then covers penalty cost groups with a lower priority.
6) Penalty cost groups are controlled by penalty cost group profiles
7) You define the profiles from the SAP Easy Access menu, by choosing Advanced Planning and Optimization -> Supply Network Planning -> Environment -> Current Settings -> Profiles -> Define SNP Penalty Cost Group Profiles and then assign them to individual optimization runs in interactive planning or when executing the SNP optimizer in the background.
Regards
R. Senthil Mareeswaran. -
Reg-Alert Macro-Day's supply not working
Hi,
We are using Data base alert macros for day's supply of SNP.But it seems macros are not working.Planning book day's supply key figures value not refelcting in alert monitor(amon1).
our setting is 0-30 days-Information;
31-50-Warning;
above 51-Error
Thanks&Regards
VenkadeshHi Venkadesh,
I think you put your indicator upside down.
0 to 30 should be error and avobe 51 information.
Another comments: to check if the macro is working: after running it, in interactive or background, check table /SAPAPO/AM_ALERT to see if you can see the alert or not.
If you can see the alert in the table but not in the profile, then the issue is your profile; if you can't see your alert in the table neither, then the issue is the alert creation in the macro...
I hope it helps
Julien -
Help Abap Function Module using APO for SNP
Why does not this function I created abap. To use a macro in SNP.
My case is as follows. For parameters Product, Location, I get this value / SAPAPO/MATLOC-AT105, representing a value in inventory.
I created the function abap. When tested in the SNP planning folder with macro. Generates a DUMP ERROR
CALL_FUNCTION_NOT_FOUND
CX_SY_DYN_CALL_ILLEGAL_FUNC
Der Funktionsbaustein "ZVSCMPULLINVM" werden soll aufgerufen.
Er ist nicht in der Bibliothek jedoch zu finden.
Error in the ABAP Application Program
The current ABAP program "GP4XLHDMOVDV2H3L6TVMGR0PKY0" had to be terminated porque has come across a statement That unfortunately can not be executed.
The macro is used as follows: ZINVENTARIOM (ACT_PRODUC; ACT_LOCATION).
I have the following code segment
FUNCTION ZINVENTARIOM.
* "*" Local Interface
* "TABLES
* "VALUE_TAB STRUCTURE / SAPAPO / VALUE_TAB
* "CHANGING
* "REFERENCE (F_ARGUMENT) TYPE / SAPAPO / MXVAL OPTIONAL
* "REFERENCE (F_CALC_ERROR) TYPE C OPTIONAL
READ TABLE INTO VALUE_TAB gs_param TRANSPORTING STRING INDEX 1.
w_param1 = gs_param-string.
p_producto = w_param1.
IF sy-SUBRC NE 0.
EXIT.
ENDIF.
READ TABLE INTO VALUE_TAB gs_param TRANSPORTING STRING INDEX 2.
w_param1 = gs_param-string.
p_ubicacion = w_param1.
IF sy-SUBRC NE 0.
EXIT.
ENDIF.
F_ARGUMENT = it_materiales-at105.
clear: value_tab.
refresh: value_tab.
Searches *****
SELECT * FROM / SAPAPO / MATKEY
INTO CORRESPONDING FIELDS OF TABLE it_productos
WHERE MATNR EQ p_producto.
READ TABLE it_productos index 1.
IF sy-SUBRC = 0.
MOVE TO it_productos-matid v_matid.
ENDIF.
SELECT * FROM / SAPAPO / LOC
INTO CORRESPONDING FIELDS OF TABLE it_ubicaciones
WHERE locno p_ubicacion EQ.
READ TABLE it_ubicaciones index 1.
IF sy-SUBRC = 0.
MOVE TO it_ubicaciones-locid v_locid.
ENDIF.
SELECT * FROM / SAPAPO / MATLOC
INTO CORRESPONDING FIELDS OF TABLE it_materiales
WHERE matid = v_matid
AND locid = v_locid.
READ TABLE it_materiales index 1.
IF sy-SUBRC = 0.
MOVE TO it_materiales-at105 at105-INV_MOST.
APPEND INV_MOST.
ENDIF.
anyone have any comments that you can solve. I'm starting in SCM
thank you..Thank's
Thanks, it worked perfectly.
although I'm still in search of that did not work with the code of the function Z. -
User exit macro - Program name
Hi,
In the APO macro builder, we have a USER EXIT MACRO defined and i just see the description of the macro there. Where do we see which User exit (Program) it is executing if i run the macro?
Thanks,
Shankar.Hi,
Refer to the note 418801 which explains in detail about user exit macro.
Regards,
Sunitha -
Macro syntax for non-negativity
Hi,
Could some one copy past the syntax for non-negativity like this
If KF1 < 0, then KF1 = 0 else KF1
This condition needs to be applied on top of existing macro for KF1 that does some arithmatic whose result could be < 0.
would appreciate if you copy paste the steps.. that you may already have in any of your macro books.
I also take this opportunity to request the macro experts to compile a wiki document on macro syntax.. A piecemeal approach would also do without relating to WHERE such a macro could be used. I find this learning the macro syntax by trial and error a rather unproductive and painful experience.
If some of you could volunteer lets build a fantastic reference document on the macros where everyone can contribute and come with with something really useful.
The final list can then be classified into artithmatical, conditional, control, abap macros. A brief description alongside each macro and some expert comments on possible application can be later expanded. newer and alternate ways of realzing the same macro creatively and in lesser steps could be regularly appended. I could moderate if such a thing is correct and agreeable
Regards,
LoknathI cant have more than 10 questions open. so closing this though there arent any responses
-
How to list macronames in the macro books
In APO I have a lot of macroes and in a lot of macro books.
Now a want to have a list of all my macroes.
How do I do that?Hi Per
You can find data views and defined macros in the following tables;
/SAPAPO/PBDVW Existing data views for a planning book
/SAPAPO/ADVM Advanced Macros: Definition Views
/SAPAPO/AMAKR_TX Descriptions of Advanced Macros
It's not perfect, but you may be able to make a query from this - or use excel to combine.
BR
Søren -
Production Configuration: Characteristics.nocolumns setting XCM scenario
I got a document from Service.sap.com, which states in IPC4.0 via XCM scenario, it is possible to customize IPC web UI that how many columns characteristics should be displayed. This is possible in configuration XCM scenario.
Please refer attached document.
characteristics.nocolumns
We are using CRM7.0 and I was trying to find these in setting in XCM scenario for our CRM system but could not find same settings in XCM scenario for CRM7.0, can somebody help me out?
Anurag SinghThanks a lot Devender and Easwer for reply.
I am looking for IPC scenario. Please refer detail below from
Application configuration for: : Internet Pricing And Configurator ?
Component Configuration details
Name Value Description
characteristics.showdetails: TF ? Offer link to show additional infos like long text description. ?
characteristics.showinvisibles: TF ? Show or Hide invisible characteristics. ?
characteristics.detailsinwindow: TF ? R Open the details in a new window or inside the characteristic frame. ?
characteristics.showlinktomimes: TF ? Show a link to additional mimes of the characteristic. ?
characteristics.showexpandlink: TF ? Show the Expand Link ?
characteristics.descriptiontype: ShortDescriptionLongDescriptionShortAndLongDescriptionIDAndShortDescriptionIDAndLongDescriptionIDAndShortAndLongDescriptionID ? Selects which content for the name of a characteristics is to be used ?
characteristics.maxdescriptionlength: Maximum number of characters to be displayed if the characteristic short text is replaced by the long text ?
characteristics.messagecstics.enable: TF ? Enable the In-Screen messaging feature. ?
characteristics.messagecstics.prefix: Identifying prefix for message cstics ?
characteristics.messagecstics.showid: Enable/Disable the additional display of the message id (i.e. the value name).
Edited by: Anurag Pratap Singh on Jun 1, 2010 5:06 AM
Edited by: Anurag Pratap Singh on Jun 1, 2010 5:06 AM -
Hi,
I did not made any Characteristics based macro till now.
I am having 2 KF's , KF1 & KF2.
In KF1 , I am having the values with respect to Characteristics "9AMATNR" = D07,D08 ( First character contains D & last two characters 07 , 08 respectively)
I want the values of D07 should be transferred to D08 & D08 to D09 & so on . Finally it should be copied to KF2.
Please help asap , as which industry I am working needs this type of functionality.
Thanks & Regards
AniruddhaHello,
For your first requirement to copy KF1 values to different characteristic values, this can be met with using standard functionality of realignment and copy.
What can be done is as follows:
1. for the copy function, you can create a variant.
2. Assign a ' z' trasaction code to this program variant.
3. Call this transaction in a 'z' function module.
4. Call the function module through a macro. (if it is absolutely necessary to have this with macro only; otherwise this can be met with the copy program)
For second requirement, you can have a simple macro that copies values from KF1 ==> KF2. Include this macro in an activity and job. In the background job, give a selection profile in which only those products are given for which the macro needs to be executed.
Hope this meets your requirement. Please let me know.
Warm regds,
Ashutosh -
Issue in consumption of forecast for configurable material
Hi,
we have a issue in consumption of forecast by sales order for a configurable material.
Please find the below details for the settings maintained and the steps followed.
Please let me know how we can overcome this issue.
settings in R/3
1. Class and characterisitcs are created in R/3
2. standard material was created and class assigned
3. planning strategy used is 56
4. material, class, characteristics,ATP check, ATP customizing , sales order were integrated to APO
Settings in APO
1. CBF table, CBF profile, Consumption group were created in APO
2. Consumption group is attached to the product master
following steps were followed.
1. Forecast was created in DP for a certain characterstics ansd relaesed to SNP/PPDS
2. forcast is visible in product view
3. sales order was created in R/3
4. slaes order is visible in APO but it is not consuming the foreacast for the same set of characteristics.
Please let me know how we can overcome this..are we missing any customization ...?
Thanks
RamHi Srinivas,
thanks for your response.
The forecast consumption problem was solved after correcting the entries in requirement strategy.
have one more query.
when the sales order for a configurable material is transferred from R/3 to APO, we should be able to see the values under "descriptive characteristics tab" in APO product view.(when we click on the green triangle representing the configuration).
However, we could see the values under "descriptive characteristics tab" for some of the characterisitcs and not for other characteristics.
we tried comparing the characteristics but could not figure out the reason.
any pointers / clues to come over this issue would be helpful.
thanks
Ram -
Hi Guru,
We are implementing DP CBF and also PPDS using IPPE. My question is How is release from DP to PPDS as we are using IPPE for PPDS. Process is completely MTS scenarios
1. Is there standard release from DP to PPDS even with varients?
2. How forecast with variant characteristic will be read by PPDS with varient characteristics?
Please it will be really great help.
Thanks & Regards,
Raj KumarHi,
The reply given above is correct, the transaction is the same for release from DP to SNP/PPDS.
However, in case of CBF, you have to make use of the u201CExtended u201C field in the release transaction.
You must enter a consumption group (see Descriptive Characteristics). Otherwise the descriptive characteristics are not transferred to the order liveCache. The descriptive characteristics are then attached to the resulting planned independent requirements.
You can also specify whether forecasts are generated in the order LiveCache for all values of the descriptive characteristics or just for specified values.
Regards
Datta -
Please explain to me how APO and TWS are integrated. I realize that APO contains a planning book specific to TSW. My uncertainty is more around how TSW and APO interacts. Does TSW and APO do the same thing and is only separated by the time fences or planning horizons?
Trader's and Scheduler's Workbench (TSW)
The following functions are available for the oil and gas industry:
o additional types of location master data
o product planning book
o object hierarchy control for hierarchical selection
o SD contract numbers as descriptive characteristics in Demand Planning (DP) and Supply Network
Planning (SNP)
o enhanced Transport Planning and Vehicle Scheduling (TPVS) functions
Additional Types of Location Master Data
APO TSW provides two new types of location master data, called terminal location and geographic area
location. You can use these location types in location hierarchies. The hierarchies are used in SNP, which
includes the TSW stock projection worksheet, as well as in TSW enhancements to TPVS.
Product Planning Book
A new planning book, called 9ATSW_SPW1 with data view TSW_SPW1(1) is available for the TSW stock
projection worksheet (SPW). The planning book contains enhancements specific to oil and gas, and it
provides a framework for daily and weekly product planning.
The planning book calculates and displays the value of book stock that is transferred from the R/3 System in
the row Book stock. If this figure is negative, it appears in the row Book backlog. To calculate the Stock on
hand and Backlog column values, the planning book adds the What if receipt and the Book stock or Book
backlog values, and subtracts the critical stock level (such as the unpumpable quantity defined in the
location product master data) and the What if demand values from this figure. The planning book contains a
function for calculating these values.
Maybe you are looking for
-
Boot failure with AMD core unlock *solved*
Before you criticize me for buying a triple core instead of a quad core, I want you to know that my situation seems to only conflict with Arch. I have an AMD Athlon II x3. If I unlock the 4th core, Linux live CDs boot up just fine, Windows XP boots
-
How do I save attachments from gmail app?
Okay I am stumped! For the life of me, I can't figure out how to save attachments that come through my gmail app. Specifically 3gp videos and documents files. It was a while ago, but I think I was able to do pictures. This is happening on both the Er
-
Hi I need to place a download button graphic that has a link to a bio in the PDF format, which is different for each web app item. I know how to use the Item Description and place code there, but would rather have a field using a field. The button gr
-
Conversion of PO into Sale order
Hi All, Is it possible to convert a PO to a sale order in the same client for two different plant in two diffrent company codes. I mean to say a PO is generated from one plant in company code 1 should become a saleorder for company code 2 in second p
-
Invalid Entry Values in Variable on 0FISCPER
Dear Friends We have a User Entry Query Variable (ZFYVAR1) on (0FISCPER - Fiscal Year/Period). and we are using "V3" Fiscal Year Variant. I am not sure this is the way it works or not.. but the problem is.. This variable accepts the values like "01