Function module to get md04 data
I need function module to get below data of the material as per the mrp area.
Thanks,
Kiran
Hello Kiran and Kumar
As I have explained in the following thread, BAPI_MATERIAL_STOCK_REQ_LIST should be used instead of MD_STOCK_REQUIREMENTS_LIST_API.
Material shortage report after mrp run.
BR
Caetano
Similar Messages
-
Function module to get the dates from the year and the period
Is there a function Module to get the dates from the year and the period
Check with :
To get last day of period use .
LAST_DAY_IN_PERIOD_GET.
To get last of month Use :
RE_LAST_DAY_OF_MONTH
HRVE_LAST_DAY_OF_MONTH
LAST_DAY_OF_MONTHS
ISB_PREVIOUS_PERIOD_DATE_GET
Thanks
Seshu -
Function Module to get Last date of previous year
Is there any function module to get the Last date of the previous year. e.g, if i give date as 03/02/2009 the output should be 31/12/2008.
pls use below 2 FM's
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
months = -1
olddate = curent_date
IMPORTING
newdate = w_prevdate.
CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
EXPORTING
day_in = w_prevdate
IMPORTING
last_day_of_month = w_lastdayprevmonth
EXCEPTIONS
day_in_no_date = 1
OTHERS = 2. -
Function module to get order data from delivery
hi ,
is there any function module to which i can pass the delivery number and get the order number (s) and other data .
basically i want the order currency.
pls help.
<removed by moderator>
Edited by: Mike Pokraka on Aug 21, 2008 9:44 AMHi Surendra,
If your requirement is just to retreive the Order number for a given delivery then you can go with following:
Just go to LIPS table, there you can get the Order Number and ITEM from VGBEL and VGPOS fields for given Delivery Number VBELN.
You can also do the same by using VBFA table.
Also have a look to the following thread:
Re: Getting sales order number against Delivery Number
Hope this will help.
Regards,
Nitin. -
Function module to get due date by terms of payment
Hi,
Is there any function module which can give me the due date when I pass
1) Terms of payment
2) Baseline date
Read the terms of payment and use the properties of the terms of payment ( Like Fixed date ) to get to the due date.
Thanks in advance.,
RajHi,
I had the same problem, as J_1A_SD_CI_DUEDATE_GET does not work when FI document is not created yet.
This is the way I used and it works:
CALL FUNCTION 'FI_TERMS_OF_PAYMENT_PROPOSE'
EXPORTING
i_bldat = sy-datum "if baseline is filled, value here is ignored
i_budat = sy-datum
i_cpudt = sy-datum
i_zfbdt = vbdkr-zfbdt "baseline due date
i_zterm = vbdkr-zterm "payment terms
IMPORTING
e_zbd1t = lv_zbd1t
e_zbd2t = lv_zbd2t
e_zbd3t = lv_zbd3t
e_zfbdt = lv_zfbdt
EXCEPTIONS
terms_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
ELSE.
CALL FUNCTION 'J_1B_FI_NETDUE'
EXPORTING
zfbdt = lv_zfbdt
zbd1t = lv_zbd1t
zbd2t = lv_zbd2t
zbd3t = lv_zbd3t
IMPORTING
duedate = z_duedate.
ENDIF.
Hope it helps.
Regards,
Fernando -
Is there any function module to get the data from st06?
Hi,
I'm new to this forum.
I would like to know if there is a way (maybe some function modules) to collect information like system architecture, and databases as displayed in transaction st06?
I would like to call it from external program in order to view part of the data available in st06.
Thanks,
Erez Gordon.have a look at function group SMON.
Not sure if these are remote enabled, otherwise create a wrapper function module (RFC).
Edited by: Micky Oestreich on Dec 11, 2008 9:37 AM -
Function Module for getting J1IEX Data
Dear All,
Is there any F.M available for getting details whatever is posted in J1IEX, like ED, Ecess, HEcess etc.
regards,
paras
Point Assured.Hi,
I'm not sure what you mean with 'textmodule' but try with function module READ_TEXT.
Regards,
Eduardo -
Function module to get posting date from posting year and posting period
Hi all,
I need a function module which will return posting date when posting period and fiscal year is passed to it..
Thanks and regards,
Puja.Hi puja
try this FM
this will solve ur problem
G_POSTING_DATE_OF_PERIOD_GET
G_POSTING_DATE_OF_YEAR_GET
FCJ_CHECK_POSTING_DATE
Cheers
Snehi Chouhan -
Function Module to get the data like in LS26
Hi Gurus,
We are designing a new program and we need to get information about the "available stock", "putaway stock" and "pick quantity" for some storage types. So this is exactly what the LS26 shows.
Do you know any Function Module that can extract or calculate this information?
I would really appreciate any suggestion.
Thank you in advance
Edited by: Abel Raya on Jul 4, 2011 11:39 AMI don't think there is a function module exists. But you can get the details from table LQUA for item details and LEIN for header records.
-
Function module to get any date format in DD.MM.YYYY
Hi Experts,
i want a FM which can convert any type of date format user entered on selection screen in DD.MM.YYYY
date format entered by user can be any of below format
DD/MM/YYYY
MM/DD/YYYYY
DD/MMM/YYYY
MM.DD.YYYY
YYYY/MM/DD
i want date format in DD.MM.YYYY
Also is there any FM which can tell us that day of today date is 25th or not .Read forum rules of engagement before posting.
Basic date posts are not permitted. -
Function module to get the configuration of Individual objects
Hi all,
Is there is any std function module to get the data of individual object configuration.
In table COM_TA_R3_ID, I can able to get the PRODUCT_GUID (for material and serial number) and I dont know how to get the configuration of the product by using the PRODUCT_GUID.
Pl through some light on this.
Regards
A.Sureshbabu.Hi,
You can get the item configuration using FM CRM_CONFIG_READ_OW.
This is used to read the product configurations for IPC calls.
Just pass the configured item guid and it will return the configuration data.
Use FM CRM_PRODUCT_I_READ_OW to get the product configurations but this FM checks whether any item has this product guid.
Regards,
Arun Kumar
Edited by: Arun Kumar on May 12, 2010 10:20 AM -
Fun. Module to get MSEG data based on EBELN and EBELP
I need to get records from MSEG by passing EBELN and EBELP.
I have written SELECT query.
I am getting the data, but it is taking much time in Production.
Is there any Function module to get MSEG data based on EBELN and EBELP.
ThanksHi ,
You can select from table EKBE based on purchase order number and Item number .
Please reward if useful. -
Function module to get 'Date one year in the past' in APO
Hi,
Required function module to get date one year in the past in APO.
Thanks and regards,
M.R.Reddy.Hi Reddy,
Try these function modules
/SAPAPO/DATE
/SAPAPO/FISCAL_BDATE
/SAPPO/MAPI_MAP_CREATDATE
/SAPPO/MAPI_MAP_POSTDATE
/SAPAPO/LCP_CALC_DATE
/SAPAPO/VS_ORDER_GET_DATES
/SAPAPO/PERIOD_CONVERT_DATE
/SAPAPO/PERIOD_DATE_GET_FROMTO
/SAPAPO/PERIOD_GET_DATE_RANGE
/SAPAPO/PERIOD_GET_FOR_DATE
/SAPAPO/PERIOD_GET_FROM_TODATE
Regards
R. Senthil Mareeswaran. -
Function Module to get the GST tax rate on basis of posting date
Hi Guys,
Can somebody suggest any function module to get GST tax rate (Canada) according to the posting date. I have already tried GET_TAX_PERCENTAGE. It is not giving me any results.
Is there any other functions modules.?
What is the the name of table for finding the tax?hi,
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-LOW
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
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 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-HIGH
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ags. -
Function module to get the posting period based on date
Hi to all,
Is there any function module to get the posting period based on date?
Regards,
Nageshhi,
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-LOW
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
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 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-HIGH
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ags.
Maybe you are looking for
-
Load balancing on cookie pattern NOT working
Hi, I try to configure ACE 4710 LB A5(2.1) LB to do following: 1. client send a http request for login to WEB srv 2. server response and send a cookie Set-Cookie with following pattern JSESSIONID=C333C37FCF083D210A639ABB8BB9DB21.S01 (33 random body 3
-
I've already seen [this posting |SEEBURGER AS2: 403 Forbidden #; and my AS2 scenario is working properly as long as I have a single channel. The wrinkle is that I need to add a second AS2 channel for the same trading partner. The second adapter is n
-
I have photoshop elements 5 and i cant open NEF files help
i am new to editing i set my camera on raw and now photoshope elements will not let me open the pic says wrong file how do i open them now. thank you
-
Just got my N96, have some questions...
Hi, I have just got my new Nokia N96 on Vodafone. It's a bit weird for me as I have been with Sony Ericsson for over 2 years so I need some pointers and some answers. In this first post, I'll just ask some general questions about my new phone. Is the
-
hi can u guys plss tell me how to join three tables!! my requirement wants me to do some kind of join on three tables!! points promised!! thanx in advance!!