Tag: Function Module

Find SAP Query Detail from Program Name

SAP queries automatically creates a ABAP program when they are saved and generated. These auto generated programs starts with AQ. If you come across a report transaction with a long program name similar to AQ====****====**** this could be a program generated by a SAP query. Name should be in the following format: First 2 letters of report

Generating iDoc File Name SAP ABAP

When configuration outbound iDocs and if you are creating iDoc files though a file port. You should specify the file name format for these outbound files. You may have different outbound iDocs and you should be able to differentiate each type by the file name. For example Invoice iDocs can be prefixed as “810” and

BAPI for MRP Run SAP AFS

If you need to execute MRP in SAP AFS for a single material for a plant you can use the BAPI “J_3AM_DISPOSITION”. This is the BAPI which is called by the standard SAP MRP transaction /AFS/MD02.   J_3AM_DISPOSITION You need to set the importing parameters as below. Parameter “I_BANER” (Creation Indicator for Purchase Requisitions) can

Connect to SAP from .NET

Hi Techies! 🙂 Aim of this article is to show how to connect your .NET front-end with SAP. Example scenario is such that SAP will act as the server and .NET application as the client. .NET application calls RFC “MONTH_NAMES_GET” exporting language parameter and import the names of the months. Prerequisite: SAP.NET connector should be

Important SAP APO Function Modules!

These are some of the SAP APO functional modules I have worked with. If you need any help with parameters please drop a line.   Order /SAPAPO/DM_ORDER_GET_ORDID Get the 22 char GUID of planned order BAPI_MOSRVAPS_CREATESNPORDER Create planned order. Table parameter “mapping_data” will return the created planed order number. BAPI_POSRVAPS_SAVEMULTI3 Create orders /SAPAPO/OM_ORDER_GET_DATA Get planned

Access FTP Server from SAP!

This will show you how to transfer data from SAP to FTP server location. Program is a example of how you can connect to FTP and create a text file. There are several methods to write a file to FTP, I am using the method of transferring data in internal table directly to FTP using