Function module to do the PGR
Hi,
we are trying to do the PGR after the Inbound delivery. does any body know the function module or BAPI which will be used to do the PGR. if you know that, please can you give me the name of the function module and the parameters that we have to pass.
Thanks,
Raj
Hi,
Please try BAPI BAPI_GOODSMVT_CREATE .
Check this link for sample code.
http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
Regards,
Ferry Lianto
Similar Messages
-
What is the Function MOdule that returns the fields in database table order
Hello Folks
I have a dynamic internal table with fields ( which are not in order). I want to display them in the order of which they are present in the database table? Is there any function module that returns the fields in database order?
FAQ. Please search before posting your question.
Edited by: Suhas Saha on Oct 10, 2011 10:19 PMHi,
You can use this BAPI.
<b>BAPI_SALESORDER_GETLIST</b>
Reward if useful.
Regards,
Vimal -
Function Module to know the Acc doc no for a Material document.
Dear Friends,
What is the Function Module to know the Acc doc no for a Material document? Please help. Thanks in advance.
Regards,
RAMANHi Raman,
I am not sure about your requirement,
But i remember when i required the same like you i went to vrpma table to get the account document,
I just did like a blind fold,
as my company does all the billing accounts in the same month, my search criteria was blind.
Also try with MKPF-XBLNR with the VBRK-XBLNR and get VBRK-VBELN
from there goto BSEG.
Thansk & regards,
Dileep .C -
CRM function module to update the attribute in the classification TAB of BP
Hi All,
Can any body let me know if there is any functionmodule to update the CRM function module to update the attribute in the classification TAB of BP tcode.
I have searched a lot i get FM to update the marketing attribute and not the attributes in the classification tab.
Thanks in Advance
Edited by: Sharath Kumar on Dec 2, 2010 4:48 PMFor material bom: CSAP_MAT_BOM_CREATE
and CSAP_ORD_BOM_CREATE for Order BOM.
Regards,
Ravi -
Creation of function module for updating the ztable
Hi,
I am sending the requirement for ceation of function module for updating the ztable.
Requirement----
Table Updation rule (New record)
While creating a new record the calling function will export the following to the table handling function.
Table field Probable Values
ZORDERNO-------> Sales Delivery no in case of sales orderShipment no in case of transfer order
UNAME----
> User ID
ZORDTYPE----
> SALEOR in case of sales orderTRANSF in case of transfer order
ZREFDOCNO----
>Sales Order no in case of sales orderPurchase Order no in case of transfer order
ZREFDOCNO1----
>Delivery no in case of transfer order
The table handling function will calculate the following fields
Table field Probable Values
ZREQNO----
>Running serial number (incremented by 1 for each new record)
ZREQDAT -
>System date
ZREQTIME----
> System time
ZSTATUS----
>OPEN (for all new records)
Before inserting a new record the table handling function will always check if a previous record exists for the same order / shipment no. if record exists the function will not insert a new record.
Table Updation rule (Status Update)
While updating a record the calling function will export the following to the table handling function.
Table field Probable Values
ZORDERNO----
>Sales order no in case of sales orderShipment no in case of transfer order
ZSTATUS----
>CANCEL if cancellation successfulERROR if cancellation not possible (order already processed)
The table handling function will calculate the following fields
Table field Probable Values
ZSTATDAT----
>System date
ZSTATTIME----
> System timeDo you have to create/update new record in Ztable through Function Module ?
or you need to write FM only for validation?
Any how, you need to create a Program with Input values for the fields of Ztable, and for rest of fields the Value can be calculated based on input as per your requirement.
Let me know clearly what exactly u need ?
Regards,
Kiran -
Function Module that gives the names of the file in the Application Server.
Hi Experts,
Please give me a Function Module that gives the names of the file in the Application Server.
Thanks,
Debi.Hi,
see these links
http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa02b7493111d182b70000e829fbfe/content.htm
http://abaplovers.blogspot.com/2008/05/function-module-sap-logged-in-users-to.html
http://www.saptechies.com/abap-function-modules/
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/function-module-to-get-data-and-time-of-file-576751
thanks
karthik -
Function Module to get the Screen
Hello All,
Can anybody provide me a Function Module to get the Screen by giving Program Name and Screen Number.
Thanks,Hello
check FM RS_IMPORT_DYNPRO
CALL FUNCTION 'RS_IMPORT_DYNPRO'
EXPORTING
dylang = pmlang
dyname = programname
dynumb = screen
IMPORTING
header = header
TABLES
ftab = ifields
pltab = iflowlogic.
or you have to create join b/w table reposrc and tadir .
Thanks
Anirudh -
Function module to get the name of all the function module used
I want to populate a internal table with the name of all function module used in the submitted program?? Is there any function module which return the name of all the function module used?
Hi Priya
Try this one RPY_FUNCTIONMODULE_READ.
Ranga -
Function module to choose the file for download and upload
what is the function module to choose the file for download and upload for presentation server.
give me with examplePlease search in SCN.
This has been discussed so many times. -
Function module to determine the credit balance or if there is an open ite
Hi All ,
Can anyone please let me is there any function module to determine the credit balance orr if there is an open standing request / open standing request /paid but not yet refunded security deposit .
Requirement :
Purpose -This report shows a list of u201Cinactiveu201D contract accounts and the amounts to be refunded (credit balance, paid security deposit) to customers. This report also shows any open standing requests in customersu2019 contract accounts.
Note: SAP does not have a concept of u201Cinactiveu201D contract accounts. All contract accounts are active in SAP.
We do have customers who pay several months in advance (when they are out of town and donu2019t want to have their services disconnected).
Logic to retrieve the u201Cinactiveu201D accounts:
The inactive accounts can be identified by the Move-In/Out dunning procedure. If the mov-in/out dunning procedure is not empty, that means this account has moved out and the account is inactive.
Business Logic and Flow
For each contract account
Go through each installation and check if it is disconnected
If (one is active)
move to the next contract account
else (all is disconnected)
check to see if there is a credit balance or if there is an open standing request
If (credit balance)
{Display contract account, customer number and information, and credit balance for refund}
If (open standing request)
{Display contract account, customer number and information, standing request number to be closed}
If (paid but not yet refunded security deposit)
{Display contract account, customer number and information, current balance and security deposit amount}
Thanks in advance
RahulHi Rahul,
To find out the credit balance relating to security deposits you can use BAPI_ACCOUNT_GETBALANCES. On execution of this BAPI with BP and Contract Account Number, it will return the net balance with different segments like open, due, credit and likewise security deposit amount.
To find out if there is any open standing request standing against the customer you can use BAPI_CTRACCONTRACTACCOUNT_GOI. You have to execute this BAPI by providing BP or Contract Account number in Main Selections table and Main and Sub Transaction of Security Deposit Request transaction in Value Selection table. This BAPI will fetch all open items with the main and sub transactions specified and display.
Thanks
Ganesh -
Function module to find the Credit limit of a Customer based on Credit Area
hi Experts,
Is there any function module to find the Credit limit of a Customer based on Credit Area.
Regards,
Dheepakhi
try this:
select single * from KNKK INTO zzKNKK
where KUNNR = xkunnr and KKBER = xkkber.
credit limit: zzKNKK-KLIMK...
regards,darek -
Function module for converting the foreign currency to words
hi,
can anybody tell me about the function module for converting the foreign currency to words format.
Like 25.50 USD
should be "Twenty Five Dollar & Fifty Sents."
foreign currency can be anyone like USD, JPY, EUR etc.
Regards
Nitin VarshneyHi,
Try using the FM SPELL_AMOUNT
Check this wiki
[SPELL_AMOUNT|https://wiki.sdn.sap.com/wiki/display/Snippets/SpelltheAmountenteredin+words]
Regards
Sarves -
Function Module for getting the Sales Price for a condition type
Hi,
I am looking for a standard function module to which I can pass my condition type(new customizing) and it will return the sales price. The customer is going to create some new condition type to manitain the sales price. I'll have the necessary information like material/sales org/distribution channel, customer and need the standard function module to read the condition records for that condition type(as configured) and give me the price. PLease help if you know of a standard function module performing this.
Thanks in advance.
Regards
MalthiHi malthi ,
welcome to sdn
for material sales area u can look for the validations is table MVKE.
the classification of the conditions is in tables like A901, a902 etc which in my opinion holds the condition types per classification .
put a A* in se11 and this will give the list of tables per classification .
u need to get the conditions as per kschl and dmbtr and
etc..
like this ..
Get Condition Values for Material/Plant combination
IF NOT i_a916[] IS INITIAL.
SELECT knumh kappl kschl krech
kbetr konwa kpein kmein
INTO TABLE i_konp
FROM konp
FOR ALL ENTRIES IN i_a916
WHERE knumh EQ i_a916-knumh AND
kappl EQ i_a916-kappl AND
kschl EQ i_a916-kschl AND
loevm_ko NE 'X'.
ENDIF.
Get Condition Values for Material/Plant/Ordertype/
Customer combination
IF NOT i_a925[] IS INITIAL.
SELECT knumh kappl kschl krech
kbetr konwa kpein kmein
APPENDING TABLE i_konp
FROM konp
FOR ALL ENTRIES IN i_a925
WHERE knumh EQ i_a925-knumh AND
kappl EQ i_a925-kappl AND
kschl EQ i_a925-kschl AND
loevm_ko NE 'X'.
ENDIF.
just check this Fm if u can apply ur condition over here ..
ME_GET_PRICE_CONDITION
regards,
VIjay. -
DDIF Function Module for getting the description of a BAPI structure
Hi,
I need to find a function module that returns the description of a structure...well a BAPI structure, not that that makes any difference.
The DDIF_ function modules I've tried will all return the descriptions of data elements in tables, but not structures.
Thanks,
TristanCheck FM : CACS_DBNAME2TABNAME
-
Function Module to determine the number of pages in a pdf file
Hi All,
Is there any standard function module to determine the number of pages in a pdf file?
Thanks,
SaiHi unk2,
There's no functionality in the Acrobat.com online services to do a character count. But, you could use ExportPDF to convert your PDF file to Word format, and then do your character count in Word.
Please let us know if you need additional assistance.
Best,
Sara
Maybe you are looking for
-
DMS document attachment with Incoming Invoice
Hi All, We are creating one DMS document and want to attach it to an Incoming Invoice (MIRO). We are using the bapi BAPI_DOCUMENT_CREATE. What are the fields to pass in Objectlink. Please help us to achieving it. Thanks
-
Test: Using Crop marks in indesign CS4 with Epson 3800 Mac 10.5.7
Jun 19, 2009 9:35 PM Crop marks using indesign CS4 with Epson 3800 Mac 10.5.7 My crop marks and pages are printing larger than my document sizes. My paper size is 13x19, so I should have crop marks at the exact corners of the page sizes. But indesi
-
Display Large Float w/o Scientific Notation
I have a series of dollar amounts (from an SQL cursor) that I am summing up using a java.lang.Float. The values total correctly, but when I display the value it is displayed using Scientific Notation (4.19150150185925 E12). I need to write my total v
-
In the following SQL SELECT statement, what does the px-granule(0, block_range, dynamic) in the FROM clause reference. This select statement was copied from the sql analyze tool within OEM 2.2. SELECT /*+ Q524000 NO_EXPAND ROWID(A1) */ A1."PROCESSING
-
Please help, im trying to upgrade my oracle 11.2.0.2 database to 11.2.0.3 for oracle APPS. i started by installing a new home(oracle software) and name it 11.2.0.3 then run dbua from the new home.it run fine but when it reaches the upgrade summary pa