Unable to create entry under Product Specific Transportation Lane by BAPI Function Module
I am developing one RFC function module which will trigger BAPI_TRLSRVAPS_SAVEMULTI2 to create transportation lane (/n/SAPAPO/SCC_TL1) in APO. But I am facing one problem while creating a new entry under “Product Specific Transportation Lane”. But I am not able to pass ‘Group Selection’ radio button field in BAPI11201TRPRODLANE2 structure since I am not getting suitable field, but Product Group Type and Product Group value I am able to pass. Can anyone help me if you have any idea on this?
Hi Siva,
Thaks for those function modules. I tried with '/SAPAPO/TR_TRPRODM_PUT'. This deletes from table /SAPAPO/TRPRODM but not from /SAPAPO/TRM and so the means of transport still appears in the transaction. Do you have any idea why it behaves this way.
Thanks
Similar Messages
-
How to delete Product Specific Transportation Lanes?
I'm trying to delete a product specific transportation lane (like you would do in /SAPAPO/SCC_TL1)
but can't find an appropriate BAPI to help me do this. I see BAPI_TRLSRVAPS_DELMULTI but that seems to delete the entire Transportation Lane instead of a specific product's lane.
I've tried using BDC with /SAPAPO/SCC_TL1 but don't think it'll work since it's an ALV and I'll be running in background.
Anyone encountered this before?
thanks!
PaulHi
Do following steps:
Go to SE38
FUNCTION_LOADER_INLAY execute (F8)
Step 1
u2022 Go to the Design tab page. IN the Name of Put Function Module field, we enter the function module name BAPI_PIRSRVAPS_SAVEMULTI.
u2022 Press Enter and the Available Parameters table on the left side of the screen is filled automatically.
u2022 Select the lines Logical System, Commit_Conrol, Planning Version, Requirements and Return.
u2022 Choose Column Right to transfer the parameters to the Selected Parameters table on the right side of the screen.
u2022 Choose Format Worksheet.
u2022 Confirm the dialog box that informs you about manual formatting the cells. The system directly opens the Data tab page.
u2022 Now select the entire worksheet, right-click in the selected area and choose Format Cells.
u2022 In the Number tab page we select the category Text and choose OK.
Step 2
In the first available empty line the make the following entries (for every cell you can find additional information about data you have to enter by selecting Input Help):
u2022 Logical System: APO Logical sys name
u2022 Commit_Control: E
u2022 Planning version: 000 (whether data is being transferred to the active planning version or to a simulation version)
u2022 Product:
u2022 Location:
u2022 Location Type:
u2022 Atpcat: FA
u2022 Date from: e.g. 01.05.2006 (Valid from)
u2022 Date to: e.g. 01.21.2006 (Valid to)
u2022 Quantity: 419
u2022 UOM: KG (unit of measure)
u2022 UOM_ISO: KG
We choose Save.
Confirm the information prompt.
(It is very important that we select row with data we need to load)
Then We now choose button u201CSAP SYSTEMu201D
After sometime you see the message u201CData Transfer ended successfully appearsu201D
Now go to Product view /n/SAPAPO/RRP3 and check Fcst loaded.
Cheers!
SCMBEE -
Product specific transportation lane
Dear colleague,
Can anyone explain me the relevance of the field consumption and unit in the product specific transportation lane. My SNP opt result does not come proper due to this field. The F1 help description is not much clear for this field.
Thanks
SandeepHi
As far as my knowledge you can define transportation resource which we can in means of transport.
In the product specific means of transportation , in the consumption field you can defined the capacity which will be get used for specific product- means of transportation combination out of all the resource capacity have been defined in means of transport
Thanks
Amol -
Mass deleting product specific transportation lanes
I am trying to use MASSD transaction for mass deletion flag of T lanes. Can someone explain what component and attributes should I enter in selection criteria and components and attributes to be maintained?
I am doing product u2013 product in u201Cselection criteriau201D
Product u2013 block indicator in u201Ccomponents and attributes to be maintainedu201D
When I set fixed value to u201CDu201D and save, itu2019s giving me lot of warning and error messages. I doubt if I am using the right selection criteria
Example of error messages:
LANE (Product) : Time-based validities overlap
LANE (Means of Transport) : The validities of means of transportation XXXXX overlap
LANE (Product) : Product X does not exist in source location Y
ThxSatyajit,
I deleted the product from location Y and tried MASSD again, still it shos some errors.
Main error being
LANE (Means of Transport) : The validities of means of transportation XXXX overlap
what does this error mean? I cjhecked the vality for both product specific trans lane and means of transport. they both are same. even if I want to change it in change mode, its greyed out.
I just checked one more material and it did not show any error message. but when I go check in SCC_TL1, i dont see "D" set for that product. do u know why it did not carry over from massd? Thx -
Product Specific Transportation lane Vs All Products Transportaion Lane
Hi SNC Experts,
Every Day we are facing SNC RON XML failures due to Master Data setup issue in ECC.
I fond that we can setup a All Product Transportation Lane. I have not tried it.
I would like to seek Expert Advise on:
the -ve impacts of suggesting Client to use All Production TL. I am assuming this would actually remove the need to CIFing Info Records for New Materials.
Please advise if this is a good suggestion ?.
Thx
MJHello MJ,
If you use All product for transportation lane then:
Supplier can see all the product which are there for plant in any of product field of SNC web ui by F4 help which means supplier can see product including those which he is not supplying.
Example:1234567890 is a supplier, plant ABCD and we have transportation with all product.
supplier supplies prodcut A and B only to the plant but plant has product A,B,C and D (which are CIF )
Now whenever supplier press F4 in product field of SNC Web UI supplier can see product C and D even though he is not supplying this product which not right.
Moreover, you will loose functionality like:
SNC copies the order unit, the unit conversion factors and the tolerances from the contract or info record (if no contract exists) into the PO item whenever the validation check "PO_CONTRACT_ASSIGN" si active.
Regards,
Nikhil -
Product Specific Transportation lane Vs All Products
Hi SNC Experts,
Every Day we are facing SNC RON XML failures due to Master Data setup issue in ECC.
I fond that we can setup a All Product Transportation Lane. I have not tried it.
I would like to seek Expert Advise on:
the -ve impacts of suggesting Client to use All Production TL. I am assuming this would actually remove the need to CIFing Info Records for New Materials.
Please advise if this is a good suggestion ?.
Thx
MJHello MJ,
If you use All product for transportation lane then:
Supplier can see all the product which are there for plant in any of product field of SNC web ui by F4 help which means supplier can see product including those which he is not supplying.
Example:1234567890 is a supplier, plant ABCD and we have transportation with all product.
supplier supplies prodcut A and B only to the plant but plant has product A,B,C and D (which are CIF )
Now whenever supplier press F4 in product field of SNC Web UI supplier can see product C and D even though he is not supplying this product which not right.
Moreover, you will loose functionality like:
SNC copies the order unit, the unit conversion factors and the tolerances from the contract or info record (if no contract exists) into the PO item whenever the validation check "PO_CONTRACT_ASSIGN" si active.
Regards,
Nikhil -
Unable to create a customizing request to transport BPC10 content to Quality
Hi
Unable to create a customizing request to transport BPC10 content to Quality .
From the transport connections tab, i am selecting the required objects and then clicking the transport truck but it does not pop up and ask for a transport request .
So please provide any solution.Hi,
Check whether Standard transport switched-on is enabled or not. To get transport request your setting should be as follows : RSA1-->Transport Connection-->Edit-->Transport
Hope it helps...
regards,
Raju -
How to create a Sales order with ref to Contract using Function Module
How to create a Sales order with ref to Contract using Function Module BAPI_SALESDOCU_CREATEFROMDATA ?
We have a unique situation where we like change the sold-to customer of the sales order
once order has been created. These orders have been created using either by function module
BAPI_SALESDOCUMENT_COPY or using BDC (VA01, Copy with reference).
These two processes work abosolutely fine except someone might have change the sold-to
customer of the ship-to customer of the original sales order. If this the case then the new
sales order will be created with the old sold-to and with not the new sold-to.
We tried using BAPI_SALESDOCUMENT_CHANGE and commit afterwards. We checked
the returned parameteres of the BAPIs and they are all successful but sold-to remains the
same old one.
Any help would be much more appreciated. -
Creating/confirming transfer order (WM) using bapi/function modules
Hi,
I usually use BDC to create transfer orders or other documents in WM, but i've been told that using BAPI is more correct. I'm new to this concept, so could you please tell me how i can find the apropriate BAPI/function modules available for this purpose in 46C ?
I thank you in advance,
BrunoHi Gisk,
i am trying ot create a TO based on a material document and year. Same function as transaction LB12. Do you know which function module i can use for this.
I am trying to use the function module L_TO_CREATE_SINGLE, i fill in the T_LTAK-MBLNR and T_LTAK-MJAHR. But do not know which fields to fill in.
Hope you can help me.
Grtz
Coeno -
BAPI/Function Module in CRM to create Credit Memo
Hi,
It will be great if some one can help me in finding out whether there is any <b>BAPI/Function Module</b> in <b>CRM</b> to create <b>Credit Memo</b>?
Rgds,
Sam.Hi Venkatesh,
Thanks you for your post, your post has helped me a ton in my work, Infact I was working on BAPI to
Create Credit Memo request i.e BAPI_SALESORDER_CREATEFROMDAT2 as expected i got the same error as "Unpermitted combination of business object BUS2032 and sales doc. category K" and i tried on other BAPI it worked, Just i need to know BUS2032 doesn't support Credit Memo Request, How we can find it
to what Sales document it support? -
Any BAPI Function Module To Create the Workcenter ?
Hi
Can any one can give the BAPI Function Module to Create the Workcenter ?
Regards,
N.L.Hi NL,
Found FM CRAP_WORKCENTER_CREATE
See if this FM serves your purpose.
Regards,
Raj -
Create Web Service Option not available for BAPI Functional Module
Hello Experts
I am trying to create a web service from a standard BAPI functional module referring following document
http://help.sap.com/saphelp_nw04/Helpdata/EN/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm
I am facing the same issue as mentioned in this thread (But for me answer is not OK)
Web Service Creation
When I click the FLIGHT Business Object and navigate to the Tools tab, I cannot see Create Web Service option.
Also when I try to start the web service wizard from (SE37 -> BAPI_FLIGHT_GETLIST) Utilities Menu, after specifying all the details, after clicking Finish, I get an error "Access Refused"
I verified the authorization to current user and gave him all the authorization required viz. (SAP_BC_WEBSERVICE_ADMIN, SAP_BC_WEBSERVICE_ADMIN_BIZ, SAP_BC_WEBSERVICE_CONSUMER etc) all 7 of them.
My system is ECC 6.0 700 Release
Thanks
PareshHello,
For creating Web service definition, you have to be a registered developer. In SAP Service Market place, you will get developer access key. This should be entered in DEVACCESS table by creating any development object.
Thanks,
Venu -
BAPI Function module : Unable to search from Netweaver Studio
Hallo,
I developed a small BAPI Function module GetCarList etc using the tutorial <a href="http://www.sappoint.com/abap/bapiintro.pdf">Introduction to BAPIs</a> . This ofcourse is also available in help.sap.com for GetFlightList etc.
Steps Followed :
-o developed RFC based Function Module. (BAPI supported)
-o activated it, released it.
-o created a alias in the BAPI explorer, added API methods, parameters and released all of them
After i activated and released the function module, i could see it in the BAPI Explorer (Transaction SWO1) as released( ready to be used). But when i tried to search it from Netweaver Studio (to import it as a WebDynpro Model) i could not find it.
-o checked if the BAPI method is available or not in the BAPI Explorer list. (it is available and released)
-o Tried to import BAPI Func.Module - like 'GetFlightList' of Table SFLIGHT (comes with SAP examples), [ but could not] .
I have no idea what the problem could be. do let me know.
thanks
Sreenivas.Hi all,
i did check the SE37 or SE80 transaction to find out whether the current module is Remote call enabled or not. Adn well it was already RFC set. I have no idea what had happened in the last week, today it works. Now i can import the function module into netweaver. anyways thanks Achim for the support.
Sreenivas. -
Steps for creating a new BAPI function module
Hello experts,
Can any one send me steps for creating a new BAPI function module , I got a requirement to do like this,but I dont have any clue about how to create.
Please help !!!BAPI stands for Business Application Programming Interface.
There are 5 different steps in BAPI.
- Create BAPI Structure
- Create BAPI Function Module or API Method.
- Create BAPI object
- Release BAPI Function Module.
- Release BAPI object.
Step1. Creating BAPI Structure:
- Go to <SE11>.
- Select Data Type & Enter a name.
- Click on Create.
- Note: Always BAPI should be in a development class with request number (Not Local Object).
- Select Structure & hit ENTER.
- Enter the fields from your database. Make sure that the first field is the Primary Key Field.
- Then SAVE & ACTIVATE.
Step 2. Creating BAPI module:
- Enter TR.CODE <SE37>.
- Before entering any thing, from the present screen that you are in, select the menu
Goto -> Function Groups -> Create Group.
Enter a name (Note: This name Must start with ZBAPI)
Let this screen be as it is and open another window and there, enter TR.CODE <SE80).
Click on the Third ICON that says Inactive Objects.
Select the group that you just created and click on Activate.
Notice that the group you created will disappear from the list of inactive objects.
- Go back to <SE37> screen and enter a name and hit <ENTER>. Then enter the group name that you just created and activated.
NOTE: When you release a function module the respective group will be attached to that particular application. It cannot be used for any other application. NEVER include an already existing group that is attached to another module.
Now click on the first Tab that says [ATTRIBUTES] and select the radio button that says remote-enabled module since we will be accessing this from any external system.
Then click on the second tab that says [IMPORT].
Enter a PARAMETER NAME, TYPE and the structure you created in the first step. Also select the check box Pa. All remotely enabled functional modules MUST be Pa enabled, where Pa means Passed by Value and if you dont select Pa, then that means it will be passed by reference..
Then click on tab that says [EXPORT].
Enter the following as is in the first three fields
RETURN TYPE BAPIRETURN (These 3 field values are always same)
Here also select Pa meaning Pass by value.
Note: BAPIRETURN contains structure with message fields.
Then SAVE and ACTIVATE.
Step 3. Creating BAPI object:
- Enter Tr.Code <SWO1> (Note. It is letter O and not Zero).
- Enter a name and then click on create. Enter details.
NOTE: Make sure that that Object Type and Program name are SAME.
- Enter Application M, if you are using standard table Mara. If you are using your own database then select Z at the bottom.
- Then hit <ENTER>.
- Now we have to add Methods. High light METHODS and then select the following from the menu:
Goto Utilities -> API Methods -> Add Methods.
- Enter function Module name and hit <ENTER>.
- Select the second FORWARD ARROW button (>)to go to next step.
- Check if every thing looks ok and again click on FORWARD ARROW button (>).
- Then select YES and click on <SAVE>.
- Now on a different screen goto TR.CODE <SE37>. Enter Function Module name and select from the top menu Function Module -> Release -> Release.
- Goback to TR.CODE <SWO1>.
Here select the menu combination shown below in the same order.
- Edit -> Change Release Status -> Object Type Component -> To Implemented.
- Edit -> Change Release Status -> Object Type Component -> To Released.
- Edit -> Change Release Status -> Object Type -> To Implemented.
- Edit -> Change Release Status -> Object Type -> To Released.
- Then click on <SAVE>.
- Then click on Generate Button (4th button from left hand side looks like spinning wheel).
- Then Click on the button that says PROGRAM to see the source code.
To check if this is present in work flow goto TR.CODE <BAPI>.
Here it shows business object repository.
- First click on the middle button and then select ALL and hit ENTER.
- Goto tab [ALPHABETICAL] and look for the object that you created. This shows that the BAPI object has been created successfully.
regards,
aswin -
Product Specific Transportation lead time
We need to maintain different sourcing lead times for different products in the "Transport duration" field of the "Means of Transport" of the transportation lane. The transportation lane exists between the Supplier and the DC. A single vendor would supply different products which may have different lead times.
Could anyone kindly give us pointers as to how this could done in the TL ?
Best Regards,
MukundanHi
as well as Sanjog's answer another option is to keep just one TL MOT record and instead use the Goods Issuing time on the product Location record to account for the different leadtimes of product from a supplier. This time is added to the transportation time on the TL. It is the "GI Processing Time" field on the GR/GI tab.
Which method you use depends on the amount of different leadtimes you have from a supplier (a few and I would use Sanjog's method, more and I would use the GI time). The GI time can also be integrated in with the transportation planning of deliveries in the ERP system as well to give better visibility of milestones in the delivery tracking. (e.g. you have a planning point when the goods should be ready to ship as well as when they are due).
Regards
Ian
Maybe you are looking for
-
I can no longer edit information for streaming files in Get Info.
I can no longer edit information for streaming files in Get Info.
-
Payment proposal Exception list - Add additional items to the exception lis
Hi, We have a requirement to add additional vendor open items (having Bank type as ABC and Payment method as Y) to the Exception list of the payment proposal when we run F110. Along with other open items which are may be blocked for payment or which
-
F4 help in dropdownlistbox and values in input fields
I need a F4 help in dropdown list box. Actually i have 2 more input fields alongwith one dropwdown list box. As per my problem if i select one value from F4 help then corresponding other values should bepopulated into input fields. For example in F4
-
How to develop an Remote Enabled Function Module
Hi All, I'm totally new to ABAP. I have a requirement to create a Remote Enabled Function Module, which I can use to call from an external program like Java using JCo. The functionality of the Remote Function is to write some data into certain fields
-
Dear all, My development tool is JDev. 10.1.3. I've a session bean which the list contains several fields. The list defined like this: List<cell> List1 = new ArrayList(); cell in a cell.java. I created List2, List<cell> List2 = new ArrayList(); which